Releases: yewstack/yew
Releases · yewstack/yew
yew v0.21.0, yew-router v0.18, yew-agent 0.2.0
What's Changed
- Update documentation to point to the right example by @campeis in #2993
- Bump @docusaurus/plugin-content-pages from 2.1.0 to 2.2.0 in /website by @dependabot in #2945
- Bump @typescript-eslint/eslint-plugin from 5.38.1 to 5.45.0 in /website by @dependabot in #2997
- Bump prettier from 2.7.1 to 2.8.0 in /website by @dependabot in #2996
- Bump minimatch from 3.0.4 to 3.1.2 in /tools/benchmark-struct by @dependabot in #2974
- Website update api doc link in hooks page to version 0.20 by @ta32 in #2994
- Bump @docusaurus/module-type-aliases from 2.1.0 to 2.2.0 in /website by @dependabot in #2995
- Bump loader-utils from 2.0.2 to 2.0.4 in /website by @dependabot in #2966
- Bump minimatch, recursive-readdir and serve-handler in /website by @dependabot in #2976
- Bump minimatch from 3.0.4 to 3.1.2 in /tools/benchmark-hooks by @dependabot in #2975
- Bump @docusaurus/core from 2.0.1 to 2.2.0 in /website by @dependabot in #2946
- Update GitHub Actions by @futursolo in #2998
- Update introduction.mdx by @tieje in #3010
- Name the correct feature in the
start_app
migration section. by @alexschrod in #3016 - Bump @types/react-helmet from 6.1.5 to 6.1.6 in /website by @dependabot in #3008
- Bump @svgr/webpack from 6.3.1 to 6.5.1 in /website by @dependabot in #3005
- Bump peterjgrainger/action-create-branch from 2.0.1 to 2.4.0 by @dependabot in #3004
- Bump actions/cache from 2 to 3 by @dependabot in #3000
- Bump hmarr/auto-approve-action from 2 to 3 by @dependabot in #3001
- Bump jetli/wasm-pack-action from 0.3.0 to 0.4.0 by @dependabot in #3002
- Bump Swatinem/rust-cache from 1 to 2 by @dependabot in #3003
- Bump @docusaurus/plugin-content-docs from 2.1.0 to 2.2.0 in /website by @dependabot in #3006
- Bump @docusaurus/plugin-google-analytics from 2.1.0 to 2.2.0 in /website by @dependabot in #3007
- Bump @typescript-eslint/parser from 5.33.0 to 5.45.0 in /website by @dependabot in #3009
- fix: dead links by @Banyc in #3013
- Point links in docs for 0.20 to stable versions by @WorldSEnder in #3019
- Fix clippy::let_unit_value lint in propless components by @WorldSEnder in #2970
- Mention certain components must be children of Router by @sasacocic in #2913
- Make Classes cheap to clone by @cecton in #3021
- Fix top-level reconciliation in portals by @WorldSEnder in #3020
- Assert there are no circular references by @WorldSEnder in #3025
- Consolidate publish workflows into one by @hamza1311 in #3026
- update migration docs to be more explicit by @SpanishPear in #3028
- Update benchmark crates and workflow by @WorldSEnder in #3027
- Fix post-benchmark action by @WorldSEnder in #3032
- Add impl IntoIterator on &Classes by @cecton in #3038
- Try fixing the post-comment benchmark action by @WorldSEnder in #3045
- Try fixing the post-comment benchmark action, take 2 by @WorldSEnder in #3047
- website/docs/tutorial: fix two typos by @fschr in #2971
- Fix typo in wasm-bindgen doc page by @michaeljones in #2963
- Reentrant event listeners by @WorldSEnder in #3037
- Only handle "normal" clicks on s by @kaisalmon in #3056
- remove "Next loop" - introduction repeating by @jesper-olsen in #3040
- Add hurlurl to awesome.md by @lucasmerlin in #3051
- Update SVG colors by @siku2 in #3064
- Use SVG for logo on website by @hamza1311 in #3065
- Makes the web worker in the
web_worker_fib
example use a relative path for the web worker by @kaisalmon in #3057 - Bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.47.1 in /website by @dependabot in #3069
- Bump actions/upload-artifact from 2 to 3 by @dependabot in #3074
- Bump jetli/trunk-action from 0.1.0 to 0.2.0 by @dependabot in #3073
- Bump @docusaurus/plugin-client-redirects from 2.1.0 to 2.2.0 in /website by @dependabot in #3072
- Bump prettier from 2.8.0 to 2.8.1 in /website by @dependabot in #3070
- Bump json5 from 2.2.1 to 2.2.3 in /website by @dependabot in #3079
- Bump actions/setup-node from 1 to 3 by @dependabot in #3076
- Bump JamesSingleton/is-organization-member from 1.0.0 to 1.0.1 by @dependabot in #3075
- Add method map() on Children to wrap easily by @cecton in #3039
- docs: fix markdown link by @eventualbuddha in #3081
- Prefer pop_first if it is available by @futursolo in #3084
- docs: Fix router documentation by @finga in #3078
- Implement an internal DomSlot for positioning instead of NodeRef by @WorldSEnder in #3048
- Fix typo in html! concept docs by @lukependleton in #3096
- Bump @typescript-eslint/parser from 5.45.0 to 5.50.0 in /website by @dependabot in #3103
- Bump jetli/trunk-action from 0.2.0 to 0.4.0 by @dependabot in #3106
- Bump @docusaurus/core from 2.2.0 to 2.3.0 in /website by @dependabot in #3102
- Bump prettier from 2.8.1 to 2.8.3 in /website by @dependabot in #3104
- Bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.50.0 in /website by @dependabot in #3105
- Fix clippy for 1.67 by @futursolo in #3100
- Deduplicate suspensions when considering subsequent renders for suspensions by @futursolo in #3099
- Separate PR and master size collection by @futursolo in #3101
- Improve grammar in website/docs by @jsjolund in #3092
- Pass string types to Html props by @cecton in #2872
- Fix in custom-hooks.mdx by @TheBestTvarynka in #3094
- Update examples/README with correct starter templates link by @Enigo in #3098
- Implement component name completion inside
html!
macro for IntelliJ Rust plugin by @vlad20012 in #2972 - Add link to the rust-yew vscode plugin to the yew docs by @ttax00 in #3116
- Bump actions/checkout from 2 to 3 by @dependabot in #3137
- Fix website workflow by @futursolo in #3110
- Fix spelling in guides by @fosskers in #3109
- Fix Dependabot and GitHub Actions by @futursolo in #3111
- Bump actions/checkout from 2 to 3 by @dependabot in #3141
- Bump @docusaurus/plugin-content-docs from 2.2.0 to 2.3.1 in /website by @dependabot in #3133
- Bump @docusaurus/plugin-client-redirects from 2.2.0 to 2.3.1 in /website by @dependabot in #3132
- Bump @typescript-eslint/parser from 5.50.0 to 5.54.0 in /website by @dependabot in #3131
- Bump @docusaurus/theme-classic from 2.1.0 to 2.3.1 in /website by @dependabot in #3134
- Bump prettier from 2.8.3 to 2.8.4 in /website by @dependabot in #3135
- Bump git2 from 0.15.0 to 0.16.1 by @dependabot in #3142
- Bump once_cell from 1.17.0 to 1.17.1 by @dependabot in #3143
- Bump base64ct from 1.5.3 to 1.6.0 by @dependabot in #3144
- Bump tokio from 1.25.0 to 1.26.0 by @dependabot in #3146
- Fix benchmark workflow by @futursolo in #3112
- Set CORS headers for tutorial/data.json by @hamza1311 in #3162
- Fix clippy for Rust 1.68 by @futursolo in #31...
yew-agent-macro-v0.2.0
chore: Release yew-agent-macro version 0.2.0
yew-agent-v0.2.0
chore: Release yew-agent version 0.2.0
yew-v0.20.0
chore: Release yew version 0.20.0
yew-router-v0.17.0
chore: Release yew-router version 0.17.0
yew-v0.19.3
Changelog
-
🛠 Fixes
- Attempt to fix recursion on display. [@mibes, #2149]
- Fix default passive option. [@mc1098, #2111]
- Fix trybuild. [@mc1098, #2103]
- Fix event handler during capture phase. [@mc1098, #2062]
- Fix
VTag
reuse to reset ancestorNodeRef
. [@mc1098, #2030] - Fix IntoEventCallback over IntoPropValue. [@mc1098, #2025]
- Remove underscore prefix on fn parameters. [@mc1098, #2010]
- Fix rust-analyzer #[derive(Properties)] warnings. [@KarlitosVII, #2007]
- Fix clippy lints from 1.54.0. [@Xavientois, #1976]
- Fix scheduler main queue delay (#1953). [@intendednull, #1954]
- Fix case warning on derived properties. [@nitnelave, #1929]
- yew-macro: fix inability to set the autoplay atribute. [@bakape, #1866]
- Fix duplicate
with props
error messages.. [@teymour-aldridge, #1730] - Remove extra braces in html_nested macro. [@Madoshakalaka, #2169]
- Remove unused punct field from props. [@Xavientois, #1969]
-
⚡️ Features
- Check event bubbling cancellation at each step of propagation. [@rjmac, #2191]
- Add possibility to cancel bubbling. [@voidpumpkin, #2172]
- Add the ability to add child nodes conditionally in
html!
. [@cecton, #1609] - Add basic lints to the HTML macro.. [@teymour-aldridge, #1748]
- Refactor use ref hooks. [@mc1098, #2093]
- Implementation of portals. [@WorldSEnder, #2147]
- Allow Classes properties to be created from string literals. [@jplatte, #2141]
- Use functions from
gloo_utils
instead of re-implementing them. [@hamza1311, #2124] - Reliable
use_reducer
dispatch anduse_state
setter. [@futursolo, #2126] - Add custom type for attribute values. [@hamza1311, #1994]
- Remove trailing semicolon in macro used in expression position. [@vrmiguel, #2127]
- Add set_if_neq for UseStateHandle. [@voidpumpkin, #2109]
- Add safe first_node fn. [@mc1098, #2094]
- impl PartialEq for
UseStateHandle
andUseReducerHandle
. [@hamza1311, #2092] - Remove
web_sys
re-export. [@mc1098, #2084] - Use into_prop_value to convert str prop to Option. [@Xavientois, #2080]
- Component lifecycle scheduler optimizations. [@bakape, #2065]
- Update dependencies. [@mc1098, #2064]
- Add support for missing boolean attributes. [@mc1098, #2051]
- Add fully qualified primitives in proc macro. [@mc1098, #2037]
- Remove 'static lifetime from hook init function. [@mc1098, #2039]
- Add "struct update" syntax to pass props to component (
..props
instead ofwith props
). [@Xavientois, #2024] - Add
no_implicit_prelude
to proc macro tests. [@mc1098, #2033] - Dev/listener multiplexer. [@bakape, #1542]
- Remove ShouldRender type alias. [@mc1098, #2011]
- Components v2 (2). [@hamza1311, #1961]
- Remove InputData & ChangeData. [@mc1098, #2000]
- Support const generics in
#[derive(Properties)]
. [@maciejhirsz, #1978] - Add shorthand syntax for props. [@Xavientois, #1970]
- Static attribute lists. [@bakape, #1962]
- yew/vlist: optimize diffing and patching. [@bakape, #1555]
- Add requirement for braces around most props. [@Xavientois, #1939]
- Optimize VTag construction, memory footprint and patching. [@bakape, #1947]
- Refactor and cleanup codebase. [@hamza1311, #1842]
- Helper to build changelog. [@cecton, #1845]
- Implicit optional attributes. [@siku2, #1637]
- yew: reduce scheduler call indirection. [@bakape, #1903]
- Change match statement to if. [@Xavientois, #1884]
- Optimize vtag construction. [@bakape, #1867]
- Apply Clippy lints.. [@teymour-aldridge, #1863]
- Change the app struct to be a real handle to an Yew app instance and make it possible to destroy a running app. [@nicklaswj, #1825]
- Bring context to standard components. [@Diggsey, #1835]
- Upgraded Hook API (2). [@hamza1311, #1780]
- Store hook state in a mutable scoped-TLS. [@Diggsey, #1831]
- Remove unnecessary allocation from
AnyScope
. [@Diggsey, #1830] - Added missing licenses to Cargo.toml files and updated to use SPDX syntax. [@jbg, #1822]
- Update Rust version for macro tests to 1.51 & enable const generics tests. [@hamza1311, #1801]
- Allow the use of Rust keywords for element names. [@siku2, #1772]
- Refactor html tag peeking. [@lukechu10, #1738]
- Generic functional components. [@lukechu10, #1756]
- Add support for the unit struct in Properties derive. [@Xavientois, #1752]
- Rip out stdweb. [@philip-peterson, #1697]
yew-router-v0.16.0
Changelog
-
🛠 Fixes
- Fix Some Router Behaviour. [@futursolo, #2107]
- Fix multiple field enum tokens. [@mc1098, #1988]
- Fix clippy lints from 1.54.0. [@Xavientois, #1976]
- Fix router. [@hamza1311, #1856]
- update nom 6.1.2 and fix compile errors.. [@higumachan, #1806]
-
⚡️ Features
- Add missing router docs: Redirect, Nested Router, and Path Segament capturing. [@Madoshakalaka, #2192]
- use base url for href of links. [@WorldSEnder, #2177]
- Use functions from
gloo_utils
instead of re-implementing them. [@hamza1311, #2124] - Update Yew Router as per #2113. [@futursolo, #2118]
- Update dependencies. [@mc1098, #2064]
- Add "replace route" call as a companion to "push route". [@rjmac, #2023]
- Add shorthand syntax for props. [@Xavientois, #1970]
- Add requirement for braces around most props. [@Xavientois, #1939]
- Clean-up and optimize router a little bit. [@hamza1311, #1869]
- Apply Clippy lints.. [@teymour-aldridge, #1863]
- Rewrite router. [@hamza1311, #1791]
- Added missing licenses to Cargo.toml files and updated to use SPDX syntax. [@jbg, #1822]
- Update Rust version for macro tests to 1.51 & enable const generics tests. [@hamza1311, #1801]
- Add support for the unit struct in Properties derive. [@Xavientois, #1752]
yew-agent-v0.1.0
Changelog
-
🛠 Fixes
- Fix unmaintained anymap dependency. [@mc1098, #2071]
- Fix clippy lints from 1.54.0. [@Xavientois, #1976]
- Fix crash in link to destroyed agents. [@kristoff3r, #1827]
-
⚡️ Features
- allow web worker resource to be relative. [@astraw, #2086]
use_bridge
hook for agents. [@futursolo, #2125]- Use functions from
gloo_utils
instead of re-implementing them. [@hamza1311, #2124] - yew-agent: add missing web-sys features. [@astraw, #2085]
- Update dependencies. [@mc1098, #2064]
- Drop Private worker handler when bridge is dropped. [@FrancisMurillo, #1944]
v0.18.0
Changelog
-
🛠 Fixes
-
⚡️ Features
- Implicit optional attributes. [@siku2, #1637]
- Added callback_future_once in yewtil.(#1712). [@fraillt, #1696]
- Added relevant examples section to the docs. [@oOBoomberOo, #1695]
- Added missing KeyboardService re-export. [@SOF3, #1694]
- Rename internal Agent structs to match Component. [@jstarry, #1688]
- Add discussion link to issue selector. [@jstarry, #1674]
- Update link to Material Design Components. [@TapioT, #1662]
- Extract Classes to a separate macro. [@cecton, #1601]
- Improve the "keyed_list" example. [@titaneric, #1650]
- Add documentation for component children. [@K4rakara, #1616]
- Add a macro for building properties outside of html!. [@siku2, #1599]