Skip to content

Releases: salesforce/tough-cookie

4.1.0

22 Aug 19:16
79c2f7d

Choose a tag to compare

v4.1.0

Minor release, focused mainly on resolving reported issues and some minor feature work.

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.1.0

Version 4.0.0

19 Mar 22:48
2524513

Choose a tag to compare

Breaking Changes (Major Version)

  • Modernized JS Syntax
    • Use ESLint and Prettier to apply consistent, modern formatting (add dependency on universalify, eslint and prettier)
  • Upgraded version dependencies for psl and async
  • Re-order parameters for findCookies() - callback fn has to be last in order to comply with universalify
  • Use Classes instead of function prototypes to define classes
    • Might break people using .call() to do inheritance using function prototypes

Minor Changes

  • SameSite cookie support
  • Cookie prefix support
  • Support for promises
  • '.local' support
  • Numerous bug fixes!