Skip to content

Latest commit

 

History

History
290 lines (197 loc) · 10.7 KB

History.md

File metadata and controls

290 lines (197 loc) · 10.7 KB

6.4.0 / 2023-02-04

features

6.3.1 / 2023-01-03

fixes

6.3.0 / 2023-01-03

features

others

6.2.0 / 2021-03-30

features

6.1.0 / 2020-10-08

features

others

  • [f765595] - chore: Create LICENSE File (#195) (Dominic Egginton <[email protected]>) 6.0.0 / 2020-04-26 ==================

fixes

  • [d34fc8e] - fix: RFC6265 compliant default cookie name (#197) (zacanger <[email protected]>)
    • [BREAKING CHANGE]: Default cookie is now koa.sess rather than koa:sess

5.13.1 / 2020-02-01

fixes

5.13.0 / 2020-02-01

features

5.12.3 / 2019-08-23

fixes

5.12.2 / 2019-07-10

fixes

5.12.1 / 2019-07-10

fixes

5.12.0 / 2019-05-17

features

others

5.11.0 / 2019-04-29

features

fixes

others

5.10.1 / 2018-12-18

features

fixes

5.10.0 / 2018-10-29

features

5.9.0 / 2018-08-28

features

5.8.3 / 2018-08-22

fixes

others

5.8.2 / 2018-07-12

fixes

  • [c487944] - fix: Fixes a bug that reset the cookie expire date to the default (1 day) when using browser sessions (maxAge: 'session') (#117) (Adriano <[email protected]>)

others

5.8.1 / 2018-01-17

fixes

5.8.0 / 2018-01-17

features

5.7.1 / 2018-01-11

fixes

5.7.0 / 2018-01-09

features

5.6.0 / 2018-01-09

features

5.5.1 / 2017-11-17

others

5.5.0 / 2017-08-04

features

5.4.0 / 2017-07-03

  • feat: opts.genid (#87)

5.3.0 / 2017-06-17

  • feat: support rolling (#84)

5.2.0 / 2017-06-15

  • feat: support options.ContextStore (#81)

5.1.0 / 2017-06-01

  • Create capability to create cookies that expire when browser is close… (#77)

5.0.0 / 2017-03-12

  • feat: async/await support (#70)

4.0.1 / 2017-03-01

  • fix: ctx.session should be configurable (#67)

4.0.0 / 2017-02-27

  • [BREAKING CHANGE]: Drop support for node < 4.
  • [BREAKING CHANGE]: Internal implementations are changed, so some private API is changed.
    • Change private api session.save(), won't set cookie immediately now.
    • Remove private api session.changed().
    • Remove undocumented property context.sessionKey, can use opts.key instead.
    • Change undocumented property context.sessionOptions to getter.
  • feat: Support external store by pass options.store.
  • feat: Throw when encode session error, consider a breaking change.
  • feat: Clean cookie when decode session throw error, ensure next request won't throw again.
  • fix: Customize options.decode will check expired now
  • docs: Remove Semantics in README because it's not "guest" sessions any more

3.4.0 / 2016-10-15

  • fix: add 'session' name for middleware function (#58)
  • chore(package): update dependencies
  • readme: ignore favicon in example

3.3.1 / 2015-07-08

  • code: fix error in variable referencing

3.3.0 / 2015-07-07

  • custom encode/decode support

3.2.0 / 2015-06-08

  • feat: add opts.valid() and opts.beforeSave() hooks

3.1.1 / 2015-06-04

  • deps: upgrade deep-equal to 1.0.0
  • fix: allow get session property before enter session middleware

3.1.0 / 2014-12-25

  • add session.maxAge
  • set expire in cookie value

3.0.0 / 2014-12-11

  • improve performance by reduce hiddin class on every request
  • refactor with commit() helper
  • refactor error handling with finally statement

2.0.0 / 2014-02-17

  • changed cookies to be base64-encoded (somewhat breaks backwards compatibility)

1.2.1 / 2014-02-04

  • fix saving sessions when a downstream error is thrown

1.2.0 / 2013-12-21

  • remove sid from docs
  • remove uid2 dep
  • change: only save new sessions if populated
  • update to use new middleware signature

1.1.0 / 2013-11-15

  • add change check, removing the need for .save()
  • add sane defaults. Closes #4
  • add session clearing support. Closes #9
  • remove public .save()