All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
asm89/stack-cors 2.x is now used, with these notable changes:
paths option to match your routescamelCase to snake_case, please update your own config.cors config in Lumen.paths option is added to match certain routes only, while still using global middleware. This allows for better error handling.allowedOriginPatterns for your own patterns,
or simple wildcards in the normal origins. Eg. *.laravel.com should still work.cors alias is no longer added by default. Use the full class or add the alias yourself.Barryvdh\Cors\ServiceProvider::class.Barryvdh\Cors\Stack\CorsService moves to \Barryvdh\Cors\CorsService (namespace changed).Barryvdh\Cors@addActualRequestHeaders will automatically attached when Exception occured.