Skip to content

Releases: Lendable/clock

2.2.1

03 Dec 14:12
dcfe541
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.2.1

2.2.0

02 Dec 13:29
ddd1487
Compare
Choose a tag to compare

What's Changed

Functionality

Quality

  • Add infection for mutation testing, various cleanups of the test suite and improve test coverage by @ben-challis in #313
  • Use composer audit over local-php-security-checker by @ben-challis in #316
  • Use ramsey/composer-install for composer dependency version management in CI matrix by @ben-challis in #317
  • Fix missing codeCoverageIgnore annotation, move construction to single line for Date VO by @ben-challis in #382
  • Check code style only with locked dependencies by @marmichalski in #387
  • Update README to fix URI to PSR-20 meta and specify it's PSR number by @ben-challis in #389

New Contributors

Full Changelog: 2.1.0...2.2.0

2.1.0

24 May 07:15
d3277ee
Compare
Choose a tag to compare

What’s Changed

  • Internal CI / code quality improvements (#65, #78, #90, #92, #103, #105, #139, #263)
  • Improve assertions around type of data deserialized from persisted state (#261)
  • Add support for offsetting a Date by a number of days (#258)
  • Upgraded for and require PHP 8.0 (#91)
  • Run CI against PHP 8.1 (#119)
  • Fix wrong TestCase import in DateTest (#104)

Breaking Changes

The class DateTimeNormalizer has been removed. This class was intended to be internal and not covered by a backwards compatibility guarantee. As PHP >=8.0 is now required, the built in \DateTime|Immutable::createFromInterface() is available to provide this functionality.

New Contributors

Full Changelog: 2.0.0...2.1.0

2.0.0

30 Jul 13:03
f96fd80
Compare
Choose a tag to compare

What’s Changed

  • [BC Break] Add new Date class and provide exposure from Clock interface (#46) @Sam-Burns
  • Remove logic for bad implementations of \DateTimeInterface as it's impossible (#33) @ben-challis
  • Introduce locked dependencies to the CI matrix, enable dependabot for all dependencies (#19) @ben-challis
  • Document reasoning for library existing, caveat lack of global mocking (#17) @ben-challis

1.1.0

24 Jun 14:43
d8a29a1
Compare
Choose a tag to compare

This library is now open source! 🎉

What’s Changed

1.0.0

05 Feb 14:37
Compare
Choose a tag to compare

Using semantic versioning from now on

0.1.2

06 Nov 14:14
Compare
Choose a tag to compare

Changed

  • Use PHP 7.3 native functionality for converting between mutable/immutable conditionally on runtime version (#7 )

0.1.1

12 Sep 10:41
Compare
Choose a tag to compare

Added

  • CI pipeline (#6)
  • mutable instances API (#4)

Fixed

  • README error (#5)

0.1.0

21 Feb 14:22
2e665d8
Compare
Choose a tag to compare
Tidy up composer.json file (#3)