This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
Releases: fruitcake/laravel-cors
Releases · fruitcake/laravel-cors
v3.0 Use fruitcake/php-cors
Use the new fruitcake/php-cors stand-alone version instead of asm89/stack-cors. See https://github.com/fruitcake/php-cors/releases/tag/v1.0.0 for more information
v2.2.0: Revert "Remove fallback"
v2.1.0
Use the new fruitcake/php-cors stand-alone version instead of asm89/stack-cors. See https://github.com/fruitcake/php-cors/releases/tag/v1.0.0 for more information
Support Laravel 9
Allow Symfony 6 / Laravel 9 (#540) * Allow Symfony 6 * Update composer.json * Test Laravel 9 * Update composer.json
Register event listener in boot()
To avoid memory leaks with Octane (#469)
Support Laravel 9
v2.0.3 Update composer.json (#507)
Support Laravel 8
Add support for Laravel 8, drop unsupported versions.
Use reflective headers/methods
Uses v2.0.1 of stack-cors, re-enables reflective headers instead of wildcards.
v2.0
v2.0 (2020-05-11)
asm89/stack-cors 2.x is now used, with these notable changes:
Added
- CORS headers are better cachable now, with correct Vary headers (#asm89/stack-cors#70, #asm89/stack-cors#74)
Changed
- CORS headers are added to non-Origin requests when possible (#asm89/stack-cors#73)
- Requests are no longer blocked by the server, only by the browser (#asm89/stack-cors#70)
Add headers with Event Listener
[2.x] Add event listener (#450) * Test with append/prepend middleware * Add eventlistener