Skip to content

Latest commit

 

History

History
285 lines (168 loc) · 10.7 KB

CHANGELOG.md

File metadata and controls

285 lines (168 loc) · 10.7 KB

Changelog

3.0.1 (2024-07-06)

Bug Fixes

  • partitioned and autoChips should support different paths (#55) (50b1313)

3.0.0 (2024-06-23)

⚠ BREAKING CHANGES

  • drop Node.js < 18.19.0 support

part of eggjs/egg#3644

Summary by CodeRabbit

  • New Features

  • Introduced comprehensive support for TypeScript in project configurations.

  • Added new cookie management functionalities, including setting, encryption, and validation.

    • Added support for Keygrip class for cryptographic operations.
  • Documentation

  • Updated package name in README files from egg-cookies to @eggjs/cookies.

  • Adjusted code snippets and URLs in documentation to reflect the new package name.

  • Tests

  • Enhanced test suite with additional test cases for cookie encryption, caching, and error handling.

    • Added new test files for Keygrip and cookie functionalities.
  • Chores

    • Updated .gitignore to include new patterns for ignoring files.
  • Improved CI workflow with updated Node.js versions and Codecov token integration.

  • Updated dependencies and scripts in package.json to align with the new package structure and TypeScript support.

Features

  • support cjs and esm both by tshy (#54) (12db545)

2.10.0 (2024-02-19)

Features

2.9.4 (2024-01-05)

Bug Fixes

  • disable autoChips if set cookie with partitioned (#51) (148c61c)

2.9.3 (2024-01-04)

Reverts

  • Revert "fix: only enable autoChips on cross-site request (#49)" (#50) (b0452dd), closes #49 #50

2.9.2 (2024-01-04)

Bug Fixes

  • only enable autoChips on cross-site request (#49) (665a335)

2.9.1 (2024-01-03)

Bug Fixes

  • use _CHIPS- prefix instead of __Host- (#48) (6b5e5be)

2.9.0 (2024-01-03)

Features

  • add autoChips to adaptation CHIPS mode (#47) (38d6408)

2.8.3 (2023-12-28)

Bug Fixes

  • should not set sameSite and CHIPS when secure = false (#45) (33395bf)

2.8.2 (2023-12-28)

Bug Fixes

  • support remove unpartitioned same name cookie first (#44) (b81f041)

2.8.1 (2023-12-27)

Bug Fixes

2.8.0 (2023-12-26)

Features

  • support set partitioned property on Chrome >= 114 (#42) (74325b8)

2.7.1 (2023-08-04)

Bug Fixes

2.7.0 (2023-08-04)

Features


2.6.1 / 2022-06-20

others

2.6.0 / 2022-06-20

features

2.5.0 / 2022-05-02

features

others

2.4.3 / 2022-04-29

fixes

2.4.2 / 2020-06-28

fixes

2.4.1 / 2020-06-28

fixes

2.4.0 / 2020-06-22

features

2.3.4 / 2020-06-12

fixes

2.3.3 / 2020-03-27

fixes

2.3.2 / 2020-02-19

fixes

2.3.1 / 2019-12-17

fixes

2.3.0 / 2019-12-06

features

others

2.2.7 / 2019-04-28

fixes

2.2.6 / 2018-09-07

  • fix: should still support 4, 6 (#16)

2.2.5 / 2018-09-07

  • chore(typings): Remove 'ctx' in EggCookie's declaration and add a missing unit test (#15)

2.2.4 / 2018-09-06

  • fix: public files && deps (#14)

2.2.3 / 2018-09-06

  • chore: adjust some dep && config (#13)
  • test: Add unit tests for ts (#12)
  • chore(typings): Extract 'EggCookies' for TypeScript intellisense (#11)

2.2.2 / 2017-12-14

fixes

others

2.2.1 / 2017-02-22

  • fix: emit on ctx.app (#5)

2.2.0 / 2017-02-21

  • feat: check cookie value's length (#4)
  • feat: support cookie.sameSite (#3)

2.1.0 / 2016-11-22

  • feat: cache keygrip (#2)

2.0.0 / 2016-11-22

  • refactor: rewrite keygrip and cookies for egg/koa (#1)
  • chore: add zh-CN readme

1.0.0 / 2016-07-15

  • init version