mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Prep v0.15 release
This commit is contained in:
parent
8cda60dc99
commit
6498a462be
39
CHANGELOG.md
39
CHANGELOG.md
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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"
|
||||
@ -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" }
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "yew-stdweb"
|
||||
version = "0.14.3"
|
||||
version = "0.15.0"
|
||||
edition = "2018"
|
||||
authors = [
|
||||
"Denis Kolodin <deniskolodin@gmail.com>",
|
||||
@ -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"
|
||||
@ -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]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "yew"
|
||||
version = "0.14.3"
|
||||
version = "0.15.0"
|
||||
edition = "2018"
|
||||
authors = [
|
||||
"Denis Kolodin <deniskolodin@gmail.com>",
|
||||
@ -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"
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user