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.
- The
cors
alias is no longer added by default. Use the full class or add the alias yourself. - The Lumen ServiceProvider has been removed. Both Laravel and Lumen should use
Barryvdh\Cors\ServiceProvider::class
. Barryvdh\Cors\Stack\CorsService
moves to\Barryvdh\Cors\CorsService
(namespace changed).Barryvdh\Cors@addActualRequestHeaders
will automatically attached when Exception occured.
- Better error-handling when exceptions occur.
- A lot of tests, also on older Laravel versions.