Packages

cookie

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

Upgrading cookie From 0.0.6 to 2.0.1

28 releases in betweennotes for 25

Other targets from 0.0.6Newest 0.x0.7.2Clears its advisory0.7.0
  1. 0.0.6yours
  2. 0.1.0major
  3. 5 releases
  4. 0.2.0major
  5. 4 releases
  6. 0.3.0major
  7. 1 release
  8. 0.4.0major
  9. 2 releases
  10. 0.5.0major
  11. 0.6.0major
  12. 0.7.0major
  13. 2 releases
  14. 1.0.0major
  15. 4 releases
  16. 2.0.0major
  17. 2.0.1target
3+
changes to make
1
advisory fixed
18+
new
7+
fixes

Counted from 25 of 28 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking2.0.0
  • breaking1.0.0
  • breaking0.1.3

Security

Fixes 1 advisory affecting 0.0.6

Release by release

  1. 2.0.1nothing new or fixed in the note

  2. 2.0.0

    Migration needed24 Jun 20262 new
    • breaking

      Remove deprecated code paths (#272)

    • new

      Faster stringify cookie

    • new

      Optimize encode performance (#269)

  3. 1.1.1nothing new or fixed in the note

  4. 1.1.0

    25 Nov 20252 new
    • new

      Add stringifyCookie and parseSetCookie methods (#244, #214)

    • new

      Add side effects field (#245) 00b0327

  5. 1.0.2

    20 Nov 20241 new · 1 fix
    • new

      Add import example to README

    • fixed

      options.priority used incorrect fallback

  6. 1.0.1

    11 Oct 20241 new
    • new

      Allow case insensitive options (#194) 3bed080

  7. 1.0.0

    Migration needed8 Oct 2024
    • breaking

      Breaking changes

  8. 0.7.2

    7 Oct 20241 fix
    • fixed

      Fix object assignment of hasOwnProperty (#177) bc38ffd

21 other lines we could not sort, mostly version bumps
  • Small performance improvement by incrementing = index while parsing set-cookie (#280)

    2.0.1
  • Switch to ESM (#273)

    2.0.0
  • Apply encode to empty cookie values (#277)

    2.0.0
  • Omit leading semicolon when stringifying cookies with skipped values

    2.0.0
  • Overwrite value in passed in options (#253) c66147c

    1.1.1
  • Rename existing methods for clarity (old method names remain for backward compatibility)

    1.1.0
  • Loosen cookie name/value validation

    1.0.2
  • Use modern JS features, ship TypeScript definition (#175) 1cc64ff

    1.0.0
  • Minimum node.js v18

    1.0.0
  • Uses null prototype object for parse return value

    1.0.0