Skip to content

Commit 6498a46

Browse files
jstarrymergify[bot]
authored andcommitted
Prep v0.15 release
1 parent 8cda60d commit 6498a46

File tree

6 files changed

+48
-10
lines changed

6 files changed

+48
-10
lines changed

CHANGELOG.md

+39
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Changelog
22

3+
## **0.15** *(2020-04-25)*
4+
5+
#### Attention!
6+
`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.
7+
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:
8+
9+
```toml
10+
yew = { version = "0.15", package = "yew-stdweb" }
11+
```
12+
13+
#### Dev Survey Results
14+
Thank you to everyone that took the time to fill out the Yew Dev Survey! 🙇‍♂️
15+
16+
Results have been posted here: https://github.com/yewstack/yew/wiki/Dev-Survey-%5BSpring-2020%5D
17+
18+
#### New Chatroom
19+
We moved from Gitter to Discord! Join us: https://discord.gg/VQck8X4
20+
21+
#### Changelog
22+
23+
- #### ⚡️ Features
24+
25+
- Add support for single use callbacks (useful for `TimeoutService`). [[@lukerandall], [#1125](https://github.com/yewstack/yew/pull/1125)]
26+
- Updated scheduler to eagerly destroy components to avoid unnecessary renders. [[@jstarry], [#1072](https://github.com/yewstack/yew/pull/1072)]
27+
- Add support `key` attribute to improve rendering performance. [[@mrh0057], [#1076](https://github.com/yewstack/yew/pull/1076)]
28+
29+
- #### 🛠 Fixes
30+
31+
- Split class names on whitespace when passed within `tuple` or `Vec`. [[@bryanjswift], [#1084](https://github.com/yewstack/yew/pull/1084)]
32+
33+
- #### 🚨 Breaking changes
34+
35+
- The `components` module has been moved out `yew` and into `yew-components`. [[@jstarry], [#1132](https://github.com/yewstack/yew/pull/1132)]
36+
- Replaced `mounted` component lifecycle method with `rendered` which is called after each render. [[@jstarry], [#1072](https://github.com/yewstack/yew/pull/1072)]
37+
- Components must now implement the `change` method (forgetting this was a very common issue). [[@jstarry], [#1071](https://github.com/yewstack/yew/pull/1071)]
38+
- Yew now builds with `web-sys` by default. [[@jstarry], [#1092](https://github.com/yewstack/yew/pull/1092)]
39+
340
## **0.14.3** *(2020-04-04)*
441

542
- #### 🛠 Fixes
@@ -763,6 +800,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
763800
[Web Workers API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API
764801
[@AlephAlpha]: https://github.com/AlephAlpha
765802
[@astraw]: https://github.com/astraw
803+
[@bryanjswift]: https://github.com/bryanjswift
766804
[@boydjohnson]: https://github.com/boydjohnson
767805
[@captain-yossarian]: https://github.com/captain-yossarian
768806
[@carlosdp]: https://github.com/carlosdp
@@ -785,6 +823,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
785823
[@kuy]: https://github.com/kuy
786824
[@leo-lb]: https://github.com/leo-lb
787825
[@lizhaoxian]: https://github.com/lizhaoxian
826+
[@lukerandall]: https://github.com/lukerandall
788827
[@mankinskin]: https://github.com/mankinskin
789828
[@mdtusz]: https://github.com/mdtusz
790829
[@mrh0057]: https://github.com/mrh0057

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<h4>
1818
<a href="https://yew.rs/docs">Documentation</a>
1919
<span> | </span>
20-
<a href="https://github.com/yewstack/yew/tree/v0.14.0/examples">Examples</a>
20+
<a href="https://github.com/yewstack/yew/tree/v0.15.0/examples">Examples</a>
2121
<span> | </span>
2222
<a href="https://github.com/yewstack/yew/blob/master/CHANGELOG.md">Changelog</a>
2323
<span> | </span>

yew-components/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ repository = "https://github.com/yewstack/yew"
99
homepage = "https://github.com/yewstack/yew"
1010
documentation = "https://docs.rs/yew-components/"
1111
license = "MIT/Apache-2.0"
12-
readme = "README.md"
1312
keywords = ["web", "asmjs", "webasm", "javascript"]
1413
categories = ["gui", "web-programming"]
1514
description = "A collection of community-created Yew components"
@@ -20,4 +19,4 @@ travis-ci = { repository = "yewstack/yew" }
2019
[dependencies]
2120
wasm-bindgen = "0.2.60"
2221
web-sys = "0.3"
23-
yew = { path = "../yew" }
22+
yew = { version = "0.15", path = "../yew" }

yew-macro/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yew-macro"
3-
version = "0.14.1"
3+
version = "0.15.0"
44
edition = "2018"
55
authors = ["Justin Starry <[email protected]>"]
66
repository = "https://github.com/yewstack/yew"

yew-stdweb/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yew-stdweb"
3-
version = "0.14.3"
3+
version = "0.15.0"
44
edition = "2018"
55
authors = [
66
"Denis Kolodin <[email protected]>",
@@ -10,7 +10,7 @@ repository = "https://github.com/yewstack/yew"
1010
homepage = "https://github.com/yewstack/yew"
1111
documentation = "https://docs.rs/yew-stdweb/"
1212
license = "MIT/Apache-2.0"
13-
readme = "README.md"
13+
readme = "../README.md"
1414
keywords = ["web", "asmjs", "webasm", "javascript"]
1515
categories = ["gui", "web-programming"]
1616
description = "A framework for making client-side single-page apps"
@@ -44,7 +44,7 @@ thiserror = "1"
4444
toml = { version = "0.5", optional = true }
4545
wasm-bindgen = { version = "0.2.60", optional = true }
4646
wasm-bindgen-futures = { version = "0.4", optional = true }
47-
yew-macro = { version = "0.14.1", path = "../yew-macro" }
47+
yew-macro = { version = "0.15.0", path = "../yew-macro" }
4848

4949
# Changes here must be reflected in `build.rs`
5050
[target.'cfg(all(target_arch = "wasm32", not(target_os="wasi"), not(cargo_web)))'.dependencies]

yew/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yew"
3-
version = "0.14.3"
3+
version = "0.15.0"
44
edition = "2018"
55
authors = [
66
"Denis Kolodin <[email protected]>",
@@ -10,7 +10,7 @@ repository = "https://github.com/yewstack/yew"
1010
homepage = "https://github.com/yewstack/yew"
1111
documentation = "https://docs.rs/yew/"
1212
license = "MIT/Apache-2.0"
13-
readme = "README.md"
13+
readme = "../README.md"
1414
keywords = ["web", "asmjs", "webasm", "javascript"]
1515
categories = ["gui", "web-programming"]
1616
description = "A framework for making client-side single-page apps"
@@ -44,7 +44,7 @@ thiserror = "1"
4444
toml = { version = "0.5", optional = true }
4545
wasm-bindgen = { version = "0.2.60", optional = true }
4646
wasm-bindgen-futures = { version = "0.4", optional = true }
47-
yew-macro = { version = "0.14.1", path = "../yew-macro" }
47+
yew-macro = { version = "0.15.0", path = "../yew-macro" }
4848

4949
[dependencies.web-sys]
5050
version = "0.3"

0 commit comments

Comments
 (0)