Skip to content

Releases: Okanjo/okanjo-app-server-session

v3.1.0

22 Mar 16:34
Compare
Choose a tag to compare

Updated all dependencies to latest

v3.0.0

22 Mar 16:33
Compare
Choose a tag to compare

Breaking: No longer supports callback registration

Supports Node v16, Hapi v20

v2.1.0

20 May 16:58
Compare
Choose a tag to compare
  • Added request.session.startWithId(sid, data, callback) alternative for starting sessions

v2.0.0

14 Mar 17:29
Compare
Choose a tag to compare

Hapi 17+ Support!

  • Rewrote plugin using hapi-auth-cookie as base code (again)
  • Decoupled plugin from Okanjo-App, no longer needed as a dependency
  • Updated eslint/npm/travis configs
  • SessionPlugin exports a register function, making it easy to register to an OkanjoServer instance.
  • SessionCookiePlugin contains the full plugin implementation, usable with Hapi directly
  • Updated tests, retrofitting and adding new tests for coverage
  • Updated example app
  • Updated docs
  • Ditched yarn

Breaking Changes

  • Plugin registration has changed. Use SessionPlugin.register(...) instead.
  • Configuration has changed. It matches hapi-auth-cookie, except password has been removed, cache and report have been added.
  • request.session interface has changed to use async functions (returns promises). They optionally take a callback for some backwards compatibility.

v1.0.0

28 Nov 23:24
Compare
Choose a tag to compare

Initial public release after 7 internal releases