Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Releases: mozilla/node-client-sessions

v0.7.0

15 Sep 16:19
Compare
Choose a tag to compare
  • add session.destroy() alias for session.reset()
  • invalid base64 will return undefined instead of throw

v0.6.0

08 Jan 23:32
Compare
Choose a tag to compare
  • add secret can also be a Buffer
  • add encryptonKey and signatureKey options, to be used instead of secret
  • add encryptionAlgorithm and signatureAlgorithm options
  • fix zero out buffers during encryption
  • docs for new crypto options
  • docs describing how crypto is used

v0.5.0

16 Dec 18:28
Compare
Choose a tag to compare
  • fix dirty checking for nested objects. req.session.foo.bar = 'baz' now works.
  • fix setting req.session = someObj will update from someObj
  • removed usage of Proxy, now uses getters/setters

v0.4.1

19 Nov 17:53
Compare
Choose a tag to compare
  • change to writeHead, no longer depending on connect's res.on('header') event
  • fix checking existence of res.socket before checking res.socket.encrypted
  • documentation added js syntax highlighting

v0.4.0

04 Nov 21:29
Compare
Choose a tag to compare
  • add activeDuration with default to 5 minutes
  • add checking for native Proxy before using node-proxy
  • add cookie.ephemeral option, default false
  • add constant-time check
  • adds self-aware check. wont override req.session if already exists
  • fix wrong handled of utf8 replacement character
  • fix http expiry of cookie to match duration
  • fix updating cookie expiry whenever duration/createdAt changes