History.md 9.9 KB

6.2.0 / 2021-03-30

features

  • [7cde341] - feat: add session.externalKey (#207) (Yiyu He <>)
  • 6.1.0 / 2020-10-08

    features

    others

    fixes

    • [d34fc8e] - fix: RFC6265 compliant default cookie name (#197) (zacanger <zac@zacanger.com>)
      • [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

    • [c23bab4] - fix: remvoe unused code (dead-horse <>)
    • 5.12.1 / 2019-07-10

      fixes

      • [77968e3] - fix: ensure ctx.session always has value (dead-horse <>)
      • 5.12.0 / 2019-05-17

        features

        others

        • [3d57a44] - docs: add genid(ctx) in readme (dead-horse <>)
        • 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 <adrianocola@gmail.com>)

          others

          5.8.1 / 2018-01-17

          fixes

          • [bdb4fd4] - fix: ensure store expired after cookie (dead-horse <>)
          • 5.8.0 / 2018-01-17

            features

            • [bb5f4bf] - feat: support opts.renew (#111) (Yiyu He <>)
            • 5.7.1 / 2018-01-11

              fixes

              • [72fa5fe] - fix: emit event in next tick (dead-horse <>)
              • 5.7.0 / 2018-01-09

                features

                • [a2401c8] - feat: emit event expose ctx (dead-horse <>)
                • 5.6.0 / 2018-01-09

                  features

                  • [f00c1ef] - feat: emit events when session invalid (#108) (Yiyu He <>)
                  • 5.5.1 / 2017-11-17

                    others

                    • [b976b10] - perf: no need to assign opts (#103) (Yiyu He <>)
                    • [c040b59] - chore: fix example bug and use syntactic sugar (#97) (Runrioter Wung <runrioter@gmail.com>)
                    • [906277a] - docs: copyediting (#85) (Nate Silva <natesilva@users.noreply.github.com>)
                    • 5.5.0 / 2017-08-04

                      features

                      • [ec88cfb] - feat: support options.prefix for external store (#93) (Yiyu He <>)
                      • 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()