The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- PHP 8.1 is now supported
- Lumen 9.x is now supported
- PHP 8.0 is now supported
- Lumen 8.x is now supported
- Lumen 7.x is now supported
- CorsService setters are now fluent
- Lumen 6.x is now supported
- Run Travis CI on PHP 7.3 and 7.4 too
- Added basic pattern support for allowed origins
- Document how to override the library for advanced customization
- Exceptions are no longer thrown if the pre-flight request is considered "invalid". All requests will now go through and this library only adds headers to responses where appropriate.
- PHP 7.1 is now required
- Exceptions are no longer thrown if a non pre-flight request comes from a non-allowed origin
- Support for custom callbacks for non-allowed pre-flight requests have been removed
2.1.0 - 2017-02-27
- Do not call closure in CorsMiddleware::handle() before CORS validation in CorsService::handleRequest().
- Update tests.
- Update CHANGELOG.
2.0.1 - 2017-02-20
- Composer lock-file.
- Update CHANGELOG.
2.0.0 - 2017-02-20
- CHANGELOG.md
- Update composer to use lumen-framework 5.4.
- Namespace in CorsService.
1.7.0 - 2017-02-20
- Scrutinizer.
- StyleCI.
- Tests.
- Use Lumen 5.3.
- Travis PHP 5.5 build.
- Nightly builds.
- Issue #13.
- Issue #14.
1.6.0 - 2016-04-14
- Code coverage.
- HHVM from travis CI.
- Travis CI configuration.
1.5.2 - 2016-03-30
- File name for CorsException.
1.5.1 - 2016-03-26
- Proper handling for errors.
- Update README.
- Ditch support for PHP 5.4.
1.5.0 - 2016-03-22
- Exceptions.
- Update README to reflect configuration changes.
- Improved handling of not allowed requests.
- Re-factor CorsService.
- Update tests.
1.4.0 - 2016-03-11
- Contributing information.
- Code climate badges.
- Tests for more PHP versions.
- Tests against all branches.
- Use container-based infrastructure.
- Move CorsMiddleware to source root.
- Configuration parameters to use snake_case.
- Re-factor CorsServiceProvider.
- Check if CORS Class already exists when adding class alias.
1.3.4 - 2015-05-15
- Update README.
1.3.3 - 2015-05-15
- Update README.
1.3.2 - 2015-05-15
- Update README.
- Update composer.
1.3.1 - 2015-05-15
- Missing comments.
1.3.0 - 2015-05-15
- Missing comments.
- HHVM from Travis CI.
1.2.6 - 2015-05-15
- Custom Xdebug configuration.
- Update tests.
1.2.5 - 2015-05-15
- Update tests.
1.2.4 - 2015-05-15
- Update tests.
1.2.3 - 2015-05-15
- Update tests.
1.2.2 - 2015-05-15
- Use shallow clones in tests.
1.2.1 - 2015-05-15
- Update README.
1.2.0 - 2015-05-15
- Keywords to composer.
- Cleanup code in CorsService.
- Re-factor unit tests.
- Update README.
1.1.0 - 2015-05-14
- Keywords to composer.
1.0.0 - 2015-05-14
- Project files.