Skip to content

Releases: fastify/session

v10.0.0

09 Sep 13:53
Compare
Choose a tag to compare

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

v9.0.0

10 May 14:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.2.0...v9.0.0

v8.2.0

04 May 09:20
3e97e36
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): bump undici from 4.16.0 to 5.0.0 by @dependabot in #82
  • build(deps): bump actions/checkout from 2 to 3 by @dependabot in #81
  • feat: add support for handling previously-signed cookies by @wilkmaia in #86
  • build(deps-dev): bump standard from 16.0.4 to 17.0.0 by @dependabot in #87

New Contributors

Full Changelog: v8.1.0...v8.2.0

v8.1.0

07 Apr 10:34
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): bump tsd from 0.19.1 to 0.20.0 by @dependabot in #83
  • chore: add "benchmark" by @SimenB in #84
  • feat: remove stale cookies by @SimenB in #79
  • feat: only save session to storage when it changes by @SimenB in #80

Full Changelog: v8.0.0...v8.1.0

v8.0.0

30 Mar 08:22
fbb5407
Compare
Choose a tag to compare

What's Changed

  • feat: add destroy, save and reload to session instance by @SimenB in #77
  • feat: Promise API by @SimenB in #78

Full Changelog: v7.0.0...v8.0.0

v7.0.0

25 Mar 12:45
Compare
Choose a tag to compare

Breaking Changes

  • Drop Node 10 Support
  • Change function argument of Session#regenerate

What's Changed

  • fix: remove request argument from Session#regenerate by @SimenB in #75

Full Changelog: v6.5.1...v7.0.0

v6.5.2

25 Mar 13:11
Compare
Choose a tag to compare

This release revert the breaking changes that should not be included.

What's Changed

Full Changelog: v6.5.1...v6.5.2

v6.5.1

25 Mar 12:24
Compare
Choose a tag to compare

DO NOT USE THIS VERSION, IT CONTAIN BREAKING CHANGES

What's Changed

  • major: drop node 10 and ava update by @ramonmulia in #65
  • feat: replace got by undici by @zekth in #67
  • fix: regex limitation by @zekth in #68
  • fix(types): error is optional, and session data always exists by @SimenB in #74

New Contributors

Full Changelog: v6.5.0...v6.5.1

v6.5.0

15 Mar 11:32
8f47377
Compare
Choose a tag to compare

What's Changed

  • build: reduce dependabot update frequency by @Fdawgs in #57
  • build(deps): bump fastify/github-action-merge-dependabot from 2.7.1 to 3 by @Fdawgs in #59
  • build(deps): bump actions/setup-node from 2 to 3 by @dependabot in #60
  • Docs: typescript issues with some express-session compatible stores by @lokshunhung in #40
  • fix (types): fix callbacks types and ensure compatibility with express-session stores by @darkgl0w in #61
  • idGenerator request object (#62) by @Legolaszstudio in #64

New Contributors

Full Changelog: v6.4.0...v6.5.0

v6.4.0

12 Jan 09:25
ae37093
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @zbo14 made their first contribution in #53

Full Changelog: v6.3.0...v6.4.0