npm @fastify/session 10.0.0
v10.0.0

latest releases: 11.0.0-pre.fv5.1, 10.9.0, 10.8.0...
22 months ago

Notable Changes

Express-Session Compatibility

It increase the compatibility of @fastify/session by allowing using input of cookiePrefix #113, preventing sessionId #129 and encryptedSessionId #134 to be stored in session store, etc.

Thanks to the great work of @rclmenezes and @Uzlopak

Performance

Performance of id generation #123 has been improved 25% - 30%. Thanks to @Uzlopak works.

Security

The verification of cookie path #169 is changed to match the RFC specification.
It stricter than before and avoid the wrong cookie slap in.
For exmaple, cookie path /docs with request path /docs-oh-no

Refactor on code

The structure of code-base has been reorganized and the files do not scattered on top-level folder anymore.
It greatly improve the readability of the modules.

What's Changed

New Contributors

Full Changelog: v9.0.0...v10.0.0

Don't miss a new session release

NewReleases is sending notifications on new releases.