Skip to content

Commit

Permalink
Prep v0.15 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored and mergify[bot] committed Apr 25, 2020
1 parent 8cda60d commit 6498a46
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 10 deletions.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Changelog

## **0.15** *(2020-04-25)*

#### Attention!
`yew` now uses `web-sys` by default. If your project uses `web-sys`, you can now drop the `"web_sys"` feature from your yew dependency.
Don't worry `stdweb` users, we have created a new alias crate for y'all called `yew-stdweb`. In order to use it, update your `Cargo.toml` yew dependency to the following:

```toml
yew = { version = "0.15", package = "yew-stdweb" }
```

#### Dev Survey Results
Thank you to everyone that took the time to fill out the Yew Dev Survey! 🙇‍♂️

Results have been posted here: https://github.com/yewstack/yew/wiki/Dev-Survey-%5BSpring-2020%5D

#### New Chatroom
We moved from Gitter to Discord! Join us: https://discord.gg/VQck8X4

#### Changelog

- #### ⚡️ Features

- Add support for single use callbacks (useful for `TimeoutService`). [[@lukerandall], [#1125](https://github.com/yewstack/yew/pull/1125)]
- Updated scheduler to eagerly destroy components to avoid unnecessary renders. [[@jstarry], [#1072](https://github.com/yewstack/yew/pull/1072)]
- Add support `key` attribute to improve rendering performance. [[@mrh0057], [#1076](https://github.com/yewstack/yew/pull/1076)]

- #### 🛠 Fixes

- Split class names on whitespace when passed within `tuple` or `Vec`. [[@bryanjswift], [#1084](https://github.com/yewstack/yew/pull/1084)]

- #### 🚨 Breaking changes

- The `components` module has been moved out `yew` and into `yew-components`. [[@jstarry], [#1132](https://github.com/yewstack/yew/pull/1132)]
- Replaced `mounted` component lifecycle method with `rendered` which is called after each render. [[@jstarry], [#1072](https://github.com/yewstack/yew/pull/1072)]
- Components must now implement the `change` method (forgetting this was a very common issue). [[@jstarry], [#1071](https://github.com/yewstack/yew/pull/1071)]
- Yew now builds with `web-sys` by default. [[@jstarry], [#1092](https://github.com/yewstack/yew/pull/1092)]

## **0.14.3** *(2020-04-04)*

- #### 🛠 Fixes
Expand Down Expand Up @@ -763,6 +800,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
[Web Workers API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API
[@AlephAlpha]: https://github.com/AlephAlpha
[@astraw]: https://github.com/astraw
[@bryanjswift]: https://github.com/bryanjswift
[@boydjohnson]: https://github.com/boydjohnson
[@captain-yossarian]: https://github.com/captain-yossarian
[@carlosdp]: https://github.com/carlosdp
Expand All @@ -785,6 +823,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
[@kuy]: https://github.com/kuy
[@leo-lb]: https://github.com/leo-lb
[@lizhaoxian]: https://github.com/lizhaoxian
[@lukerandall]: https://github.com/lukerandall
[@mankinskin]: https://github.com/mankinskin
[@mdtusz]: https://github.com/mdtusz
[@mrh0057]: https://github.com/mrh0057
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<h4>
<a href="https://yew.rs/docs">Documentation</a>
<span> | </span>
<a href="https://github.com/yewstack/yew/tree/v0.14.0/examples">Examples</a>
<a href="https://github.com/yewstack/yew/tree/v0.15.0/examples">Examples</a>
<span> | </span>
<a href="https://github.com/yewstack/yew/blob/master/CHANGELOG.md">Changelog</a>
<span> | </span>
Expand Down
3 changes: 1 addition & 2 deletions yew-components/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ repository = "https://github.com/yewstack/yew"
homepage = "https://github.com/yewstack/yew"
documentation = "https://docs.rs/yew-components/"
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["web", "asmjs", "webasm", "javascript"]
categories = ["gui", "web-programming"]
description = "A collection of community-created Yew components"
Expand All @@ -20,4 +19,4 @@ travis-ci = { repository = "yewstack/yew" }
[dependencies]
wasm-bindgen = "0.2.60"
web-sys = "0.3"
yew = { path = "../yew" }
yew = { version = "0.15", path = "../yew" }
2 changes: 1 addition & 1 deletion yew-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yew-macro"
version = "0.14.1"
version = "0.15.0"
edition = "2018"
authors = ["Justin Starry <justin@yew.rs>"]
repository = "https://github.com/yewstack/yew"
Expand Down
6 changes: 3 additions & 3 deletions yew-stdweb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yew-stdweb"
version = "0.14.3"
version = "0.15.0"
edition = "2018"
authors = [
"Denis Kolodin <deniskolodin@gmail.com>",
Expand All @@ -10,7 +10,7 @@ repository = "https://github.com/yewstack/yew"
homepage = "https://github.com/yewstack/yew"
documentation = "https://docs.rs/yew-stdweb/"
license = "MIT/Apache-2.0"
readme = "README.md"
readme = "../README.md"
keywords = ["web", "asmjs", "webasm", "javascript"]
categories = ["gui", "web-programming"]
description = "A framework for making client-side single-page apps"
Expand Down Expand Up @@ -44,7 +44,7 @@ thiserror = "1"
toml = { version = "0.5", optional = true }
wasm-bindgen = { version = "0.2.60", optional = true }
wasm-bindgen-futures = { version = "0.4", optional = true }
yew-macro = { version = "0.14.1", path = "../yew-macro" }
yew-macro = { version = "0.15.0", path = "../yew-macro" }

# Changes here must be reflected in `build.rs`
[target.'cfg(all(target_arch = "wasm32", not(target_os="wasi"), not(cargo_web)))'.dependencies]
Expand Down
6 changes: 3 additions & 3 deletions yew/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yew"
version = "0.14.3"
version = "0.15.0"
edition = "2018"
authors = [
"Denis Kolodin <deniskolodin@gmail.com>",
Expand All @@ -10,7 +10,7 @@ repository = "https://github.com/yewstack/yew"
homepage = "https://github.com/yewstack/yew"
documentation = "https://docs.rs/yew/"
license = "MIT/Apache-2.0"
readme = "README.md"
readme = "../README.md"
keywords = ["web", "asmjs", "webasm", "javascript"]
categories = ["gui", "web-programming"]
description = "A framework for making client-side single-page apps"
Expand Down Expand Up @@ -44,7 +44,7 @@ thiserror = "1"
toml = { version = "0.5", optional = true }
wasm-bindgen = { version = "0.2.60", optional = true }
wasm-bindgen-futures = { version = "0.4", optional = true }
yew-macro = { version = "0.14.1", path = "../yew-macro" }
yew-macro = { version = "0.15.0", path = "../yew-macro" }

[dependencies.web-sys]
version = "0.3"
Expand Down

0 comments on commit 6498a46

Please sign in to comment.