Skip to content

v2.0.0

Compare
Choose a tag to compare
@ericsizemore ericsizemore released this 07 Apr 08:55
· 260 commits to develop since this release

2.0.0 - 2024-04-07

Mostly a 'restructuring' release, to set the foundation going forward. See UPGRADING.md for upgrade instructions/overview.

Added

  • Added a new interface for Mapping\Builder -> Interface\BuilderInterface.
  • Added the Override attribute. to the MimeType enum functions getExtension and getValue.
    • Not importing the attribute, as #[\Override] should not cause issues in PHP < 8.3

Changed

  • MimeMappingBuilder and MimeMappingGenerator are now Mapping\Builder and Mapping\Generator.
  • MimeTypeInterface and MimeTypesInterface are now Interface\MimeTypeInterface and Interface\MimeTypesInterface.
  • Updated PHPUnit to 11.1 along with unit tests as a result.
  • Set PHP-CS-Fixer dev dependency to ^3.52.
  • Updated the psalm workflow to use the latest psalm/psalm-github-security-scan and github/codeql-action/upload-sarif.
  • Changed the header of all PHP files to be more compact.
  • Updated CHANGELOG.md to be more in line with the Keep a Changelog format.

Fixed

  • Fix Mapping\Generator::generateMapping()'s use of array_filter to not rely on loose comparison.

Removed

  • Removed jetbrains/phpstorm-attributes as a dependency.
  • Removed Rector from dev-dependencies.

GitHub log

What's Changed

New Contributors

Full Changelog: v1.2.0...v2.0.0