Releases: fruitcake/php-cors
Releases · fruitcake/php-cors
v1.4.0
What's Changed
- Test PHP8.3 by @barryvdh in #20
- Test against php 8.4 by @sergiy-petrov in #30
- Check multiple Vary headers when existing by @barryvdh in #32
- Bump phpstan to 2.x and level up to 10 by @barryvdh in #33
- Test against php 8.5 by @sergiy-petrov in #36
- Allow Symfony v8 by @jnoordsij in #38
- Update to squizlabs/php_codesniffer v4 by @jnoordsij in #37
- Fix tests deprecation triggered on PHP 8.5 by @jnoordsij in #39
New Contributors
- @sergiy-petrov made their first contribution in #30
- @jnoordsij made their first contribution in #38
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- Test on 8.2 by @barryvdh in #14
- Add supports for Symfony 7 by @crynobone in #19
New Contributors
- @crynobone made their first contribution in #19
Full Changelog: v1.2.0...v1.3.0
v1.2.0
v1.1.0
v1.0.1
v1.0.0
Version 1.0
Changed since split from asm89/stack-cors
- Renamed Asm89\Stack namespace to Fruitcake\Cors
- Removed HttpKernel middleware
New Features
- Allow underscore options (both
allowed_originsandallowedOriginsare allowed) - Support wildcard patterns on AllowedOrigins (eg
https://*.example.comwill be converted to an allowedOriginPattern) - Validate input (so invalid options are caught immediately)
- Bump PHPStan to Level 9
- Ensure 100% Code Coverage
v1.0-beta1
Update README.md
v1.0-alpha2
Update README.md
v0.1.2
v0.1.1: Phpstan level7 (#2)
* Simplify array structure * Remove array merges in favor of explicit options * Split allowAll options * Tweak array type * Revert "Tweak array type" This reverts commit 4738baf14e10d5654f63e87fedaffc76347f9158. * Add explicit cast * Skip check on lowest symfony 4 * Skip check on lowest symfony 4 * Skip check on lowest symfony 4 * SKip * SKip