Skip to content

Releases: curveball/session

v0.6.0

02 Feb 21:32
f3a207a
Compare
Choose a tag to compare
  • Major BC break: session information is now stored in ctx.session instead of
    ctx.state.session.
  • Adding features for CSRF token generation and checking: ctx.getCsrf and
    ctx.validateCsrf.
  • Typescript target is now es2019 instead of esnext to ensure that older
    Node.js versions are supported.
  • Switched to eslint.

v0.5.0

22 Jan 23:58
Compare
Choose a tag to compare
  • Changed the default setting for SameSite to Lax.

v0.4.2

06 Jan 01:34
66db78c
Compare
Choose a tag to compare
  • Allow installation on Curveball 0.10.

v0.4.1

06 Jan 01:23
1d35a89
Compare
Choose a tag to compare
  • Allow 'sameSite' to be set to cookieOptions.

v0.4.0

06 Jan 01:23
11f7719
Compare
Choose a tag to compare
  • Allow cookieOptions to be overridden.
  • Curveball is now a peerDependency

v0.3.3

06 Jan 01:23
2d94356
Compare
Choose a tag to compare
  • Update to Curveball 0.9 API.

v0.3.2

06 Jan 01:24
9088de4
Compare
Choose a tag to compare
  • Stricter typescript errors.

v0.3.1

06 Jan 01:24
Compare
Choose a tag to compare
  • Update to latest dependencies.

v0.3.0

06 Jan 01:26
dffde32
Compare
Choose a tag to compare
  • Updated to latest Curveball API.

v0.2.0

06 Jan 01:32
Compare
Choose a tag to compare
  • Expire sessions.
  • Add garbage collector to MemoryStore.
  • BC break: Now uses ctx.state.session and ctx.state.sessionId instead of
    ctx.state.session.data and ctx.state.session.id.