Skip to content

Releases: salesforce/tough-cookie

v5.1.0-rc.0

08 Jan 18:56
b407f60
Compare
Choose a tag to compare
v5.1.0-rc.0 Pre-release
Pre-release

What's Changed

  • Scheduled integration test with jsdom by @colincasey in #450
  • Update README.md by @colincasey in #454
  • fix: remove cookies that expire at epoch time of 0 by @colincasey in #457
  • Restore missing expiryDate method by @colincasey in #459
  • Bump tldts from 6.1.41 to 6.1.48 in the production-dependencies group by @dependabot in #461
  • Bump the dev-dependencies group with 7 updates by @dependabot in #462
  • fix(path-match): avoid parsing path as regex by @wjhsf in #465
  • Bump tldts from 6.1.48 to 6.1.57 in the production-dependencies group by @dependabot in #466
  • Bump the dev-dependencies group with 8 updates by @dependabot in #467
  • Bump tldts from 6.1.57 to 6.1.65 in the production-dependencies group by @dependabot in #468
  • Bump the dev-dependencies group across 1 directory with 8 updates by @dependabot in #471
  • chore: streamline package publishing by @wjhsf in #453
  • Bump the dev-dependencies group across 1 directory with 8 updates by @dependabot in #476
  • Bump tldts from 6.1.65 to 6.1.71 in the production-dependencies group across 1 directory by @dependabot in #478
  • Fix npm token config for publish by @colincasey in #482
  • Give permissions for provenance generation by @colincasey in #483

Full Changelog: v5.0.0...v5.1.0-rc.0

v5.0.0

09 Sep 16:39
7ed1b8a
Compare
Choose a tag to compare

Summary

Breaking Changes

  • We've migrated the project to TypeScript! First-party types are now available.
  • The minimum supported version of node is v18.
  • We no longer provide official support for non-node enviroments.

API Changes

  • We've standardized most of our exposed interfaces to accept both null and undefined and return only undefined.
  • getCookie and getCookies now accept a string or URL as a parameter.
  • We've removed the inspect function in favor of node's util.inspect.custom symbol. Cookies may appear different when logged in non-node environments.

Other Changes

  • Fixed the expiry time not updating when a cookie is updating.
  • Fixed validation errors not getting called in some callbacks.
  • New documentation that is always kept up to date!
  • Performance improvements.

What's Changed

New Contributors

  • ...
Read more

v4.1.4

29 Apr 14:12
Compare
Choose a tag to compare

https://www.npmjs.com/package/tough-cookie/v/4.1.4

What's Changed

New Contributors

Full Changelog: v4.1.3...v4.1.4

4.1.3

05 Jun 17:35
4ff4d29
Compare
Choose a tag to compare

Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the inspect utility is affected by this change, we felt this change was important enough to be pushed into the next patch.

4.1.2 -- Patch and Bugfix Release

25 Aug 18:52
b1a8898
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.1.1...v4.1.2

4.1.1

24 Aug 19:42
ec70796
Compare
Choose a tag to compare

Patch Release

What's Changed

Full Changelog: v4.1.0...v4.1.1

4.1.0

22 Aug 19:16
79c2f7d
Compare
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
Compare
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!