Skip to content

Releases: fastify/fastify-cors

v11.0.0

27 Feb 06:08
2176d0b
Compare
Choose a tag to compare

Breaking Change

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"
})

What's Changed

  • style: destructure imports by @Fdawgs in #360
  • refactor(index): change default methods to cors-safelisted methods by @Fdawgs in #359

Full Changelog: v10.1.0...v11.0.0

v10.1.0

24 Feb 20:26
v10.1.0
ace0ee3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v10.0.2...v10.1.0

v10.0.2

04 Jan 16:13
v10.0.2
cd695cd
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump fastify/workflows from 5.0.0 to 5.0.1 by @dependabot in #323
  • Update README.md to include Fastify 5 by @a777med in #326
  • build(deps-dev): lock typescript minor version by @Fdawgs in #328
  • chore(deps-dev): bump typescript from 5.4.5 to 5.6.3 by @dependabot in #329
  • docs(readme): fix compatibility table whitespace by @Fdawgs in #333
  • docs(readme): standardize compatibility table style by @Fdawgs in #334
  • style: remove trailing whitespace by @Fdawgs in #335
  • chore(deps-dev): bump typescript from 5.6.3 to 5.7.2 by @dependabot in #339
  • build(deps-dev): replace standard with neostandard by @Fdawgs in #340
  • build(dependabot): remove tap ignore by @Fdawgs in #341
  • ci(ci): sort job params alphabetically ascending by @Fdawgs in #342
  • docs(readme): remove excess whitespace by @Fdawgs in #343
  • chore(package): add funding and contribs by @Fdawgs in #344
  • docs(readme): point ci badge at master/main branch by @Fdawgs in #345
  • docs(readme): update ci badge syntax by @Fdawgs in #346
  • chore(deps-dev): bump neostandard from 0.11.9 to 0.12.0 by @dependabot in #347
  • build(deps-dev): add eslint, peer dep of neostandard by @Fdawgs in #348
  • perf(index): use optional chaining by @Fdawgs in #349
  • refactor: prefix unused params with underscores by @Fdawgs in #350
  • docs(readme): spelling and grammar fixes by @Fdawgs in #351

New Contributors

Full Changelog: v10.0.1...v10.0.2

v10.0.1

22 Sep 09:09
7635ecd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.0.0...v10.0.1

v10.0.0

04 Sep 07:33
a9da1fc
Compare
Choose a tag to compare
v10.0.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v9.0.1...v10.0.0

v9.0.1

31 Jan 15:48
804dd23
Compare
Choose a tag to compare

What's Changed

  • vary origin on delegated options by @laat in #292

New Contributors

  • @laat made their first contribution in #292

Full Changelog: v9.0.0...v9.0.1

v9.0.0

26 Jan 18:18
3cf8f61
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.5.0...v9.0.0

v8.5.0

18 Dec 12:01
5e0e27e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.4.2...v8.5.0

v8.4.2

04 Dec 17:33
ec470fc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.4.1...v8.4.2

v8.4.1

29 Oct 14:37
f75b201
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.4.0...v8.4.1