Skip to content

Commit

Permalink
Release Yew v0.16 (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored May 9, 2020
1 parent 41643b6 commit d95b196
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 9 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## **0.16** *(2020-05-09)*

#### Changelog

- #### ⚡️ Features

- Added optional `id`, `class`, and `placeholder` properties to the `Select` component. [[@Stigjb], [#1187](https://github.com/yewstack/yew/pull/1187)]
- Re-export `web-sys` from Yew. This allows projects to use `web-sys` without adding it to their `Cargo.toml`. [[@D4nte], [#1176](https://github.com/yewstack/yew/pull/1176)]
- Added support for `Option` wrapped class names. [[@liquidblock], [#1085](https://github.com/yewstack/yew/pull/1085)]

The following code is now supported:
```rust
let color: &Option<String> = &self.color;
html! { <div class=("btn", color)></div> }
```

- Added `get_parent` and `get_component` methods to `ComponentLink` to allow access to parent component state. [[@jstarry], [#1151](https://github.com/yewstack/yew/pull/1151)]

- #### 🛠 Fixes

- Fixed bug that caused html class attributes to be set to an empty string. [[@liquidblock], [#1085](https://github.com/yewstack/yew/pull/1085)]
- Fixed `Private` worker lifecycle event sending. [[@joaquindk], [#1146](https://github.com/yewstack/yew/pull/1146)]

- #### 🚨 Breaking changes

- Bumped minimum supported Rust version (MSRV) to 1.40.0. [[@jstarry], [#1152](https://github.com/yewstack/yew/pull/1152)]

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

#### Attention!
Expand Down Expand Up @@ -807,6 +834,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
[@charvp]: https://github.com/charvp
[@ctaggart]: https://github.com/ctaggart
[@ctm]: https://github.com/ctm
[@D4nte]: https://github.com/D4nte
[@dancespiele]: https://github.com/dancespiele
[@daxpedda]: https://github.com/daxpedda
[@davidkna]: https://github.com/davidkna
Expand All @@ -816,12 +844,14 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
[@dunnock]: https://github.com/dunnock
[@hgzimmerman]: https://github.com/hgzimmerman
[@izissise]: https://github.com/izissise
[@joaquindk]: https://github.com/joaquindk
[@jplatte]: https://github.com/jplatte
[@jstarry]: https://github.com/jstarry
[@kakoc]: https://github.com/kakoc
[@kellytk]: https://github.com/kellytk
[@kuy]: https://github.com/kuy
[@leo-lb]: https://github.com/leo-lb
[@liquidblock]: https://github.com/liquidblock
[@lizhaoxian]: https://github.com/lizhaoxian
[@lukerandall]: https://github.com/lukerandall
[@mankinskin]: https://github.com/mankinskin
Expand All @@ -830,6 +860,7 @@ This release introduces the concept of an `Agent`. Agents are separate activitie
[@nicklaswj]: https://github.com/nicklaswj
[@philip-peterson]: https://github.com/philip-peterson
[@serzhiio]: https://github.com/serzhiio
[@Stigjb]: https://github.com/Stigjb
[@stkevintan]: https://github.com/stkevintan
[@TheNeikos]: https://github.com/TheNeikos
[@tiziano88]: https://github.com/tiziano88
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h4>
<a href="https://yew.rs/docs">Documentation</a>
<span> | </span>
<a href="https://github.com/yewstack/yew/tree/v0.15.0/examples">Examples</a>
<a href="https://github.com/yewstack/yew/tree/v0.16.0/examples">Examples</a>
<span> | </span>
<a href="https://github.com/yewstack/yew/blob/master/CHANGELOG.md">Changelog</a>
<span> | </span>
Expand Down
4 changes: 2 additions & 2 deletions yew-components/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yew-components"
version = "0.1.0"
version = "0.1.1"
edition = "2018"
authors = [
"Yew Maintainers <[email protected]>",
Expand All @@ -19,4 +19,4 @@ travis-ci = { repository = "yewstack/yew" }
[dependencies]
wasm-bindgen = "0.2.60"
web-sys = "0.3"
yew = { version = "0.15", path = "../yew" }
yew = { version = "0.16", 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.15.0"
version = "0.16.0"
edition = "2018"
authors = ["Justin Starry <[email protected]>"]
repository = "https://github.com/yewstack/yew"
Expand Down
2 changes: 1 addition & 1 deletion yew-router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ web_sys = [
]

[dependencies]
yew = { version = "0.15.0", path = "../yew", features = ["services", "agent"], default-features= false, optional = true }
yew = { version = "0.16.0", path = "../yew", features = ["services", "agent"], default-features= false, optional = true }
yew-router-macro = { version = "0.12.0", path = "../yew-router-macro" }
yew-router-route-parser = { version = "0.12.0", path = "../yew-router-route-parser" }

Expand Down
4 changes: 2 additions & 2 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.15.0"
version = "0.16.0"
edition = "2018"
authors = [
"Denis Kolodin <[email protected]>",
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.15.0", path = "../yew-macro" }
yew-macro = { version = "0.16.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
4 changes: 2 additions & 2 deletions yew/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yew"
version = "0.15.0"
version = "0.16.0"
edition = "2018"
authors = [
"Denis Kolodin <[email protected]>",
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.15.0", path = "../yew-macro" }
yew-macro = { version = "0.16.0", path = "../yew-macro" }

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

0 comments on commit d95b196

Please sign in to comment.