Releases: salesforce/tough-cookie
Releases · salesforce/tough-cookie
Version 4.0.0
Breaking Changes (Major Version)
- Modernized JS Syntax
- Use ESLint and Prettier to apply consistent, modern formatting (add dependency on
universalify
,eslint
andprettier
)
- Use ESLint and Prettier to apply consistent, modern formatting (add dependency on
- Upgraded version dependencies for
psl
andasync
- Re-order parameters for
findCookies()
- callback fn has to be last in order to comply withuniversalify
- Use Classes instead of function prototypes to define classes
- Might break people using
.call()
to do inheritance using function prototypes
- Might break people using
Minor Changes
- SameSite cookie support
- Cookie prefix support
- Support for promises
- '.local' support
- Numerous bug fixes!