Packages

cookie

2.0.2 · 5 Nov 2026MIT346.8M / weekRepositoryHomepagenpmAtom feed

Upgrading cookie From 0.7.2 to 2.0.2

8 releases in betweenevery note read

Reading releases, release notes and advisories…

2
changes to make
0
advisories fixed
6
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking2.0.0
  • Breaking1.0.0

Release by release

  1. 2.0.1 – 2.0.22 releases, nothing new or fixed in the notes

  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

19 other lines we could not sort, mostly version bumps
  • Perf optimize cookie value validation

    2.0.2
  • Small convention cleanups

    2.0.2
  • Reject Expires dates outside cookie year bounds

    2.0.2
  • Reject unsafe-integer maxAge

    2.0.2
  • 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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.