All notable changes to this project will be documented in this file using the Keep a CHANGELOG principles. This project adheres to Semantic Versioning.
TBD
- Changed license to
MIT
. - Increased minimum version of the PHP to v8.2.
- Enable strict mode for all code.
- Migrated from TravisCI to GitHub actions.
- Upgraded PhpUnit to v10.
- Renamed the interface
Exception
toDateRangeException
. - Renamed the class
DateRangeException
toInvalidDateRangeDateRangeException
.
- Added new method
getTimestampInterval
to returns duration in seconds.
- Added
DateRangeProvider
interface and basic providerFiniteDateRangeProvider
. - Added new method
getDateInterval
,getDatePeriod
,split
.
- Rename methods from using
time
otdate
. - Refactored internals.
- Implement
State
pattern to control ranges objects. - Change JSON representation to array instead of string in previous version.
- Remove mutable object, leave only immutable.
- Remove implementation of Serializable interface.
Initial release.