Skip to content

Changelog

Version 11

11.0.3

  • #169 feat: 🎸 improve yar values and flash typings

11.0.2

  • #168 feat: 🎸 add types from DT

11.0.1

  • #164 chore: bump hoek

11.0.0

  • #162 Support hapi v21, drop hapi v19, test ESM support
  • #161 Update deps, use null operator
  • #159 Drop support for node v12
  • #157 Use crypto.randomUUID as default session id
  • #156 Use built-in crypto.randomUUID

Version 10

10.1.1

  • #148 update to hapi v20
  • #147 migrate to new travis format
  • #146 upgrade lab and uuid dep
  • #145 Update API.md

10.1.0

  • #144 Assign data in onPreResponse lifecycle extension with takeover

10.0.0

  • #141 Change plugin name to @hapi/yar
  • #140 Require hapi 19
  • #139 Only node 12

Version 9

9.2.1

9.2.0

  • #131 Change module namespace

9.1.0

  • #127 chore: update dependencies
  • #126 Add possibility to revoke specific session on the server side
  • #125 Minor: Deprecated use of uuid
  • #123 Delete a specific user's session

9.0.2

  • #124 Yar doesn't handle the session cookie multiple times correctly.
  • #122 Do not cast all falsy values to null
  • #121 Falsy values are converted to null

Version 8

8.1.2

  • #110 Fix main in package.json

Version 6

6.1.0

  • #90 add a route level config option to skip yar processing

6.0.0

  • #89 update yar to use request.yar instead of request.session
  • #88 Decorate request with session key

Version 4

4.3.0

  • #83 Option to skip exception on cache error

4.2.0

  • #75 Allow specification of whether to store blank sessions

4.0.0

  • #80 ignore invalid cookies so we don't get 400 errors on servers, which i…
  • #65 "Invalid cookie value" after password change, but OK after refresh!

Version 3

3.0.4

  • #79 Tests are failing

3.0.2

3.0.0

  • #61 Can't install yar from npm
  • #57 hapi 8.0. Closes #56
  • #56 hapi 8.0 API

Version 2

2.4.0

  • #52 properly drop session during session.reset
  • #46 Hapi6
  • #45 Update examples, examples/package.json to use Hapi 6.x
  • #44 Updated readme to match hapi 6.x API
  • #43 Update tests / package.json to use Hapi 6.x
  • #41 errorhandling after cookie password changes

2.1.0

  • #32 Upgrade to Hapi 4.x

2.0.0

  • #29 Replace ttl and store with cache options
  • #28 Update to hapi 3.x

Deploys by Netlify