diff --git a/CHANGELOG.md b/CHANGELOG.md index c536877b2..d2d65bc8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,42 @@ # Changelog +## ✨ **0.14** *(2020-03-14)* + +Happy 🥧 (PI) Day! This release brings a number of bug fixes for `web-sys` apps and ergonomic improvements to the API. Huge thanks to the community for diving into the migration from `stdweb` to `web-sys` so quickly and uncovering these issues! + +#### Changelog + +- #### ⚡️ Features + + - Implemented `Clone` for `WebSocketStatus`. [[@kellytk], [#1023](https://github.com/yewstack/yew/pull/1023)] + - Improved ergonomics for message APIs by accepting `Into`. [[@captain-yossarian], [#999](https://github.com/yewstack/yew/pull/999)] + - `html!` improved compiler messages and flexible syntax for `with props`. [[@captain-yossarian], [#960](https://github.com/yewstack/yew/pull/960)] + +- #### 🛠 Fixes + + - Fixed panic in `stdweb` `ResizeService` event handling. [[@nicklaswj], [#1014](https://github.com/yewstack/yew/pull/1014)] + - Removed build check for OS compatibility. [[@jstarry], [#1019](https://github.com/yewstack/yew/pull/1019)] + - Fixed interval and timer usage in `web-sys` workers by updating `gloo`. [[@jstarry], [#1018](https://github.com/yewstack/yew/pull/1018)] + - Send `Connected` message for Public agents. [[@TheNeikos], [#1007](https://github.com/yewstack/yew/pull/1007)] + - Fixed `web-sys` Public / Private agent initialization. [[@jstarry], [#1006](https://github.com/yewstack/yew/pull/1006)] + - Fixed websocket 'text' message handling for `web-sys` agents. [[@jstarry], [#1005](https://github.com/yewstack/yew/pull/1005)] + +- #### 🚨 Breaking changes + + - `FetchError::FetchFailed` enum variant now wraps a `String` to hold the failure reason. [[@jstarry], [#1025](https://github.com/yewstack/yew/pull/1025)] + - Message APIs now accept `Into`, so calling `msg.into()` will cause compile errors. [[@captain-yossarian], [#999](https://github.com/yewstack/yew/pull/999)] + ## ✨ **0.13.2** *(2020-03-05)* - #### 🛠 Fixes -Fix clippy warning when building with `web_sys` feature. [[@jstarry], [#1001](https://github.com/yewstack/yew/pull/1001)] + - Fix clippy warning when building with `web_sys` feature. [[@jstarry], [#1001](https://github.com/yewstack/yew/pull/1001)] ## ✨ **0.13.1** *(2020-03-04)* - #### 🛠 Fixes -Fix for `web-sys` version `0.3.36`. [[@detegr], [#997](https://github.com/yewstack/yew/pull/997)] + - Fix for `web-sys` version `0.3.36`. [[@detegr], [#997](https://github.com/yewstack/yew/pull/997)] ## ✨ **0.13** *(2020-03-01)* @@ -717,6 +743,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie [@AlephAlpha]: https://github.com/AlephAlpha [@astraw]: https://github.com/astraw [@boydjohnson]: https://github.com/boydjohnson +[@captain-yossarian]: https://github.com/captain-yossarian [@carlosdp]: https://github.com/carlosdp [@charvp]: https://github.com/charvp [@ctaggart]: https://github.com/ctaggart @@ -740,6 +767,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie [@philip-peterson]: https://github.com/philip-peterson [@serzhiio]: https://github.com/serzhiio [@stkevintan]: https://github.com/stkevintan +[@TheNeikos]: https://github.com/TheNeikos [@tiziano88]: https://github.com/tiziano88 [@trivigy]: https://github.com/trivigy [@totorigolo]: https://github.com/totorigolo diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2066b82de..1de928b4d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,7 +30,7 @@ or ```bash cargo build --target wasm32-unknown-unknown --features std_web ``` -See more about features [here](https://docs.rs/yew/0.13.0/yew/#important-notes) +See more about features [here](https://docs.rs/yew/0.14.0/yew/#important-notes) #### Test diff --git a/Cargo.toml b/Cargo.toml index 1bd279777..003222f39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yew" -version = "0.13.2" +version = "0.14.0" edition = "2018" authors = [ "Denis Kolodin ", @@ -44,7 +44,7 @@ thiserror = "1" toml = { version = "0.5", optional = true } wasm-bindgen = { version = "0.2.59", optional = true } wasm-bindgen-futures = { version = "0.4", optional = true } -yew-macro = { version = "0.13.0", path = "crates/macro" } +yew-macro = { version = "0.14.0", path = "crates/macro" } [dependencies.web-sys] version = "0.3" diff --git a/README.md b/README.md index de8ce6886..92ba42820 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@

Documentation | - Examples + Examples | Changelog | diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 9fba05e27..0fe22c8d1 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yew-macro" -version = "0.13.0" +version = "0.14.0" edition = "2018" authors = ["Justin Starry "] repository = "https://github.com/yewstack/yew"