4.0.0
What's Changed
- Replace
getData()
with readonly property->data
- Added
isAlwaysOpen()
andisAlwaysClosed()
methods - Converted
Day
to anenum
- Made
Time
andTimeRange
readonly - Support OpeningHoursSpecification structured data for creating
OpeningHours
by @ambroisemaupate in #232 - Improve
createFromStructuredData()
by @kylekatarnls in #237 - Update PHPUnit from 10 to 11 and multiple testing tools by @Chris53897 in #246 #245 #244
- Check both start and end to consider a range before/after by @kylekatarnls in #251
- Drop PHP < 8.2
New Contributors
- @ambroisemaupate made their first contribution in #232
- @Chris53897 made their first contribution in #245
Full Changelog: 3.0.0...4.0.0