Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.6 KB

CHANGELOG.md

File metadata and controls

52 lines (33 loc) · 1.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.2.1 - 2024-06-21

Changed

  • Allow PHP 8.3

1.2.0 - 2023-11-28

Added

  • Clock interface has a sleep() method
  • PsrToOrisaiClockAdapter - makes any PSR clock compatible with Orisai\Clock\Clock
  • SymfonyToOrisaiClockAdapter - makes any symfony/clock compatible with Orisai\Clock\Clock
  • ClockAdapterFactory - chooses best supported adapter for Orisai\Clock\Clock compatibility
  • OrisaiToSymfonyClockAdapter - makes any symfony/clock compatible with Symfony\Component\Clock\ClockInterface
  • FrozenClock - accepts DateTimeInterface as the initial time

Changed

  • FrozenClock - method move() is deprecated, use method sleep() instead

1.1.1 - 2022-12-09

Changed

  • Composer
    • allows PHP 8.2

1.1.0 - 2022-11-25

  • PSR-20 compatibility
    • Clock extends Psr\Clock\ClockInterface

1.0.0 - 2022-08-19

Added

  • Clock interface
    • SystemClock
    • FrozenClock
    • MeasurementClock
  • ClockHolder
  • now() shortcut function