Opening-hours-py

Latest version: v1.1.2

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.1.2

Rust

- Switch from `sunrise-next` dependency back to `sunrise` as all changes
have been upstreamed.

1.1.1

Rust

- Upgrade to edition 2024

1.1.0

General

- Allow to normalize "canonical" expressions (expressions expressed as simple
intervals over each dimension).
- Weird expressions equivalent to "24/7" should generally be evaluated faster.
- Fixed a lot of bugs. This comes from the fuzzer being super happy of the
addition of a normalization which acts as a sort of concurrent implementation
of the evaluation rules.

Rust

- Add `approx_bound_interval_size` option to context to allow optimizing calls
to `next_change` over long periods of time.

Fixes

- NaN values are now ignored in coordinates inputs.
- Empty expressions are no longer allowed.
- Monthday "0" is no no longer allowed.

1.0.3

Python

- stub: fix variants casing for `State`

1.0.2

Python

- Add auto-generated Python stub file.

1.0.0

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.

General

- Add Easter support

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.