Releases: fastify/fastify-cors
Releases · fastify/fastify-cors
v10.0.1
v10.0.0
What's Changed
- chore(deps): bump mnemonist from 0.39.6 to 0.39.8 by @dependabot in #293
- chore(.gitignore): add .tap/ dir by @Fdawgs in #294
- chore(deps-dev): bump @typescript-eslint/parser from 6.21.0 to 7.1.1 by @dependabot in #298
- chore(deps-dev): bump tsd from 0.30.7 to 0.31.0 by @dependabot in #300
- Warn about DoS attacks by @mcollina in #301
- add AsyncOriginFunction type by @sknetl in #302
- Merge
next
intomaster
by @jsumners in #304 - chore(deps): bump fastify/workflows from 4.1.0 to 4.2.1 by @dependabot in #305
- chore(deps-dev): bump tsd from 0.30.7 to 0.31.1 by @dependabot in #306
- docs(readme): add
options.methods
default by @Fdawgs in #307 - chore(deps-dev): bump @types/node from 20.14.13 to 22.0.0 by @dependabot in #308
- chore: update min fastify version by @Fdawgs in #309
- chore(deps): bump fastify/workflows from 4.2.1 to 5.0.0 by @dependabot in #310
- chore: migrate from tap to node:test and c8 by @dancastillo in #316
New Contributors
- @sknetl made their first contribution in #302
- @dancastillo made their first contribution in #316
Full Changelog: v9.0.1...v10.0.0
v9.0.1
v9.0.0
What's Changed
- chore(deps-dev): bump tsd from 0.29.0 to 0.30.0 by @dependabot in #286
- Add Vary header only for non-static origin option by @saschanaz in #288
New Contributors
- @saschanaz made their first contribution in #288
Full Changelog: v8.5.0...v9.0.0
v8.5.0
What's Changed
- chore(deps): bump mnemonist from 0.39.5 to 0.39.6 by @dependabot in #283
- Revert "fix: support for embedded cors for route params (#278)" by @climba03003 in #285
Full Changelog: v8.4.2...v8.5.0
v8.4.2
What's Changed
- build(dependabot): ignore tap major updates by @Fdawgs in #276
- fix: support for embedded cors for route params by @mohammedSlimani in #278
New Contributors
- @mohammedSlimani made their first contribution in #278
Full Changelog: v8.4.1...v8.4.2
v8.4.1
What's Changed
- Fix type of OriginCallback by @ken-browning in #272
- test: add
u
unicode flag to regex by @Fdawgs in #273 - chore(package): explicitly declare js module type by @Fdawgs in #274
- test(index): replace
typeof
undefined check by @Fdawgs in #275
New Contributors
- @ken-browning made their first contribution in #272
Full Changelog: v8.4.0...v8.4.1
v8.4.0
What's Changed
- fix documentation, onRequest is default lifecycle stage by @Uzlopak in #254
- perf(index): use spread over
Object.assign()
by @Fdawgs in #257 - docs(readme): add plugin compatibility table by @Fdawgs in #258
- test: cors headers sent when payload is stream by @Uzlopak in #260
- Reduce bundle size by @timedtext in #266
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.4.1 by @dependabot in #267
- chore(deps-dev): bump tsd from 0.28.1 to 0.29.0 by @dependabot in #268
- test: use
node:
prefix to bypass require.cache call for builtins by @Fdawgs in #269 - refactor(vary): use word character inside regex character class by @Fdawgs in #270
New Contributors
- @timedtext made their first contribution in #266
Full Changelog: v8.3.0...v8.4.0
v8.3.0
What's Changed
- chore(deps-dev): bump typescript from 4.9.5 to 5.0.2 by @dependabot in #247
- chore(deps-dev): bump tsd from 0.27.0 to 0.28.0 by @dependabot in #248
- ci: only trigger on pushes to main branches by @Fdawgs in #249
- chore(deps-dev): bump @types/node from 18.16.5 to 20.1.0 by @dependabot in #250
- Add
cacheControl
to control caching in CDN by @brettwillis in #252
New Contributors
- @brettwillis made their first contribution in #252
Full Changelog: v8.2.1...v8.3.0
v8.2.1
What's Changed
- chore(deps-dev): bump tsd from 0.24.1 to 0.25.0 by @dependabot in #235
- fix(types): Origin within OriginFunction can be undefined by @joshmeads in #237
- chore(.gitignore): add clinic by @Fdawgs in #239
- chore(.gitignore): add bun lockfile by @Fdawgs in #241
- chore(deps-dev): bump tsd from 0.25.0 to 0.26.0 by @dependabot in #242
- chore(deps-dev): bump tsd from 0.26.1 to 0.27.0 by @dependabot in #245
- add normalizeCorsOptions and handle wildcards in origin parameter by @Uzlopak in #244
New Contributors
- @joshmeads made their first contribution in #237
Full Changelog: v8.2.0...v8.2.1