Releases: michealroberts/nitro-cors
Releases · michealroberts/nitro-cors
v0.7.1
What's Changed
Small improvements mainly around the es module type exports with thanks to @ikexing-cn !
Chores
- chore: Upgraded vite => 4.4.9 & vitest => 0.34.4 for workspace. by @michealroberts in #11
- chore: fix es module type export by @ikexing-cn in #12
Documentation
- docs: Updated README.md with acknowledgements. by @michealroberts in #10
New Contributors
Thank you to @ikexing-cn for their first contribution to the project! 🚀
- @ikexing-cn made their first contribution in #12
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
Features
- feat: Added onRequestCORSMiddleware() middleware utility. by @michealroberts in #8
Refactors
- refactor: Upgraded to h3 => v1.8.0 dependency in nitro-cors. by @michealroberts in #6
Documentation
- docs: Updated README.md with onRequestCORSMiddleware() middleware utility usage. by @michealroberts in #9
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
Refactors
- refactor: Amended defineCORSEventHandler nitro event handler. by @michealroberts in #5
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
Refactors
- refactor: Amended useCORS() internal utility. by @michealroberts in #4
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Full Changelog: v0.3.0...v0.4.0
Documentation
- docs: Updated README.md to include middleware usage example.
v0.3.0
What's Changed
Features
- feat: Added sendNoContent(event, options.preflight.statusCode) to preflight request in useCORS() utility. by @michealroberts in #3
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
Features
- feat: Added corsEventHandler() nitro event handler. by @michealroberts in #2
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's Changed
Features
- feat: Added defineCORSEventHandler() nitro event handler. by @michealroberts in #1
New Contributors
- @michealroberts made their first contribution in #1
Full Changelog: https://github.com/michealroberts/nitro-cors/commits/v0.1.0