cargo leptos 0.2.2
`v0.2.2`

latest releases: 0.7.0-rc1, 0.7.0-rc0, 0.7.0-preview2...
20 months ago

I forgot to make a tag or publish release notes for 0.2.1. These are both patch releases that include some performance improvements, a number of bugfixes, and spinning out a framework-independent server function crate, but don't include any particularly big new features.

Small new features

  • rkyv encoding as an option for resources
  • allowing multiple class names in class = syntax in view! macro
  • provide a new LeptosRequest<_> type that allows Leptos Axum apps access to the request via use_context, which allows you to use Axum extractors without a special handler
  • preliminary hot-reloading support, to be built into cargo-leptos, for updating static parts of the view before recompiling the Rust parts of your app

What's Changed

  • Some cleanups in router/matching/resolve_paths by @g-re-g in #569
  • perf: improvements to element creation in <For/> by @gbj in #579
  • feat: Support rkyv encoding by @617a7a in #577
  • make counter test compile by @eiswind in #588
  • fix: mouseenter and mouseleave do not bubble by @gbj in #593
  • Update example readme by @brendonotto in #595
  • examples: include missing examples in CI by @gbj in #598
  • fix: SSR + hydration improvements by @gbj in #599
  • cx typo in 02_getting_started.md by @iagafonov in #602
  • Fix typo in 03_components.md by @makoven in #603
  • In Action::dispatch() set new value before resetting input signal by @Qwox0 in #604
  • fix: memory leak in render_to_stream by @gbj in #601
  • Make server functions framework agnostic by @Demonthos in #596
  • use create_node_ref instead of NodeRef::new by @iagafonov in #607
  • publish framework-independent server_fn crate by @gbj in #605
  • fix compilation error, Issue #608 by @kulak in #609
  • updated error handling code in book by @iagafonov in #610
  • feat: support expr for #[prop(default=...)] by @ModProg in #611
  • Minor: Clippy - Simplified conditional logic in transition.rs. by @martinfrances107 in #615
  • docs: improve "Getting Started" page by @gbj in #618
  • feat: allow multiple class names in view! macro class = (closes #612) by @gbj in #614
  • tests: use check instead of build in CI for disk space by @gbj in #616
  • docs: add patterns for global state (closes #245) by @gbj in #619
  • feat: allow easier client-side form validation (closes #413) by @gbj in #620
  • fix: suppress warnings caused by resource loading in generate_route_list (closes #582) by @gbj in #621
  • CI: exclude rkyv combos with other serialization traits by @gbj in #622
  • docs: add a chapter on async actions and create_action by @gbj in #623
  • [WIP] feat: hot reloading support for cargo-leptos by @gbj in #592
  • fix: added missing attributes of events that don't bubble by @WafflePersonThing in #625
  • fix: boolean attributes in SSR by @gbj in #629
  • docs: fix instruction typos by @Banyc in #631
  • docs: Update 04_iteration.md by @jfloresremar in #630
  • bump typed-builder to version 0.13. by @martinfrances107 in #633
  • de-duplicate todomvc example by @erwanvivien in #634
  • CI: split into three actions by @gbj in #636
  • New example: session_auth_axum by @j0lol in #589
  • fix: custom events (closes issue #641) by @gbj in #642
  • Bump tower-http upto 0.4. by @martinfrances107 in #638
  • Minor: form component Removed unused variables. by @martinfrances107 in #640
  • Bump serde-wasm-bindgen to 0.5. by @martinfrances107 in #639
  • Cargo machete: Strip down leptos_server. by @martinfrances107 in #644
  • Unit tests for leptos-config and new functions for loading configuration by @vaniusrb in #628
  • chore: typo (closes issue #645) by @gbj in #646
  • bump bytecheck to 0.7, remove deprecated simdutf8_std. by @martinfrances107 in #647
  • Bumped typed-builder up to 0.14. by @martinfrances107 in #648
  • fix spelling error for document by @zackshen in #651
  • docs: add create_effect chapter by @gbj in #653
  • Make server functions work outside of WASM by @Demonthos in #643
  • 🔧 Fix(leptos_dom/logging): Fix showing warning instead of error by @pikhosh in #654
  • feat: impl IntoView for &Fragment by @gbj in #655
  • cargo machete: leptos_macro - Removed unused crates. by @martinfrances107 in #656
  • Put the Request on the Context for Axum by @benwis in #632
  • feat: add fragment support for hot reloading and fix some stuff by @gbj in #659
  • Copy & Clone for MaybeSignal by @CharlesTaylor7 in #660
  • fix: text node issue in template macro by @gbj in #661
  • fix: apply patches to all instances of a view, not just the first one by @gbj in #663
  • Typo fixes and other small changes to the docs by @elliotwaite in #662
  • Clippy: signal_wrappers_read, was using .clone() when copy is available. by @martinfrances107 in #665
  • v0.2.2 by @gbj in #667

New Contributors

Full Changelog: v0.2.0...v0.2.2

Don't miss a new leptos release

NewReleases is sending notifications on new releases.