Releases: ciscoheat/sveltekit-flash-message
Releases · ciscoheat/sveltekit-flash-message
v2.4.6
Fixed
- Possible navigation regression fix for Svelte 4 and 5.
v2.4.4
Fixed
redirect
with two parameters accepted a Cookies
object, which wouldn't work as the redirect url couldn't be detected.
v2.4.2
Added
- Compatibility with Svelte 5
v2.4.1
Fixed
- SvelteKit 2 redirect issue fixed.
- Options for
getFlash
affects routes below.
- Removed debug messages.
Added
- Reintroduced
initFlash
, since flash options are now properly affecting routes below.
v2.3.1
Fixed
- Options weren't compared properly, causing problems when navigating.
v2.3.0
Added
- The
redirect
function can now take the cookies object as well as the whole RequestEvent.
Fixed
- Peer dependency support for SvelteKit 2. (#32)
v2.2.2
Fixed
- Options couldn't be set in different top-level layouts.
v2.2.1
Fixed
- Flash message didn't appear when posting to a form action on a different route. (#26)
v2.2.0
Fixed
- Default cookie option for
SameSite
(strict) wasn't set on the client.
Added
flashCookieOptions
added to getFlash
options.