v0.6.8

leptos-rs/leptosv0.6.8Mar 3, 2024by benwis

AI Summary

This release disables file hashing by default to streamline usage, making it configurable via environment variables or Cargo.toml. It also includes fixes for hydration status in islands mode and removes unnecessary trait bounds.

Key Highlights

  • Disable file hashing by default (configurable via LEPTOS_HASH_FILES or hash-files=true)
  • Fix correctly resetting hydration status in islands mode Suspense
  • Remove unnecessary trait bound `PartialEq` from `create_owning_memo`
  • Specify path to wasm bindgen in island macro

New Features

  • Configurable file hashing

Full Release Notes

Mostly this release is to disable file hashing by default, and streamline it's use. It can now be enabled by setting `hash-files=true` in your Cargo.toml or setting the `LEPTOS_HASH_FILES=true` env var when running cargo-leptos. If you're using Docker or moving the bin to a new folder, you need to copy the (by default) `hash.txt` file from `target/{release_profile_name}` to the same folder as your binary, and make sure the env var or cargo.toml option is enabled.  Also some minor bug fixes

## What's Changed
* Specify path to wasm bindgen in island macro by @Baptistemontan in https://github.com/leptos-rs/leptos/pull/2387
* add note on how to get leptos_axum::ResponseOptions by @sjud in https://github.com/leptos-rs/leptos/pull/2380
* fix(ci): "needless borrow" error and example never exiting by @paul-hansen in https://github.com/leptos-rs/leptos/pull/2392
* fix: ignore this Axum integration as with other doctests for now by @gbj in https://github.com/leptos-rs/leptos/pull/2395
* Unnecessary trait bound `PartialEq` removed from `create_owning_memo` by @zroug in https://github.com/leptos-rs/leptos/pull/2394
* fix: correctly reset hydration status in islands mode Suspense (closes #2332) by @gbj in https://github.com/leptos-rs/leptos/pull/2393
* Rename env var and tweak hashing to align with cargo leptos by @benwis in https://github.com/leptos-rs/leptos/pull/2398

## New Contributors
* @zroug made their first contribution in https://github.com/leptos-rs/leptos/pull/2394

**Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.6.7...v0.6.8