v0.6.7
leptos-rs/leptosv0.6.7Feb 29, 2024by benwis
AI Summary
This release adds version hashes to CSS, JS, and WASM files to automatically invalidate browser caching. It also introduces owning memos, an `impl_from` argument for the `#[server]` macro, and fixes timeout leaks.
Key Highlights
- Add version hashes to css, js, and wasm files to invalidate browser caching
- Add owning memos to allow memos that re-use the previous value
- Add `impl_from` argument to `#[server]` proc_macro
- Make it so that cancelled timeouts don't leak
- Add MSRV (Minimum Supported Rust Version)
New Features
- Version hashes for assets
- Owning memos
- impl_from for server macros
Full Release Notes
Hello everyone! Some lovely changes in here. My favorite is the addition of version hashes to css,js, and wasm files to automatically invalidate browser caching issues. Be sure to update to the latest version of cargo leptos(v0.2.8) to test out this feature. As always, big thanks to our returning contributors and welcome to the new folks! ## What's Changed * feat: Add owning memos to allow memos that re-use the previous value by @pheki in https://github.com/leptos-rs/leptos/pull/2139 * feat: add `impl_from` argument to `#[server]` proc_macro by @videobitva in https://github.com/leptos-rs/leptos/pull/2335 * Make it so that cancelled timeouts don't leak by @rjmac in https://github.com/leptos-rs/leptos/pull/2331 * Update suspense_component.rs documentation to use .get() instead of .… by @sjud in https://github.com/leptos-rs/leptos/pull/2346 * add comment specifying edgecase of server function prefixes by @sjud in https://github.com/leptos-rs/leptos/pull/2345 * feat(leptos-axum): propagate trace context to server functions by @janu-cambrelen in https://github.com/leptos-rs/leptos/pull/2340 * finish doc sentence by @sjud in https://github.com/leptos-rs/leptos/pull/2348 * Fix Broken Doc links and Deprecate `FromUtf8Error` in `oco.rs` by @zoomiti in https://github.com/leptos-rs/leptos/pull/2318 * ci(examples): build hackernews_js_fetch with deno by @agilarity in https://github.com/leptos-rs/leptos/pull/2344 * chore(ci): fix failing CI by removing deprecation note by @gbj in https://github.com/leptos-rs/leptos/pull/2362 * Trailing slashes (#2154) take 2 by @skirsdeda in https://github.com/leptos-rs/leptos/pull/2217 * feat: add method to RouteContext (#1808) by @zoomiti in https://github.com/leptos-rs/leptos/pull/2315 * Replace Resrouce::read() in doc examples with Resource::get() by @sjud in https://github.com/leptos-rs/leptos/pull/2372 * fix: do not strip query in redirect hook when using client-side navigation by @haslersn in https://github.com/leptos-rs/leptos/pull/2376 * added hashes generated from cargo-leptos by @maccesch in https://github.com/leptos-rs/leptos/pull/2373 * Add MSRV by @paul-hansen in https://github.com/leptos-rs/leptos/pull/2360 ## New Contributors * @pheki made their first contribution in https://github.com/leptos-rs/leptos/pull/2139 * @videobitva made their first contribution in https://github.com/leptos-rs/leptos/pull/2335 * @rjmac made their first contribution in https://github.com/leptos-rs/leptos/pull/2331 * @janu-cambrelen made their first contribution in https://github.com/leptos-rs/leptos/pull/2340 * @skirsdeda made their first contribution in https://github.com/leptos-rs/leptos/pull/2217 **Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.6.6...v0.6.7