Svelte Kit Cookie Session Versions Save

⚒️ Encrypted "stateless" cookie sessions for SvelteKit

v4.0.0

9 months ago

The internal encryption library changed to the @noble/ciphers which is up to 35% faster than the previous implementation. The encryption should also now be even more secure. Because of the change of the encryption library we have an major version bump. You now have to provide a secret with an exact length of 32 characters or bytes. You can use Password Generator to generate strong secrets.

v2.1.3

2 years ago

v2.1.0

2 years ago

v2.0.5

2 years ago

v2.0.2

2 years ago

v2.0.1

2 years ago

Export the connect/express session middleware again..

v2.0.0

2 years ago

Upgrading from v1 to v2

Please use any version above @sveltejs/[email protected], all older versions are not compatible with v2 anymore. Stick to 1.4.0 if you like to use older versions of kit. There are no major breaking changes, besides some internal refactoring and switching from JS Proxy to Getters/Setters which should end up in a better performance. We also only decrypt the session data now if you access the session.data. Also the session data returns undefined now if not existing instead of an empty object.

v1.4.0

2 years ago

v1.3.3

2 years ago

v1.3.2

2 years ago

This includes native ESM Support outside SvelteKit.