Releases: spatie/opening-hours
Releases · spatie/opening-hours
4.1.2
4.1.1
What's Changed
- Update implicit nullable by @michaelw85 in #264
New Contributors
- @michaelw85 made their first contribution in #264
Full Changelog: 4.1.0...4.1.1
4.1.0
What's Changed
- Fix
isAlwaysClosed
andisAlwaysOpen
when opening hours contain exceptions by @jordyvanderhaegen in #262
New Contributors
- @jordyvanderhaegen made their first contribution in #262
Full Changelog: 4.0.3...4.1.0
4.0.3
What's Changed
- Fix
nextClose()
result with overflow over night by @kylekatarnls in #259
Full Changelog: 4.0.2...4.0.3
4.0.2
What's Changed
- Handle opening-time with the first minute of day only by @kylekatarnls in #256
Full Changelog: 4.0.1...4.0.2
4.0.1
What's Changed
- Allow date without year in validFrom/validTo structured data
Full Changelog: 4.0.0...4.0.1
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
3.0.0
- Add
Time::date()
method - Add
DateTimeRange
class - Add ranges support via
to
or-
separator - Deprecate
fill()
andsetData()
- Remove
setFilters()
- Drop PHP < 7.4
2.41.0: Cap holidays check to end date when calculating diff
Cap holidays check to end date when calculating diff
2.13.0: Make comparison microsecond-precise
Make comparison microsecond-precise