Skip to content

v1.0.0

Compare
Choose a tag to compare
@barryvdh barryvdh released this 19 Feb 14:16
· 17 commits to main since this release
a9c5d1e

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