v0.6.6
leptos-rs/leptosv0.6.6Feb 19, 2024by benwis
AI Summary
This release focuses on fixing issues with examples, integrating a server macro for Spin, and improving documentation. It includes Axum state propagation, fixes for execution order of effects, and URL parameter decoding.
Key Highlights
- Guarantee execution order of effects
- Provide state to server fn context in Axum
- Fix error rather than panicking if unable to send response in Axum integration
- Percent Decode URL Parameters
- Add a 'Suspense' wrapper to the hackernews example
New Features
- Axum state propagation
- Execution order guarantees
- URL parameter percent decoding
Full Release Notes
Fixed some issues with examples, integrated a server macro for Spin, and improved a number of typos. Thanks to all that participated! For general 0.6 release notes, [see here](https://github.com/leptos-rs/leptos/releases/tag/v0.6.3). ## What's Changed * Update rkyv example button text to accurately reflect what it does by @Innominus in https://github.com/leptos-rs/leptos/pull/2250 * example/counter_isomorphic Removed console warning. by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/2244 * Chore: Minor, ran ```cargo fmt``` by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/2254 * examples/hackernews: Add a "Suspense" wrapper. by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/2253 * fix: error rather than panicking if unable to send response in Axum integration by @gbj in https://github.com/leptos-rs/leptos/pull/2241 * docs: fix broken link in leptos_router by @nootr in https://github.com/leptos-rs/leptos/pull/2256 * Adding a Beginner's Tip to HtmlElement<El> by @sjud in https://github.com/leptos-rs/leptos/pull/2218 * Percent Decode Url Parameters by @zoomiti in https://github.com/leptos-rs/leptos/pull/2251 * feat(axum): provide state to server fn context by @chrisp60 in https://github.com/leptos-rs/leptos/pull/2257 * Fix typo in actix integrations docs by @SleeplessOne1917 in https://github.com/leptos-rs/leptos/pull/2258 * docs: typos in examples by @ngutech21 in https://github.com/leptos-rs/leptos/pull/2260 * fix: guarantee execution order of effects (closes #2261) by @gbj in https://github.com/leptos-rs/leptos/pull/2262 * fix: make directive `.into()` calls consistent by @blorbb in https://github.com/leptos-rs/leptos/pull/2249 * chore: fix typo by @saikatdas0790 in https://github.com/leptos-rs/leptos/pull/2267 * Create an axum-no-default feature for server_fn and sets leptos_axum to rely on it instead. by @sjud in https://github.com/leptos-rs/leptos/pull/2270 * fix: add key/value pair from submit button when parsing form event by @haslersn in https://github.com/leptos-rs/leptos/pull/2268 * fix(ci): address clippy issue by @agilarity in https://github.com/leptos-rs/leptos/pull/2278 * fix(test-report) should show all cargo-make leptos configuration by @agilarity in https://github.com/leptos-rs/leptos/pull/2282 * Fix remaining CI issues by @gbj in https://github.com/leptos-rs/leptos/pull/2285 * docs: give a warning when you try to `.dispatch()` an action immediately (closes #2225) by @gbj in https://github.com/leptos-rs/leptos/pull/2286 * fix(ci): empty directory vector error by @agilarity in https://github.com/leptos-rs/leptos/pull/2288 * fix(examples): align crate name and output name (closes #2206) by @gbj in https://github.com/leptos-rs/leptos/pull/2291 * pub export server is either from leptos_macro or leptos_spin_macro depending on if spin feature is enabled. by @sjud in https://github.com/leptos-rs/leptos/pull/2280 * ci(examples): configure leptos examples to build with cargo-leptos when possible by @agilarity in https://github.com/leptos-rs/leptos/pull/2294 * session_auth_axum compiles and works again by @drebbe-intrepid in https://github.com/leptos-rs/leptos/pull/2310 * I have been looking the "github actions" build warnings. by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/2303 * fix(meta): provide meta context missing in example by @EstebanBorai in https://github.com/leptos-rs/leptos/pull/2311 * Error type detection only worked without type path by @maccesch in https://github.com/leptos-rs/leptos/pull/2298 * feat: use cdn url for static assets (#2281) by @zoomiti in https://github.com/leptos-rs/leptos/pull/2283 * Bumping config to 0.14. by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/2302 * fix: Transition in hydrate mode that isn't initially created (closes #2279) by @gbj in https://github.com/leptos-rs/leptos/pull/2314 * docs(examples): update docs by @agilarity in https://github.com/leptos-rs/leptos/pull/2313 * docs: log error on failing to convert form to ServerFn type, in addition to setting action value by @gbj in https://github.com/leptos-rs/leptos/pull/2319 * chore(ci): reduce set of tested features to prevent running out of disk space in `server_fn` by @gbj in https://github.com/leptos-rs/leptos/pull/2320 * examples: fix CSS file name in `tailwind_axum` by @gbj in https://github.com/leptos-rs/leptos/pull/2324 * fix: handle cross-origin redirects in server function redirect hook by @haslersn in https://github.com/leptos-rs/leptos/pull/2329 * Fixed href path in tailwind_csr example by @itsDrac in https://github.com/leptos-rs/leptos/pull/2328 ## New Contributors * @Innominus made their first contribution in https://github.com/leptos-rs/leptos/pull/2250 * @nootr made their first contribution in https://github.com/leptos-rs/leptos/pull/2256 * @zoomiti made their first contribution in https://github.com/leptos-rs/leptos/pull/2251 * @ngutech21 made their first contribution in https://github.com/leptos-rs/leptos/pull/2260 * @haslersn made their first contribution in https://github.com/leptos-rs/leptos/pull/2268 * @drebbe-intrepid made their first contribution in https://github.com/leptos-rs/leptos/pull/2310 * @EstebanBorai made their first contribution in https://github.com/leptos-rs/leptos/pull/2311 * @itsDrac made their first contribution in https://github.com/leptos-rs/leptos/pull/2328 **Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.6.5...v0.6.6