Skip to content

Releases: ciscoheat/sveltekit-flash-message

v2.4.4

08 Mar 11:46
368a00d
Compare
Choose a tag to compare

Fixed

  • redirect with two parameters accepted a Cookies object, which wouldn't work as the redirect url couldn't be detected.

v2.4.2

16 Feb 12:11
Compare
Choose a tag to compare

Added

  • Compatibility with Svelte 5

v2.4.1

25 Jan 11:53
Compare
Choose a tag to compare

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

07 Jan 11:20
Compare
Choose a tag to compare

Fixed

  • Options weren't compared properly, causing problems when navigating.

v2.3.0

15 Dec 00:03
Compare
Choose a tag to compare

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

13 Nov 17:23
Compare
Choose a tag to compare

Fixed

  • Options couldn't be set in different top-level layouts.

v2.2.1

14 Sep 12:16
Compare
Choose a tag to compare

Fixed

  • Flash message didn't appear when posting to a form action on a different route. (#26)

v2.2.0

18 Aug 14:54
Compare
Choose a tag to compare

Fixed

  • Default cookie option for SameSite (strict) wasn't set on the client.

Added

  • flashCookieOptions added to getFlash options.

v2.1.3

09 Aug 17:07
Compare
Choose a tag to compare

Fixed

  • afterNavigate fix when automatically clearing the flash message.
  • Flash message didn't appear when redirecting after setFlash.

v2.1.1

09 Aug 01:11
Compare
Choose a tag to compare

Fixed

  • Compatibility with vitest ^0.34.1.

Added

  • The client part of the library can now be imported directly from sveltekit-flash-message, instead of sveltekit-flash-message/client. (The latter also works, for compatibility.)