Releases: Lendable/clock
Releases · Lendable/clock
2.2.1
2.2.0
What's Changed
Functionality
- Add a ticking mock clock implementation by @ben-challis in #384
- Provide PSR-20 implementation by @mateuszsip in #388
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
- @mateuszsip made their first contribution in #388
Full Changelog: 2.1.0...2.2.0
2.1.0
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
- @mannion007 made their first contribution in #51
- @marmichalski made their first contribution in #228
Full Changelog: 2.0.0...2.1.0
2.0.0
What’s Changed
- [BC Break] Add new
Date
class and provide exposure fromClock
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
This library is now open source! 🎉
What’s Changed
- Swap license key to MIT (#15, #16) @ben-challis
- Introduced GitHub Actions (#14) @ben-challis
- General cleanup and modernization prior to open sourcing (#10, #11, #12 , #13) @ben-challis
1.0.0
0.1.2
0.1.1
0.1.0
Tidy up composer.json file (#3)