- Fix deployment.
- Add auto-generated Python stub file.
That's not really a huge milestone, but:
- Every "obviously missing things" that I had in mind are implemented now.
- The API proved itself to be quite stable.
- Add easter support
- More robust week selector
- General reorganisation of modules
- Coordinates validation
- Add fuzzing corpus
- Fix missing items in documentation
- Rust 1.83
- Support localization (timezone & coords)
- add default feature log
- add optional feature auto-country
- add optional feature auto-timezone
- Add the
opening_hours.State
type. - Updated to latest maturin's workflow, which should ship precompiled binaries for more older Python version in the future.
- Support localization (timezone & coords)
- Add exception types
ParserError
andUnknownCountryError
- Fix #56:
expressions with no date filter (eg.
00:30-05:30
) may be considered as always closed.
- Holidays database from nager.date.
- Some support for public holidays.
- Replace all panicking functions with faillible ones.
OpeningHours
now implementsFromStr
.CompactCalendar
is no longer bounded.- Added
Context
, which will later be extended to handle localization info. - Added module
country
. - Better documentation converage.
- Got rid of
unsafe
used inOpeningHours.intervals
implementation. - The iterator returned by
OpeningHours.intervals
can be moved between threads.
- Fix #52: intervals were stopping at midnight before the last day.
- Python's Linux binary build were not uploading
- Rust crate couldn't publish
- Emit some logs when parsing unsupported syntax.
- Basic support for stringifying
OpeningHours
- Implement
__repr__
,__str__
,__hash__
and__eq__
- Upgrade to PyO3 0.22 (from 0.19) which natively supports datetime conversions
- Most crashing edge cases have been removed (through
.expect()
removal and fuzzing) - Monthday & Time ambiguity has been fixed for parser (eg. "Oct 12:00-24:00")