Skip to content

Releases: fastify/fastify-cors

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 fastify@3.0.0-rc.4
  • 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)

v3.0.2

18 Feb 20:43
Compare
Choose a tag to compare

📚 PR:

  • fix: allow originCallback null param in TypeScript (#58)

v3.0.1

18 Feb 20:41
Compare
Choose a tag to compare
  • refactor(types) Tweaked the TypeScript definitions to allow for regex and strings to be mixed in an array, and in fact allowed the full range of what "origin" could actually handle (i.e. nested arrays, and/or an array that has a boolean at some point). (#50)

v3.0.0

22 Nov 21:55
Compare
Choose a tag to compare

📚 PR:

  • feat: always set Vary: Origin header (#45)

v2.2.0

10 Nov 22:24
Compare
Choose a tag to compare

📚 PR:

  • chore(package): update standard to version 14.0.2
  • ignore tap (#27)
  • update standard typescript plugins (#30)
  • chore(package): update standard to version 14.0.2 (#37)
  • Updated fastify and fixed broken tests (#39)
  • hide options route from the documentation built using fastify-swagger (#42)
  • chore(package): update @typescript-eslint/parser to version 2.0.0 (#35)
  • chore(package): update @types/node to version 12.12.7 (#43)

v1.0.1

26 Feb 17:20
Compare
Choose a tag to compare
  • Clarify docs about fastify v1 usage