Skip to content

Releases: fastify/fastify-cors

v6.0.3

23 Feb 08:02
Compare
Choose a tag to compare

What's Changed

  • fix example by @Eomm in #155
  • docs: fix origin checking examples by @azu in #185
  • Fix 'isRequestOriginAllowed' returns mixed results when regex is used by @Tom-Brouwer in #152

New Contributors

Full Changelog: v6.0.2...v6.0.3

v6.0.2

14 Jul 07:52
Compare
Choose a tag to compare

📚 PR:

  • chore(deps-dev): bump tsd from 0.14.0 to 0.15.0 (#131)
  • chore(deps): bump actions/checkout from 2 to 2.3.4 (#132)
  • chore(deps): bump fastify/github-action-merge-dependabot (#133)
  • chore(deps-dev): bump tsd from 0.15.1 to 0.16.0 (#134)
  • chore(deps): bump fastify/github-action-merge-dependabot (#135)
  • chore(deps-dev): bump tsd from 0.16.0 to 0.17.0 (#136)
  • chore(deps): bump actions/setup-node from 2.1.5 to 2.2.0 (#138)
  • chore(deps): bump fastify/github-action-merge-dependabot (#139)
  • chore(deps-dev): bump @types/node from 15.14.1 to 16.0.0 (#140)
  • fix hide options route by default (#142)

v6.0.1

07 May 10:04
Compare
Choose a tag to compare

📚 PR:

  • fix: cors options pass by promise (#130)

v6.0.0

29 Apr 08:55
Compare
Choose a tag to compare
  • chore: update docs and ci (#108)
  • chore(deps): bump fastify/github-action-merge-dependabot (#109)
  • docs(readme): grammatical fixes (#111)
  • chore(deps): bump actions/setup-node from v2.1.4 to v2.1.5 (#112)
  • chore(deps): bump fastify/github-action-merge-dependabot (#113)
  • chore(deps): bump fastify/github-action-merge-dependabot (#114)
  • chore(gitignore): use latest github ignore template (#115)
  • ci: add matrix.os array to test on other os (#117)
  • feat: move to tap15 (#121)
  • ci: remove redundant conditional (#122)
  • Update README.md (#123)
  • chore(deps-dev): bump @types/node from 14.14.42 to 15.0.0 (#125)
  • ci: add nodejs v16 to test matrix (#126)
  • feat: do no write header in case of non validation (#128)

v5.2.0

25 Jan 07:41
Compare
Choose a tag to compare

📚 PR:

  • feat: support configuring CORS asynchronously (#107)

v5.1.0

09 Dec 13:17
Compare
Choose a tag to compare

📚 PR:

  • chore(deps-dev): bump tsd from 0.13.1 to 0.14.0
  • Merge pull request #104 from fastify/dependabot/npm_and_yarn/tsd-0.14.0
  • Stricter options (#101)
  • fix: preflight response from hook (#103)

v5.0.0

22 Nov 11:17
Compare
Choose a tag to compare
  • Fix Fastify version typo in README (#76)
  • Export originCallback and originFunction (#64)
  • test: test for access-control-request-headers scenario (#77) (#80)
  • test: test for array and regex origin options (#77) (#81)
  • test: full code coverage (#77) (#82)
  • feat: add stale (#90)
  • Mention maxAge is in seconds (#94)
  • feat: Strict preflight with handler (#96)
  • chore: add dependabot automerge (#100)
  • chore: refactor for clarity (#99)

v4.1.0

19 Jul 08:16
Compare
Choose a tag to compare

📚 PR:

  • Bumped [email protected]
  • Bumped fastify
  • Bump @types/node from 13.13.6 to 14.0.1 (#69)
  • Bump @typescript-eslint/eslint-plugin from 2.34.0 to 3.0.1 (#71)
  • Bump @typescript-eslint/parser from 2.34.0 to 3.0.1 (#72)
  • Bump tsd from 0.11.0 to 0.12.0 (#74)
  • Bump tsd from 0.12.1 to 0.13.1 (#75)
  • Fix Fastify version typo in README (#76)
  • Export originCallback and originFunction (#64)

v4.0.0

05 May 11:03
Compare
Choose a tag to compare

📚 PR:

  • Fix dependabot
  • Added taprc
  • Fixed readme instructions for multiple branches
  • Update fastify to v3 (#65)
  • Bump @types/node from 12.12.37 to 13.13.4 (#67)
  • Bump tap from 12.7.0 to 14.10.7 (#68)

v3.0.3

28 Mar 14:50
Compare
Choose a tag to compare

📚 PR:

  • add http2 server support on TypeScript type definition (#60)