# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## 1.2.0 (2022-02-20) ### Changed - Drop support for PHP 7.2/7.3 and legacy Symfony HttpFoundation versions. - Used TypedProperties instead of manual validation ## 1.1.0 (2022-02-20) ### Added - setOptions() method to overwrite or set the options later. ## 1.0.0 (2020-02-19) ### 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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.git | Folder | 0755 |
|
|
.github | Folder | 0755 |
|
|
src | Folder | 0755 |
|
|
tests | Folder | 0755 |
|
|
.gitattributes | File | 176 B | 0644 |
|
.gitignore | File | 74 B | 0644 |
|
CHANGELOG.md | File | 1.01 KB | 0644 |
|
LICENSE | File | 1.13 KB | 0644 |
|
README.md | File | 4.01 KB | 0644 |
|
composer.json | File | 1.58 KB | 0644 |
|
phpunit.xml.dist | File | 657 B | 0644 |
|