Skip to content

Releases: OtterJS/csrf-csrf

v3.3.0

27 Aug 21:26
Compare
Choose a tag to compare

Added

  • sign cookie option that is passed through to res.cookie
  • unsign cookie option that is used to unsign cookies that were not caught by otterhttp App-level cookie unsigning

v3.2.0

24 Aug 18:10
Compare
Choose a tag to compare

Changed

  • response object is/must be passed through to everything that accepts request

v3.1.0

24 Aug 12:08
Compare
Choose a tag to compare

Changed

  • everything is promises. anything can be promises.

v3.0.0

24 Aug 00:24
Compare
Choose a tag to compare

Changed

  • Remove all options related to cookie signing, with the exception of encode (a member of SerializeOptions) - rely on the framework (otterhttp) to do cookie-parsing and signing

v2.0.0

21 Aug 00:30
Compare
Choose a tag to compare

Changed

  • Prefer @otterhttp to @tinyhttp
  • Moved package from @otterjs to @otterhttp on NPM
  • Removed usage of req.secret; instead, rely on cookieOptions.getSigningSecret option (required when cookieOptions.signed is true)

v1.1.0

16 Jul 17:33
Compare
Choose a tag to compare

Added

  • Most types are now exported

v1.0.2

16 Jul 16:46
Compare
Choose a tag to compare

Fixed

  • CI configuration issue causing cannot find module errors

v1.0.1

16 Jul 14:18
Compare
Choose a tag to compare

Changed

  • Updated documentation in README.md