v2.0.0
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 theMimeType
enum functionsgetExtension
andgetValue
.- Not importing the attribute, as
#[\Override]
should not cause issues in PHP < 8.3
- Not importing the attribute, as
Changed
MimeMappingBuilder
andMimeMappingGenerator
are nowMapping\Builder
andMapping\Generator
.MimeTypeInterface
andMimeTypesInterface
are nowInterface\MimeTypeInterface
andInterface\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 latestpsalm/psalm-github-security-scan
andgithub/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 ofarray_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
- Configure Renovate by @renovate in #29
- Update dependency phpunit/phpunit to v11.0.5 by @renovate in #31
- Update dependency phpunit/phpunit to v11.0.6 by @renovate in #33
- Bump phpunit/phpunit from 11.0.6 to 11.0.8 by @dependabot in #35
- Update dependency phpunit/phpunit to v11.0.9 by @renovate in #34
- Update dependency phpunit/phpunit to v11.1.1 by @renovate in #37
New Contributors
Full Changelog: v1.2.0...v2.0.0