Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.18 KB

CHANGELOG.md

File metadata and controls

36 lines (25 loc) · 1.18 KB

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.3.0 (2024-10-12)

Added

  • Test on 8.2 by @barryvdh in #14
  • Add supports for Symfony 7 by @crynobone in #19

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