Skip to content

v1.0.0

Compare
Choose a tag to compare
@blakeembrey blakeembrey released this 08 Oct 22:29
· 6 commits to master since this release
c69cef6

Breaking changes

  • Use modern JS features, ship TypeScript definition (#175) 1cc64ff
    • Adds __esModule marker, imports need to use import { parse, serialize } or import * as cookie
  • Minimum node.js v18
  • Uses null prototype object for parse return value
  • Changes strict and priority to match the lower case strings (i.e. low, not LOW or Low)
  • Require maxAge to be an integer using Number.isInteger check
  • Delegates decode implementation details to decode option (i.e. error handling and quote parsing is defined by decode)
  • Improve arg/option error messages (#162) e206fd5 @MaoShizhong

Other

v0.7.2...v1.0.0