This is an alpha release from the leptos_0.9 branch, to give people an opportunity to start playing around.
I have not yet written up a full changelog but you can find the PR at #4522
Notable changes:
lazyfeature: Lazy-loading/code-splitting is now gated behind alazyflag on theleptoscrate. This saves binary size for anyone who's not using lazy-loading; if you are, just enable the feature.serde_qs1.0: we've migrated to the 1.0 series of releases for our default server-function input encoding (form URL data). This should reduce the requirement for#[server(default)]and similar workarounds for empty collections.on:toggleis now typed as aToggleEventrather than plainEvent- Function-call syntax for signal reads is now supported on stable (i.e.,
let (foo, set_foo) = signal(42); set_foo(13); foo()should work on both stable and nightly) - Some of the trait implementations around signals have changed: in the worst case, if you have a component or function that takes
impl Fn() -> Tand you pass it aSignal<T>you may need to dereference it (foo=*signalrather thanfoo=signal). Let us know if there are any more noticeable breakages here. - A wide variety of semver-breaking changes that probably won't affect user code.
Again, this is a bit of a "canary": many of the changes in this release are intended to smooth out various APIs and don't seem to cause significant breakage, but please let me know if they do. This is not intended to require meaningful migration; if you find that it's causing you to need to make significant changes to your code, please share some examples and we'll see if we can minimize the breakage.