Releases: Okanjo/okanjo-app-server-session
Releases · Okanjo/okanjo-app-server-session
v3.1.0
v3.0.0
Breaking: No longer supports callback registration
Supports Node v16, Hapi v20
v2.1.0
- Added
request.session.startWithId(sid, data, callback)
alternative for starting sessions
v2.0.0
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
, exceptpassword
has been removed,cache
andreport
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
Initial public release after 7 internal releases