Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@ericsizemore ericsizemore released this 23 Apr 04:54
· 110 commits to master since this release

[2.1.0] - 2024-04-23

This release focuses on setting up the future of the library. No new features or functionality has been added in this release.

Added

  • Added mend.io's Renovate to workflow
  • Added Esi\Clock to dependencies, updated Esi\Utility\Dates accordingly.
  • Added a code of conduct.
  • Added a backwards compatibility promise.

Changed

  • Reformatted this CHANGELOG to be more in line with the Keep a Changelog format.
  • Implemented various PHPCS-Fixer recommendations.
  • Updated coding style via .php-cs-fixer.dist.php, and as a result, implemented those changes throughout the library.
  • Changed the header being used for all files to something smaller, and more simple.
  • Bumped version requirement for the PHPUnit dev-dependency to 11.1
  • Updated tests github workflow to add uploading coverage data to Codecov.io
  • Made all utility classes abstract as they never need instantiation.
  • Separate contributing information into its own file.
    • Updated contributing information and guidelines.

Deprecated

The next major release, v3, will move to PHP 8.3 as a minimum requirement.

  • Arrays::flatten()'s current signature and functionality will change in the next major release (v3.0)
  • Arrays::mapDeep()'s current signature and functionality will change in the next major release (v3.0)
    • The functionality of mapping the properties of an object will likely be moved to its own utility class/function.
  • Arrays::validJson() will be removed in the next major release (v3.0)
  • All of the temperature related functions in Conversions:
    • Current signature and functionality deprecated, will be changed in 3.0

Removed

  • Removed deprecated Arrays::exists
  • Removed all instances of @phpstan-ignore-* opting to instead use a baseline for PHPStan (phpstan-baseline.neon)

GitHub Log

What's Changed
  • Configure Renovate by @renovate in #5
  • Update codecov/codecov-action action to v4.1.1 by @renovate in #7
  • Update codecov/codecov-action action to v4.2.0 by @renovate in #8
  • Update dependency phpunit/phpunit to v11.1.1 by @renovate in #9
  • Update codecov/codecov-action action to v4.3.0 by @renovate in #10
  • Update dependency phpunit/phpunit to v11.1.2 by @renovate in #11
  • Update dependency friendsofphp/php-cs-fixer to v3.54.0 by @renovate in #12
New Contributors

Full Changelog: v2.0.0...v2.1.0