NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4618 most downloaded on npm
Fastify CORS
Last release 2 months ago
08 Jul 2026
Release timing varies
gaps range from 3 weeks to 7 months
Nearly every release is documented
notes for 22 of 22 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
24 releases · first in 2022
One column per quarter.
chore(deps-dev): bump @types/node from 24.10.4 to 25.0.3 by @dependabot[bot] in https://github.com/fastify/fastify-cors/pull/390
Full Changelog: https://github.com/fastify/fastify-cors/compare/v11.2.0...v11.3.0
chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 by @dependabot[bot] in https://github.com/fastify/fastify-cors/pull/379
Full Changelog: https://github.com/fastify/fastify-cors/compare/v11.1.0...v11.2.0
docs(readme): update version by @udhayakumarcp in https://github.com/fastify/fastify-cors/pull/367
preflight option by @inyourtime in https://github.com/fastify/fastify-cors/pull/378logLevel option to silence CORS preflight logs by @gulbaki in https://github.com/fastify/fastify-cors/pull/375Full Changelog: https://github.com/fastify/fastify-cors/compare/v11.0.1...v11.1.0
chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 by @dependabot in https://github.com/fastify/fastify-cors/pull/362
Full Changelog: https://github.com/fastify/fastify-cors/compare/v11.0.0...v11.0.1
In order to provides safer default, we change the methods to the CORS-safelisted methods. If you want to resume the previous behaviour, you need to ex
In order to provides safer default, we change the methods to the CORS-safelisted methods.
If you want to resume the previous behaviour, you need to explicitly specify the methods,
import Fastify from 'fastify'
import cors from '@fastify/cors'
const fastify = Fastify()
await fastify.register(cors, {
methods: "GET,HEAD,PUT,PATCH,POST,DELETE"
})
methods to cors-safelisted methods by @Fdawgs in https://github.com/fastify/fastify-cors/pull/359Full Changelog: https://github.com/fastify/fastify-cors/compare/v10.1.0...v11.0.0
refactor(vary): remove redundant assignment by @Fdawgs in https://github.com/fastify/fastify-cors/pull/352
Full Changelog: https://github.com/fastify/fastify-cors/compare/v10.0.2...v10.1.0
chore(deps): bump fastify/workflows from 5.0.0 to 5.0.1 by @dependabot in https://github.com/fastify/fastify-cors/pull/323
Full Changelog: https://github.com/fastify/fastify-cors/compare/v10.0.1...v10.0.2
chore: update fastify to ^5.0.0 by @Fdawgs in https://github.com/fastify/fastify-cors/pull/319
Full Changelog: https://github.com/fastify/fastify-cors/compare/v10.0.0...v10.0.1
chore(deps): bump mnemonist from 0.39.6 to 0.39.8 by @dependabot in https://github.com/fastify/fastify-cors/pull/293
next into master by @jsumners in https://github.com/fastify/fastify-cors/pull/304options.methods default by @Fdawgs in https://github.com/fastify/fastify-cors/pull/307Full Changelog: https://github.com/fastify/fastify-cors/compare/v9.0.1...v10.0.0
Nothing published for this version
Nothing published for this version
vary origin on delegated options by @laat in https://github.com/fastify/fastify-cors/pull/292
Full Changelog: https://github.com/fastify/fastify-cors/compare/v9.0.0...v9.0.1
chore(deps-dev): bump tsd from 0.29.0 to 0.30.0 by @dependabot in https://github.com/fastify/fastify-cors/pull/286
Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.5.0...v9.0.0
chore(deps): bump mnemonist from 0.39.5 to 0.39.6 by @dependabot in https://github.com/fastify/fastify-cors/pull/283
Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.4.2...v8.5.0
build(dependabot): ignore tap major updates by @Fdawgs in https://github.com/fastify/fastify-cors/pull/276
Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.4.1...v8.4.2
Fix type of OriginCallback by @ken-browning in https://github.com/fastify/fastify-cors/pull/272
u unicode flag to regex by @Fdawgs in https://github.com/fastify/fastify-cors/pull/273typeof undefined check by @Fdawgs in https://github.com/fastify/fastify-cors/pull/275Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.4.0...v8.4.1
fix documentation, onRequest is default lifecycle stage by @Uzlopak in https://github.com/fastify/fastify-cors/pull/254
Object.assign() by @Fdawgs in https://github.com/fastify/fastify-cors/pull/257node: prefix to bypass require.cache call for builtins by @Fdawgs in https://github.com/fastify/fastify-cors/pull/269Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.3.0...v8.4.0
chore(deps-dev): bump typescript from 4.9.5 to 5.0.2 by @dependabot in https://github.com/fastify/fastify-cors/pull/247
cacheControl to control caching in CDN by @brettwillis in https://github.com/fastify/fastify-cors/pull/252Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.2.1...v8.3.0
chore(deps-dev): bump tsd from 0.24.1 to 0.25.0 by @dependabot in https://github.com/fastify/fastify-cors/pull/235
Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.2.0...v8.2.1
chore(deps): bump mnemonist from 0.39.4 to 0.39.5 by @dependabot in https://github.com/fastify/fastify-cors/pull/233
Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.1.1...v8.2.0
chore: replace use of deprecated variadic listen() by @Fdawgs in https://github.com/fastify/fastify-cors/pull/218
listen() by @Fdawgs in https://github.com/fastify/fastify-cors/pull/218nodenext compatible by @SuperchupuDev in https://github.com/fastify/fastify-cors/pull/224Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.1.0...v8.1.1
docs: update link to fastify 1.x compatible version by @is2ei in https://github.com/fastify/fastify-cors/pull/202
origin example by @christian-bromann in https://github.com/fastify/fastify-cors/pull/204Full Changelog: https://github.com/fastify/fastify-cors/compare/v8.0.0...v8.1.0
docs: update references to old fastify-* modules by @Fdawgs in https://github.com/fastify/fastify-cors/pull/199
Full Changelog: https://github.com/fastify/fastify-cors/compare/v7.0.0...v8.0.0
chore(deps): bump actions/setup-node from 2 to 3 by @dependabot in https://github.com/fastify/fastify-cors/pull/190
Full Changelog: https://github.com/fastify/fastify-cors/compare/v6.0.3...v7.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →