Skip to content

Releases: salesforce/tough-cookie

v6.0.0

14 Aug 19:55
62be1e4

Choose a tag to compare

Summary

Breaking Changes

  • Localhost connections over http will now be considered secure by default. For more information, see the README documentation and API Docs for how to configure this feature.

Other Notable Changes

  • Dual publishing of ESM+CJS

What's Changed

  • Bump globals from 15.14.0 to 16.0.0 by @dependabot[bot] in #504
  • Bump the dev-dependencies group with 10 updates by @dependabot[bot] in #503
  • Bump tldts from 6.1.76 to 6.1.79 in the production-dependencies group by @dependabot[bot] in #502
  • Bump tldts from 6.1.83 to 6.1.85 in the production-dependencies group by @dependabot[bot] in #507
  • Bump the dev-dependencies group with 9 updates by @dependabot[bot] in #508
  • Bump eslint-import-resolver-typescript from 3.8.3 to 4.3.1 by @dependabot[bot] in #509
  • feat: Add RFC 6761–compliant localhost loopback checks so secure cookies work on localhost (fixes: #382) by @Chriss4123 in #498
  • use ESM instead of CJS by @wjhsf in #506
  • Switch from jest to vitest by @wjhsf in #510
  • Bump vite from 6.2.6 to 6.3.4 by @dependabot[bot] in #521
  • Bump the dev-dependencies group with 9 updates by @dependabot[bot] in #522
  • Bump tldts from 6.1.85 to 7.0.5 by @dependabot[bot] in #523
  • Prepare release v6.0.0-rc.0 by @colincasey in #519
  • Bump the dev-dependencies group with 12 updates by @dependabot[bot] in #525
  • Bump tldts from 7.0.5 to 7.0.8 in the production-dependencies group by @dependabot[bot] in #524
  • Create CONTRIBUTING.md by @wjhsf in #526
  • Bump tldts from 7.0.8 to 7.0.9 in the production-dependencies group by @dependabot[bot] in #530
  • chore(deps): bump tldts from 7.0.9 to 7.0.10 in the production-dependencies group by @dependabot[bot] in #532
  • Bump the dev-dependencies group with 12 updates by @dependabot[bot] in #531
  • Reverts the check on the Secure attribute when setting a cookie by @colincasey in #534
  • Prepare release v6.0.0-rc.1 by @colincasey in #535
  • Bump the dev-dependencies group with 8 updates by @dependabot[bot] in #537
  • Support publishing of both ESM and CJS by @colincasey in #536
  • Prepare v6 by @colincasey in #538

New Contributors

Full Changelog: v5.1.2...v6.0.0

v5.1.2

28 Feb 18:26
a2c72ef

Choose a tag to compare

What's Changed

Full Changelog: v5.1.1...v5.1.2

v5.1.1

07 Feb 17:31
2899336

Choose a tag to compare

What's Changed

  • chore: avoid nodejs modules by @wjhsf in #487
  • Bump the dev-dependencies group with 7 updates by @dependabot in #490
  • Bump tldts from 6.1.71 to 6.1.76 in the production-dependencies group by @dependabot in #489
  • Bump eslint-config-prettier from 9.1.0 to 10.0.1 by @dependabot in #491
  • isolated modules and almost isolated declarations by @wjhsf in #486
  • chore: auto-close spam PRs by @wjhsf in #493

Full Changelog: v5.1.0...v5.1.1

v5.1.0

09 Jan 15:36
f27648d

Choose a tag to compare

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
  • revert: use runtime-agnostic domainToASCII by @wjhsf in #480
  • Prepare release v5.1.0 by @colincasey in #484

Full Changelog: v5.0.0...v5.1.0

v5.1.0-rc.0

08 Jan 18:56
b407f60

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

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

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

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

Choose a tag to compare

What's Changed

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

4.1.1

24 Aug 19:42
ec70796

Choose a tag to compare

Patch Release

What's Changed

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