Skip to content

Releases: fastify/session

v11.1.0

09 Jan 16:22
4fbbd33
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): bump neostandard from 0.11.9 to 0.12.0 by @dependabot in #284
  • build(deps-dev): add eslint, peer dep of neostandard by @Fdawgs in #285
  • chore(package): add contribs and funding by @Fdawgs in #286
  • perf(lib/fastifysession): use optional chaining by @Fdawgs in #287
  • refactor: prefix unused params with underscores by @Fdawgs in #288
  • fix(types): add missing SessionObject#options() definition by @chrisdickinson in #289

New Contributors

Full Changelog: v11.0.2...v11.1.0

v11.0.2

14 Dec 08:23
31c31e0
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump fastify-plugin from 4.5.1 to 5.0.1 by @dependabot in #269
  • use 'lax' instead of 'Lax' as default for cookie sameSite option when secure is set to 'auto' by @gunjam in #271
  • test(types): replace var statement by @Fdawgs in #273
  • build(deps-dev): bump cronometro from 3.0.2 to 4.0.0 by @dependabot in #274
  • style: remove trailing whitespace by @Fdawgs in #276
  • chore(package): add homepage and bugs urls by @Fdawgs in #277
  • docs(readme): update ci badge syntax by @Fdawgs in #281
  • docs(readme): session store and reverse proxy changes by @niels-van-den-broeck in #261
  • build(deps-dev): replace standard with neostandard by @Fdawgs in #282

New Contributors

Full Changelog: v11.0.1...v11.0.2

v11.0.1

21 Sep 08:39
c180049
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v11.0.0...v11.0.1

v11.0.0

05 Sep 14:46
3534fee
Compare
Choose a tag to compare

What's Changed

  • Merge next into master by @jsumners in #256
  • build(deps): bump fastify/workflows from 4.1.0 to 4.2.1 by @dependabot in #258
  • improve type test readability by @zetaraku in #259
  • Added the ability to configure cookie options within a route by @ogheo in #260
  • build(deps-dev): bump @types/node from 20.14.13 to 22.0.0 by @dependabot in #263
  • build(deps): bump fastify/workflows from 4.2.1 to 5.0.0 by @dependabot in #265
  • chore: update min fastify version by @Fdawgs in #264

New Contributors

Full Changelog: v10.9.0...v11.0.0

v10.9.0

21 May 16:28
742e1dc
Compare
Choose a tag to compare

⚠️ Security Release ⚠️

This release fixes GHSA-pj27-2xvp-4qxg with CVE CVE-2024-35220. It's severity is classified as HIGH.

When restoring the cookie from the session store, the expires field is overriden if the maxAge field was set.
This means a cookie is never correctly detected as expired and thus expired sessions are not destroyed.

Full Changelog: v10.8.0...v10.9.0

v10.8.0

07 May 17:38
8b6241c
Compare
Choose a tag to compare

What's Changed

  • use sha256 instead of sha1 as default by @mcollina in #247
  • fix: npm run benchmark isn't working by @zetaraku in #248
  • Fix type argument inference of session.get(key) and session.set(key, value) by @zetaraku in #249

New Contributors

Full Changelog: v10.7.2...v10.8.0

v10.7.2

18 Apr 10:53
a94dfbb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.7.1...v10.7.2

v10.7.1

15 Apr 16:24
7372714
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): bump tsd from 0.29.0 to 0.30.1 by @dependabot in #231
  • docs(readme): replace fastify.io links with fastify.dev by @Fdawgs in #232
  • chore(license): Update licensing year by @codershiba in #233
  • chore(.gitignore): add .tap/ dir by @Fdawgs in #235
  • build(deps-dev): bump cronometro from 1.2.0 to 3.0.1 by @dependabot in #236
  • fix: use request.protocol to check for HTTPS by @mohd-akram in #238
  • build(deps-dev): bump tsd from 0.30.7 to 0.31.0 by @dependabot in #239
  • fix race condition in cookie.maxAge test by @autopulated in #242
  • Ensure maxAge type has milliseconds as the unit by @chuanqisun in #245

New Contributors

Full Changelog: v10.7.0...v10.7.1

v10.7.0

08 Dec 09:41
8ea7e46
Compare
Choose a tag to compare

What's Changed

  • Fix: add ability to create Partitioned Cookies by @nicob-29 in #226

New Contributors

Full Changelog: v10.6.1...v10.7.0

v10.6.1

27 Nov 21:40
25b4f6b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.6.0...v10.6.1