Releases: fastify/session
Releases · fastify/session
v10.6.0
What's Changed
- perf: use
node:
prefix to bypass require.cache call for builtins by @Fdawgs in #210 - chore: add
.gitattributes
file by @Fdawgs in #212 - perf(lib/fastifysession): optimize split param by @Fdawgs in #214
- chore(package): explicitly declare js module type by @Fdawgs in #217
- Added documentation for import of modules w/ declaration merging by @VIEWVIEWVIEW in #220
- Updated import as per redis-connect docs by @maxt41 in #219
- export cookie types by @gurgunday in #221
New Contributors
- @VIEWVIEWVIEW made their first contribution in #220
- @maxt41 made their first contribution in #219
- @gurgunday made their first contribution in #221
Full Changelog: v10.5.0...v10.6.0
v10.5.0
What's Changed
- build(deps-dev): bump @fastify/cookie from 8.3.0 to 9.0.4 by @dependabot in #205
- chore: update redis example by @zanechua in #207
- build(deps-dev): bump tsd from 0.28.1 to 0.29.0 by @dependabot in #208
- fix: remove cookie.expires from shouldSaveSession evaluation logic by @tomoakiichige in #209
New Contributors
- @zanechua made their first contribution in #207
- @tomoakiichige made their first contribution in #209
Full Changelog: v10.4.0...v10.5.0
v10.4.0
v10.3.1
What's Changed
- ci: only trigger on pushes to main branches by @Fdawgs in #198
- build(deps-dev): bump @types/node from 18.16.5 to 20.1.0 by @dependabot in #199
- fix: manually persisting the session should make
isModified
return false by @SimenB in #201
Full Changelog: v10.3.0...v10.3.1
v10.3.0
What's Changed
- build(deps-dev): bump sinon from 13.0.2 to 14.0.0 by @dependabot in #88
- update to Fastify v4 by @mcollina in #89
- feat: Update benchmark. by @ShogunPanda in #91
- ci: migrate to fastify reusable workflow by @Fdawgs in #90
- build(deps-dev): bump fastify-cookie from 5.6.1 to 5.7.0 by @dependabot in #92
- docs(readme): remove snyk badge by @Fdawgs in #93
- chore(.gitignore): use updated skeleton template by @Fdawgs in #96
- build(deps-dev): bump @types/node from 17.0.45 to 18.0.0 by @dependabot in #97
- build(deps-dev): bump tsd from 0.20.0 to 0.21.0 by @dependabot in #98
- build(deps-dev): bump tsd from 0.21.0 to 0.22.0 by @dependabot in #102
- style(types/types.test-d.ts): explicitly declare semicolon by @Fdawgs in #103
- refactor: use optional chaining by @Fdawgs in #104
- build(deps): bump fastify-plugin from 3.0.1 to 4.0.0 by @dependabot in #105
- remove metadata.js by @Uzlopak in #107
- separate lint from npm test script, activate lint and license-check in ci pipeline by @Uzlopak in #108
- refactor unit tests, replace ava with tap, remove undici and typescript as devDependencies by @Uzlopak in #109
- move benchmark to corresponding folder, slim it down by @Uzlopak in #110
- tap should only run test.js files by @Uzlopak in #115
- Clean up tests by @rclmenezes in #117
- Add missing documentation for README.md by @rclmenezes in #116
- Simplify shouldSaveSession code a little bit by @rclmenezes in #119
- Move
expires
from session to session.cookies by @rclmenezes in #120 - refactor store to es6 class by @Uzlopak in #122
- simplify callback typing by @Uzlopak in #124
- Add cookiePrefix as an option to allow for compatibility with express-session by @rclmenezes in #113
- perf: improve idgenerator (about 25-30 % faster) by @Uzlopak in #123
- chore: remove addDataToSession by @Uzlopak in #127
- add autocannon example by @Uzlopak in #128
- feat: use @fastify/cookie-signer-logic for signing and unsigning by @Uzlopak in #129
- move signer require into ensureDefaults by @Uzlopak in #130
- fix unit test by @Uzlopak in #132
- fix lgtm alert by @Uzlopak in #133
- Remove session id round 4 by @rclmenezes in #134
- simplify getExpires, export getExpires from cookie by @Uzlopak in #135
- remove internal used session restore() function by @Uzlopak in #136
- Revert "refactor store to es6 class" by @Uzlopak in #138
- remove sinon as dev dependency by @Uzlopak in #139
- add redis example by @Uzlopak in #142
- add pre-commit by @Uzlopak in #145
- add unit test for maxAge by @Uzlopak in #144
- create a separate unit test file for memorystore by @Uzlopak in #150
- rename secret.test.js to fastifySession.checkOptions.test.js and refactor it by @Uzlopak in #151
- prevent encryptedSessionId from being stored in the sessionStore by @Uzlopak in #143
- use maxAge over expires by @Uzlopak in #152
- build(deps-dev): bump tsd from 0.22.0 to 0.23.0 by @dependabot in #153
- Resave session cookie if saveUninitialized is false and rolling is true by @rclmenezes in #149
- rename session to fastifySession by @Uzlopak in #160
- Make it possible to call save() in decryptSession by @Uzlopak in #161
- Implement originalMaxAge by @Uzlopak in #162
- Remove deprecation notice for fastify-Instance decryptSession by @shrihari-prakash in #164
- add typings for decryptSession by @Uzlopak in #165
- simplify cookie handling by @Uzlopak in #166
- minor cosmetic change by @Uzlopak in #167
- ensure that secure false is not overwritten by null by @Uzlopak in #168
- security: verify path of cookie/session by @Uzlopak in #169
- build(deps-dev): bump tsd from 0.23.0 to 0.24.1 by @dependabot in #171
- Little remark fastify-cookie -> @fastify/cookie by @Luchanso in #172
- fix rolling location in doc by @HPieters in #175
- fix: set domain when clearing cookie by @TheWashiba in #174
- fix: align cookie implementation with express-session by @climba03003 in #177
- nodenext compatibility by @Uzlopak in #178
- build(deps-dev): bump tsd from 0.24.1 to 0.25.0 by @dependabot in #179
- types: fix Session interface reference by @FabianFrank in #182
- chore(.gitignore): add clinic by @Fdawgs in #183
- chore(.gitignore): add bun lockfile by @Fdawgs in #185
- build(deps-dev): bump connect-redis from 6.1.3 to 7.0.0 by @dependabot in #186
- build(deps-dev): bump tsd from 0.25.0 to 0.27.0 by @dependabot in #187
- build(deps-dev): bump tsd from 0.27.0 to 0.28.0 by @dependabot in #188
- fix: express session type compatibility by @ojeytonwilliams in #190
- feat: add ignoreFields option to regenerate method by @RafaelGSS in #189
- fix: separate an actual path from url search part before verification by @ohchi in #192
- fix: lint by @Eomm in #195
- feat!: stricter types by @climba03003 in #196
New Contributors
- @mcollina made their first contribution in #89
- @ShogunPanda made their first contribution in #91
- @Uzlopak made their first contribution in #107
- @rclmenezes made their first contribution in #117
- @shrihari-prakash made their first contribution in #164
- @Luchanso made their first contribution in #172
- @HPieters made their first contribution in #175
- @TheWashiba made their first contribution in #174
- @FabianFrank made their first contribution in #182
- @ojeytonwilliams made their first contribution in #190
- @RafaelGSS made their first contribution in #189
- @ohchi made their first contribution in #192
- @Eomm made their first contribution in #195
Full Changelog: v8.3.0...v10.3.0
v8.3.0
What's Changed
- backport: regenerate session by @marco-ippolito in #197
New Contributors
- @marco-ippolito made their first contribution in #197
Full Changelog: v8.2.0...v8.3.0
v10.2.1
v10.2.0
What's Changed
- chore(.gitignore): add clinic by @Fdawgs in #183
- chore(.gitignore): add bun lockfile by @Fdawgs in #185
- build(deps-dev): bump connect-redis from 6.1.3 to 7.0.0 by @dependabot in #186
- build(deps-dev): bump tsd from 0.25.0 to 0.27.0 by @dependabot in #187
- build(deps-dev): bump tsd from 0.27.0 to 0.28.0 by @dependabot in #188
- fix: express session type compatibility by @ojeytonwilliams in #190
- feat: add ignoreFields option to regenerate method by @RafaelGSS in #189
New Contributors
- @ojeytonwilliams made their first contribution in #190
- @RafaelGSS made their first contribution in #189
Full Changelog: v10.1.1...v10.2.0
v10.1.1
What's Changed
- build(deps-dev): bump tsd from 0.24.1 to 0.25.0 by @dependabot in #179
- types: fix Session interface reference by @FabianFrank in #182
New Contributors
- @FabianFrank made their first contribution in #182
Full Changelog: v10.1.0...v10.1.1