3.0.1 (2024-07-06)
3.0.0 (2024-06-23)
- drop Node.js < 18.19.0 support
part of eggjs/egg#3644
-
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.
- Added support for
-
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.
- Added new test files for
-
Chores
- Updated
.gitignore
to include new patterns for ignoring files.
- Updated
-
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.
2.10.0 (2024-02-19)
2.9.4 (2024-01-05)
2.9.3 (2024-01-04)
2.9.2 (2024-01-04)
2.9.1 (2024-01-03)
2.9.0 (2024-01-03)
2.8.3 (2023-12-28)
2.8.2 (2023-12-28)
2.8.1 (2023-12-27)
2.8.0 (2023-12-26)
2.7.1 (2023-08-04)
- domain can be empty string (#39) (0b285e1), closes /github.com/eggjs/egg-cookies/pull/38#discussion_r1284672929
2.7.0 (2023-08-04)
others
- [
ebe330e
] - 🐛 FIX: Avoid ReDoS (#36) (fengmk2 <fengmk2@gmail.com>)
features
- [
7ed0ded
] - feat: deprecated crypto api (#35) (吖猩 <whxaxes@gmail.com>)
features
- [
7377d3b
] - feat: add CookieError (#31) (图南 <xzj15859722542@hotmail.com>)
others
- [
d27be06
] - 🤖 TEST: Run on node 18 (#34) (fengmk2 <fengmk2@gmail.com>) - [
9e770ee
] - Create codeql-analysis.yml (fengmk2 <fengmk2@gmail.com>) - [
eff0195
] - chore: update build status badge (#33) (XiaoRui <xiangwu619@gmail.com>)
fixes
- [
c8c42d3
] - fix: should only update .sig once (#32) (TZ | 天猪 <atian25@qq.com>)
fixes
- [
a72fd0c
] - fix: ignore maxAge = 0 (#29) (Yiyu He <dead_horse@qq.com>)
fixes
- [
7a87cc1
] - fix: ignore invalid maxage (#28) (Yiyu He <dead_horse@qq.com>)
features
- [
4417dda
] - feat: Sendmax-age
header as well asexpires
if it is set(#27) (Junyan <yancoding@gmail.com>)
fixes
- [
a146191
] - fix(typings): value of set method should support null type (#21) (Jedmeng <roy.urey@gmail.com>)
fixes
- [
b3f86c0
] - fix(SameSite): don't send SameSite=None on non-secure context (#26) (Eric Zhang <hixyeric@gmail.com>)
fixes
- [
c6e1e74
] - fix: don't send SameSite=None on Chromium/Chrome < 80.x (#25) (fengmk2 <fengmk2@gmail.com>)
fixes
- [
d4f443a
] - fix: don't set samesite=none on incompatible clients (#23) (fengmk2 <fengmk2@gmail.com>)
features
- [
d5e3d21
] - feat: support SameSite=None (#18) (ziyunfei <446240525@qq.com>) - [
4dd74d2
] - feat: allow set default cookie options on top level (#22) (fengmk2 <fengmk2@gmail.com>)
others
- [
57a005f
] - chore: add license decoration (#20) (刘放 <brizer@users.noreply.github.com>)
fixes
- [
64e93e9
] - fix: empty cookie value should ignore maxAge (#17) (fengmk2 <fengmk2@gmail.com>)
- fix: should still support 4, 6 (#16)
- chore(typings): Remove 'ctx' in EggCookie's declaration and add a missing unit test (#15)
- fix: public files && deps (#14)
- chore: adjust some dep && config (#13)
- test: Add unit tests for ts (#12)
- chore(typings): Extract 'EggCookies' for TypeScript intellisense (#11)
fixes
- [
d199238
] - fix: don't modify options (#9) (Roc Gao <ggjqzjgp103@qq.com>)
others
- [
1037873
] - chore: jsdoc typo (#6) (TZ | 天猪 <atian25@qq.com>)
- fix: emit on ctx.app (#5)
- feat: check cookie value's length (#4)
- feat: support cookie.sameSite (#3)
- feat: cache keygrip (#2)
- refactor: rewrite keygrip and cookies for egg/koa (#1)
- chore: add zh-CN readme
- init version