Packages

cookie

2.0.1 · 30 Jun 2026MIT314.8M / weekRepositoryHomepagenpmAtom feed

Upgrading cookie From 0.1.0 to 0.7.0

18 releases in betweennotes for 16

Other targets from 0.1.0Newest 0.x0.7.2Latest2.0.1
  1. 0.1.0yours
  2. 2 releases
  3. 0.1.3breaking
  4. 2 releases
  5. 0.2.0major
  6. 4 releases
  7. 0.3.0major
  8. 1 release
  9. 0.4.0major
  10. 2 releases
  11. 0.5.0major
  12. 0.6.0major
  13. 0.7.0target
1+
change to make
1
advisory fixed
10+
new
5+
fixes

Counted from 16 of 18 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking0.1.3

Security

Fixes 1 advisory affecting 0.1.0

Release by release

  1. 0.7.0

    2 Oct 20241 new
    • new

      Parse cookies ~10% faster

  2. 0.6.0

    7 Nov 20231 new
    • new

      Add partitioned option

  3. 0.5.0

    11 Apr 20221 new
    • new

      Add priority option

  4. 0.4.2nothing new or fixed in the note

  5. 0.4.1

    22 Apr 20201 fix
    • fixed

      Fix maxAge option to reject invalid values

  6. 0.4.0

    16 May 20191 new
    • new

      Add SameSite=None support

  7. 0.3.1

    27 May 20161 fix
    • fixed

      Fix sameSite: true to work with draft-7 clients

  8. 0.3.0

    27 May 20161 new
    • new

      Add sameSite option

6 other lines we could not sort, mostly version bumps
  • pref: Read value only when assigning in parse

    0.4.2
  • Improve error message when encode is not a function

    0.3.0
  • Improve error message when expires is not a Date

    0.3.0
  • Throw on invalid values provided to serialize

    0.2.1
  • Throw better error for invalid argument to parse

    0.2.0
  • Reduce the scope of try-catch deopt

    0.1.3