Skip to content

Releases: fastify/csrf-protection

v7.0.1

22 Sep 08:51
680c1fc
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): bump sinon from 18.0.1 to 19.0.2 by @dependabot in #163
  • docs(readme), test: generateCsrf no longer require await by @5t111111 in #164
  • chore: update fastify to ^5.0.0 by @Fdawgs in #165

New Contributors

Full Changelog: v7.0.0...v7.0.1

v7.0.0

05 Sep 14:52
f058452
Compare
Choose a tag to compare
v7.0.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v6.4.1...v7.0.0

v6.4.1

06 Nov 18:39
43c02f4
Compare
Choose a tag to compare

What's Changed

  • fix(types): hmacKey only mandatory with fastify/cookie by @hobi9 in #148

New Contributors

Full Changelog: v6.4.0...v6.4.1

v6.4.0

29 Oct 14:48
9ea1ffa
Compare
Choose a tag to compare

What's Changed

  • ci: only trigger on pushes to main branches by @Fdawgs in #134
  • build(deps-dev): bump @types/node from 18.16.5 to 20.1.0 by @dependabot in #136
  • build(deps-dev): bump @fastify/cookie from 8.3.0 to 9.0.4 by @dependabot in #137
  • build(deps-dev): bump @fastify/secure-session from 6.2.0 to 7.0.0 by @dependabot in #138
  • docs - update @fastify/session docs by @leftieFriele in #139
  • build(deps-dev): bump tsd from 0.28.1 to 0.29.0 by @dependabot in #140
  • perf: use node: prefix to bypass require.cache call for builtins by @Fdawgs in #141
  • build(deps-dev): bump sinon from 15.2.0 to 16.0.0 by @dependabot in #142
  • chore: add .gitattributes file by @Fdawgs in #144
  • build(deps-dev): bump sinon from 16.1.3 to 17.0.0 by @dependabot in #145
  • chore(package): explicitly declare js module type by @Fdawgs in #146

New Contributors

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

v6.3.0

20 Apr 08:32
e746cf7
Compare
Choose a tag to compare

⚠️ Security Release ⚠️

This release fixes a vulnerability (CVE-2023-27495) that can lead to a bypass of the CSRF protection in the case of predictable userInfo more details at GHSA-qrgf-9gpc-vrxw.

What's Changed

Full Changelog: v6.2.0...v6.3.0

v4.1.0

20 Apr 08:32
42a4f1c
Compare
Choose a tag to compare

⚠️ Security Release ⚠️

This release fixes a vulnerability (CVE-2023-27495) that can lead to a bypass of the CSRF protection in the case of predictable userInfo more details at GHSA-qrgf-9gpc-vrxw.

v6.2.0

03 Mar 12:00
ea4a2cc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.1.0...v6.2.0

v6.1.0

02 Dec 07:11
1fde15d
Compare
Choose a tag to compare

📚 PR:

  • Updated example getToken function in README.md (#117)
  • add nodenext compatibility (#119)

v6.0.0

26 Sep 06:51
e18c34b
Compare
Choose a tag to compare

📚 PR:

  • build(deps): bump fastify-plugin from 3.0.1 to 4.0.0 (#103)
  • ci: enable license checking (#104)
  • build(deps-dev): bump @fastify/cookie from 7.4.0 to 8.0.0 (#105)
  • build(deps-dev): bump tsd from 0.22.0 to 0.23.0 (#106)
  • Clarify that the preHandler lifecycle must be used if the token is passed as a body (#108)
  • build(deps-dev): bump @fastify/session from 9.0.0 to 10.0.0 (#109)
  • build(deps-dev): bump tsd from 0.23.0 to 0.24.1 (#110)
  • modernize project structure (#111)
  • avoid unnecessary if conditions (#112)
  • major: Update csrf and fix some typings (#114)
  • Improve documentation (#115)

v5.1.0

11 Jul 08:11
fc0fcb1
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump @fastify/csrf from 4.0.1 to 5.0.0 by @dependabot in #94
  • chore(.gitignore): use updated skeleton template by @Fdawgs in #95
  • build(deps-dev): bump tsd from 0.20.0 to 0.21.0 by @dependabot in #96
  • build(deps-dev): bump @types/node from 17.0.45 to 18.0.0 by @dependabot in #97
  • build(deps-dev): bump tsd from 0.21.0 to 0.22.0 by @dependabot in #98
  • add .npmrc to disable package-lock.json generation by @Uzlopak in #101
  • use @fastify/error instead of http-errors by @Uzlopak in #102
  • Use secretSync by @Uzlopak in #100

New Contributors

Full Changelog: v5.0.0...v5.1.0