Hifitime

Latest version: v4.0.0

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

Scan your dependencies

Page 1 of 3

4.0.0

_This update is not merely an iteration, but a redesign in how time scale are handled in hifitime, fixing nanosecond rounding errors, and improving the Python user experience. Refer to the [blog post](https://nyxspace.com/blog/2024/10/17/hifitime-version-400-a-leap-forward-in-time-management/?utm_source=gh-release) for details. As of version 4.0.0, Hifitime is licensed under the Mozilla Public License version 2, refer to [discussion #274](https://github.com/nyx-space/hifitime/discussions/274) for details._

Breaking changes

* Refactor epoch to keep time in its own time scale by gwbres and ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/280
* Duration serde now human readable + Display of Epoch is now Gregorian in its initialization time scale by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/299
* Improve error handling (switching to `snafu`) by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/300
* Breaking change: renamed Julian date constants and removed other Julian date constants by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/307
* Minimum Support Rust Version (MSRV) bumped to 1.77.0

_Note:_ as of version 4.0.0, dependency updates will increment the minor version.

New features / improvements

* Support exceptions in Python by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/301
* Add Python regression test for 249 by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/305
* MJD/JDE UTC fix + `to_time_scale` now available in Python by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/332
* Add Python datetime interop by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/333
* Add autogenerated Kani harnesses by cvick32 in https://github.com/nyx-space/hifitime/pull/316
* Kani autogen follow on by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/318


Bug fixes

* Fix bug in `to_gregorian_str` by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/308
* Fix conversion to Gregorian by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/303
* Rename `EpochError` to `HifitimeError` and add exception testing by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/315
* Prevent rounding of the GNSS from nanoseconds initializers by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/319
* Fix ceil with zero duration by cardigan1008 in https://github.com/nyx-space/hifitime/pull/323
* Fix token exceed in from_str() by cardigan1008 in https://github.com/nyx-space/hifitime/pull/324


The main change in this refactoring is that `Epoch`s now keep the time in their own time scales. This greatly simplifies conversion between time scales, and ensures that all computations happen in the same time scale as the initialization time scale, then no sub-nanosecond rounding error could be introduced.

Maintenance

* Removed der dependency by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/297
* Refactor epochrs as a module by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/298
* 4.0.0 dev gh 237 by gwbres in https://github.com/nyx-space/hifitime/pull/289
* Introduce doc_cfg and mark ut1 within ut1 crate feature by gwbres in https://github.com/nyx-space/hifitime/pull/321
* Update pyo3 requirement from 0.21.1 to 0.22.0 by dependabot in https://github.com/nyx-space/hifitime/pull/312
* Update tabled requirement from 0.15.0 to 0.16.0 by dependabot in https://github.com/nyx-space/hifitime/pull/325
* Update lexical-core requirement from 0.8.5 to 1.0.1 by dependabot in https://github.com/nyx-space/hifitime/pull/330

4.0.0beta

New features / improvements

* MJD/JDE UTC fix + `to_time_scale` now available in Python by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/332
* Add Python datetime interop by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/333
* Add autogenerated Kani harnesses by cvick32 in https://github.com/nyx-space/hifitime/pull/316
* Introduce doc_cfg and mark ut1 within ut1 crate feature by gwbres in https://github.com/nyx-space/hifitime/pull/321
* Kani autogen follow on by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/318

Bug fixes

* Rename `EpochError` to `HifitimeError` and add exception testing by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/315
* Prevent rounding of the GNSS from nanoseconds initializers by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/319
* Fix ceil with zero duration by cardigan1008 in https://github.com/nyx-space/hifitime/pull/323
* Fix token exceed in from_str() by cardigan1008 in https://github.com/nyx-space/hifitime/pull/324

Maintenance

* Update pyo3 requirement from 0.21.1 to 0.22.0 by dependabot in https://github.com/nyx-space/hifitime/pull/312
* Update tabled requirement from 0.15.0 to 0.16.0 by dependabot in https://github.com/nyx-space/hifitime/pull/325
* Update lexical-core requirement from 0.8.5 to 1.0.1 by dependabot in https://github.com/nyx-space/hifitime/pull/330

New Contributors
* cvick32 made their first contribution in https://github.com/nyx-space/hifitime/pull/316

**Full Changelog**: https://github.com/nyx-space/hifitime/compare/4.0.0-alpha...4.0.0-beta

4.0.0alpha

The main change in this refactoring is that `Epoch`s now keep the time in their own time scales. This greatly simplifies conversion between time scales, and ensures that all computations happen in the same time scale as the initialization time scale, then no sub-nanosecond rounding error could be introduced.

What's Changed
* 4.0.0 dev gh 237 by gwbres in https://github.com/nyx-space/hifitime/pull/289
* Refactor epoch to keep time in its own time scale by gwbres and ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/280
* Removed der dependency by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/297
* Refactor epochrs as a module by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/298
* Duration serde now human readable + Display of Epoch is now Gregorian in its initialization time scale by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/299
* Improve error handling by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/300
* Support exceptions in Python by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/301
* Fix conversion to Gregorian by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/303
* Add Python regression test for 249 by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/305
* Breaking change: renamed Julian date constants and removed other Julian date constants by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/307
* Fix bug in `to_gregorian_str` by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/308
* Update pyo3 requirement from 0.21.1 to 0.22.0 by dependabot in https://github.com/nyx-space/hifitime/pull/309
* Revert "Update pyo3 requirement from 0.21.1 to 0.22.0" by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/310


**Full Changelog**: https://github.com/nyx-space/hifitime/compare/3.10.0...4.0.0-alpha

3.10.0

What's next?
This is probably the last release of version 3.x. There's a fair amount of small bugs here and there in 3.x, and these aren't trivial to fix. The architecture changes introduced by gwbres and I for the development of 4.x should fix all of those in one go.

Also, version 4.0 will likely switch to the Mozilla Public License from Apache 2: if you have concerns about this, please head over to https://github.com/nyx-space/hifitime/discussions/274 to voice them. From the user point of view, there should be absolutely no change, even if you're selling code that uses an unmodified version of Hifitime.

Naming error

This release is published as `4.0.0-dev` on crates.io and `4.0.0.dev0` on PyPi. This was a mistake. It should have been `3.10.0`. That's probably for the better though since it introduces one breaking change. Version 4.0.0 will introduce several breaking changes and a new architecture.

What's Changed
* support qzss time scale by gwbres in https://github.com/nyx-space/hifitime/pull/228
* Update 4.0.0-dev to latest master by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/243
* Integrate 3.8.6 into 4.0.0-dev by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/264
* BREAKING CHANGE: 4.0.0-dev branch become 3.10.0 by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/277
* Draft: replace std::time:SystemTime with web_time::SystemTime by karpfediem in https://github.com/nyx-space/hifitime/pull/279
* Update reqwest requirement from 0.11 to 0.12 by dependabot in https://github.com/nyx-space/hifitime/pull/286
* Fix panic caused by arithmetic overflow by cardigan1008 in https://github.com/nyx-space/hifitime/pull/283
* Fix panic caused by array out of bounds by cardigan1008 in https://github.com/nyx-space/hifitime/pull/284
* Fix panic caused by unwrap by cardigan1008 in https://github.com/nyx-space/hifitime/pull/285

New Contributors
* karpfediem made their first contribution in https://github.com/nyx-space/hifitime/pull/279
* cardigan1008 made their first contribution in https://github.com/nyx-space/hifitime/pull/283

**Full Changelog**: https://github.com/nyx-space/hifitime/compare/3.9.0...3.10.0

3.9.0

What's Changed
* Relax UNIX test + release 3.8.6 by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/266
* Introduce %y formatter by gwbres in https://github.com/nyx-space/hifitime/pull/268
* Update tabled requirement from 0.14.0 to 0.15.0 by dependabot in https://github.com/nyx-space/hifitime/pull/269
* Update der requirement from 0.6.1 to 0.7.8 by dependabot in https://github.com/nyx-space/hifitime/pull/252
* [Maybe breaking change] Fix day of year computation by ChristopherRabotin in https://github.com/nyx-space/hifitime/pull/273
* docs(fix): fixed reversed description of duration magnitude by ethanmsl in https://github.com/nyx-space/hifitime/pull/271

New Contributors
* ethanmsl made their first contribution in https://github.com/nyx-space/hifitime/pull/271

**Full Changelog**: https://github.com/nyx-space/hifitime/compare/3.8.6...3.9.0

3.8.6

What's Changed
* Adds support for using hifitime in WASM targets by thomasantony in https://github.com/nyx-space/hifitime/pull/262

New Contributors
* thomasantony made their first contribution in https://github.com/nyx-space/hifitime/pull/262

**Full Changelog**: https://github.com/nyx-space/hifitime/compare/3.8.5...3.8.6

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.