Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1005 Bytes

CHANGELOG.md

File metadata and controls

31 lines (21 loc) · 1005 Bytes

Changelog

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.

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