mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Prepare v0.12 release (#953)
This commit is contained in:
parent
df14a9fc3e
commit
6cc4449aec
29
CHANGELOG.md
29
CHANGELOG.md
@ -1,5 +1,29 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## ✨ **0.12** *(2020-02-16)*
|
||||||
|
|
||||||
|
- #### ⚡️ Features
|
||||||
|
|
||||||
|
- Improved ergonomics for `html! { for .. }`. [[@jstarry], [#875](https://github.com/yewstack/yew/pull/875)]
|
||||||
|
- Added `#[props(default = "fn_path")]` for specifying a default property value. [[@AlephAlpha], [#881](https://github.com/yewstack/yew/pull/881)]
|
||||||
|
- Exposed the macros for creating format types. [[@ctm], [#883](https://github.com/yewstack/yew/pull/883)]
|
||||||
|
- Added support for binary-only and text-only formats in `WebSocketService`. [[@ctm], [#851](https://github.com/yewstack/yew/pull/851)]
|
||||||
|
- Implemented `PartialEq` for `ChildrenRenderer` to allow `children` comparison. [[@jstarry], [#916](https://github.com/yewstack/yew/pull/916)]
|
||||||
|
- Reduced restrictions on `ComponentLink` methods to improve `Future` support. [[@jplatte], [#931](https://github.com/yewstack/yew/pull/931)]
|
||||||
|
- Added `referrer`, `referrer_policy` and `integrity` to `FetchOptions`. [[@leo-lb], [#931](https://github.com/yewstack/yew/pull/931)]
|
||||||
|
|
||||||
|
- #### 🛠 Fixes
|
||||||
|
|
||||||
|
- Fixed touch event listeners. [[@AlephAlpha], [#872](https://github.com/yewstack/yew/pull/872)]
|
||||||
|
- Fixed bad behavior when setting a `ref` on a `Component`. [[@jstarry], [#913](https://github.com/yewstack/yew/pull/913)]
|
||||||
|
- Fixed ResizeTask cancellation. [[@jstarry], [#915](https://github.com/yewstack/yew/pull/915)]
|
||||||
|
|
||||||
|
- #### 🚨 Breaking changes
|
||||||
|
|
||||||
|
- Switched from using `failure` to `anyhow` and `thiserror` for Yew errors. [[@daxpedda], [#863](https://github.com/yewstack/yew/pull/863)]
|
||||||
|
- Removed `cancel` method from `Task` trait in favor of relying on [`Drop`](https://doc.rust-lang.org/book/ch15-03-drop.html). [[@kakoc], [#899](https://github.com/yewstack/yew/pull/899)]
|
||||||
|
- Renamed `NodeRef.try_into` to `NodeRef.cast` to avoid trait conflicts. [[@jstarry], [#917](https://github.com/yewstack/yew/pull/917)]
|
||||||
|
|
||||||
## ✨ **0.11** *(2020-01-06)*
|
## ✨ **0.11** *(2020-01-06)*
|
||||||
|
|
||||||
This release aims to lay the groundwork for Yew component libraries and clean up the API for the ever elusive 1.0 release.
|
This release aims to lay the groundwork for Yew component libraries and clean up the API for the ever elusive 1.0 release.
|
||||||
@ -638,11 +662,14 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
|
|||||||
## ✨ **0.1** *(2017-12-31)*
|
## ✨ **0.1** *(2017-12-31)*
|
||||||
|
|
||||||
[Web Workers API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API
|
[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
|
[@astraw]: https://github.com/astraw
|
||||||
[@boydjohnson]: https://github.com/boydjohnson
|
[@boydjohnson]: https://github.com/boydjohnson
|
||||||
[@carlosdp]: https://github.com/carlosdp
|
[@carlosdp]: https://github.com/carlosdp
|
||||||
[@charvp]: https://github.com/charvp
|
[@charvp]: https://github.com/charvp
|
||||||
[@ctaggart]: https://github.com/ctaggart
|
[@ctaggart]: https://github.com/ctaggart
|
||||||
|
[@ctm]: https://github.com/ctm
|
||||||
|
[@daxpedda]: https://github.com/daxpedda
|
||||||
[@davidkna]: https://github.com/davidkna
|
[@davidkna]: https://github.com/davidkna
|
||||||
[@DenisKolodin]: https://github.com/DenisKolodin
|
[@DenisKolodin]: https://github.com/DenisKolodin
|
||||||
[@dermetfan]: https://github.com/dermetfan
|
[@dermetfan]: https://github.com/dermetfan
|
||||||
@ -650,7 +677,9 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
|
|||||||
[@hgzimmerman]: https://github.com/hgzimmerman
|
[@hgzimmerman]: https://github.com/hgzimmerman
|
||||||
[@izissise]: https://github.com/izissise
|
[@izissise]: https://github.com/izissise
|
||||||
[@jstarry]: https://github.com/jstarry
|
[@jstarry]: https://github.com/jstarry
|
||||||
|
[@kakoc]: https://github.com/kakoc
|
||||||
[@kellytk]: https://github.com/kellytk
|
[@kellytk]: https://github.com/kellytk
|
||||||
|
[@leo-lb]: https://github.com/leo-lb
|
||||||
[@lizhaoxian]: https://github.com/lizhaoxian
|
[@lizhaoxian]: https://github.com/lizhaoxian
|
||||||
[@mdtusz]: https://github.com/mdtusz
|
[@mdtusz]: https://github.com/mdtusz
|
||||||
[@mrh0057]: https://github.com/mrh0057
|
[@mrh0057]: https://github.com/mrh0057
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "yew"
|
name = "yew"
|
||||||
version = "0.11.1"
|
version = "0.12.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = [
|
authors = [
|
||||||
"Denis Kolodin <deniskolodin@gmail.com>",
|
"Denis Kolodin <deniskolodin@gmail.com>",
|
||||||
@ -36,7 +36,7 @@ slab = "0.4"
|
|||||||
stdweb = "0.4.20"
|
stdweb = "0.4.20"
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
toml = { version = "0.5", optional = true }
|
toml = { version = "0.5", optional = true }
|
||||||
yew-macro = { version = "0.11.1", path = "crates/macro" }
|
yew-macro = { version = "0.12.0", path = "crates/macro" }
|
||||||
|
|
||||||
[target.'cfg(all(target_arch = "wasm32", not(target_os="wasi"), not(cargo_web)))'.dependencies]
|
[target.'cfg(all(target_arch = "wasm32", not(target_os="wasi"), not(cargo_web)))'.dependencies]
|
||||||
wasm-bindgen = "0.2.58"
|
wasm-bindgen = "0.2.58"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "yew-macro"
|
name = "yew-macro"
|
||||||
version = "0.11.1"
|
version = "0.12.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Justin Starry <justin@yew.rs>"]
|
authors = ["Justin Starry <justin@yew.rs>"]
|
||||||
repository = "https://github.com/yewstack/yew"
|
repository = "https://github.com/yewstack/yew"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user