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.
- Drop support for PHP 7.2/7.3 and legacy Symfony HttpFoundation versions.
- Used TypedProperties instead of manual validation
- setOptions() method to overwrite or set the options later.
- Renamed Asm89\Stack namespace to Fruitcake\Cors
- Removed HttpKernel middleware
- Allow underscore options (both
allowed_origins
andallowedOrigins
are allowed) - Support wildcard patterns on AllowedOrigins (eg
https://*.example.com
will be converted to an allowedOriginPattern) - Validate input (so invalid options are caught immediately)
- Bump PHPStan to Level 9
- Ensure 100% Code Coverage