v0.8.4

leptos-rs/leptosv0.8.4Jul 20, 2025by gbj

AI Summary

A patch release fixing hot-reloading bugs and adding debug logging utilities prior to the code-splitting merge.

Key Highlights

  • Adds `debug_log!` and `debug_error!` macros.
  • Implements Myers diffing algorithm for hot-reloading.
  • Fixes three hot-reloading bugs including hash reading on the server.
  • Improves hot-reload stability when view counts change.

New Features

  • `debug_log!` and `debug_error!` macros
  • Myers diffing algorithm for hot-reload
  • Hash reading support on server (with warning)
  • Improved hot-reload stability

Full Release Notes

There are some small bugfixes in here, as well as improvements to the hot-reloading code. This is mostly intended to be a sort of "last patch" before merging the code-splitting changes in #3988, so that there is a patch people can pin to in case those inadvertently introduce any regressions.

## What's Changed
* fix: bump workspace dependency versions (closes #4146) by @gbj in https://github.com/leptos-rs/leptos/pull/4149
* Version updates + stable hot-reloading by @gbj in https://github.com/leptos-rs/leptos/pull/4161
* feat: support conversion from signals and optional get extension for TextProp by @mahdi739 in https://github.com/leptos-rs/leptos/pull/4159
* docs: add warning for reading hash on the server by @TERRORW0LF in https://github.com/leptos-rs/leptos/pull/4158
* fix: three hot-reloading bugs ( closes #3191 ) by @shadr in https://github.com/leptos-rs/leptos/pull/4154
* chore(deps): bump the rust-dependencies group across 1 directory with 15 updates by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4152
* We're kinda prod-ready by @rakshith-ravi in https://github.com/leptos-rs/leptos/pull/4148
* chore: examples - bumped version numbers for sqlx and this error. by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/4126
* fix(CI): check latest commit for version release instead of version tag by @sabify in https://github.com/leptos-rs/leptos/pull/4150
* Disable default features for Actix by @dbanty in https://github.com/leptos-rs/leptos/pull/3921
* feat: add `debug_log!`, `debug_error!`, `console_debug_log` and `console_debug_error`  by @mahdi739 in https://github.com/leptos-rs/leptos/pull/4160
* fix(hot-reload): implement Myers diffing algorithm by @shadr in https://github.com/leptos-rs/leptos/pull/4162
* fix(hot-reload): hot-reload stops working when number of views changes in a file + small fixes by @shadr in https://github.com/leptos-rs/leptos/pull/4167

## New Contributors
* @shadr made their first contribution in https://github.com/leptos-rs/leptos/pull/4154
* @dbanty made their first contribution in https://github.com/leptos-rs/leptos/pull/3921

**Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.8.3...v0.8.4