Skip to content

Releases: fruitcake/php-cors

v1.3.0

12 Oct 05:23
3d158f3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

20 Feb 15:07
58571ac
Compare
Choose a tag to compare

Changed

  • Drop support for PHP 7.2/7.3 and legacy Symfony HttpFoundation versions.
  • Used TypedProperties instead of manual validation

v1.1.0

20 Feb 11:20
507d1de
Compare
Choose a tag to compare

Added

  • setOptions() method to overwrite or set the options later.

v1.0.1

19 Feb 17:01
Compare
Choose a tag to compare
  • Refactor internal options for readability

v1.0.0

19 Feb 14:16
a9c5d1e
Compare
Choose a tag to compare

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_origins and allowedOrigins 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

v1.0-beta1

19 Feb 13:32
0060459
Compare
Choose a tag to compare
v1.0-beta1 Pre-release
Pre-release
Update README.md

v1.0-alpha2

19 Feb 11:07
125c6d1
Compare
Choose a tag to compare
v1.0-alpha2 Pre-release
Pre-release
Update README.md

v0.1.2

19 Feb 11:02
bb56f94
Compare
Choose a tag to compare
phpstan level 9 (#4)

v0.1.1: Phpstan level7 (#2)

19 Feb 10:37
277ac8d
Compare
Choose a tag to compare
* 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