Skip to content

Commit

Permalink
v0.3.35 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Apr 10, 2024
1 parent 9c15ee3 commit 131049e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
23 changes: 22 additions & 1 deletion CHANGELOG.md
Expand Up @@ -6,7 +6,28 @@ The format is based on [Keep a Changelog]. This project adheres to [Semantic Ver

---

## 0.3.34 [2024-12-03]
## 0.3.35 [2024-04-10]

## Added

- `Duration::checked_neg`
- `ext::InstantExt`, which provides methods for using `time::Duration` with `std::time::Instant`

## Changed

- `Instant` is deprecated. It is recommended to use `std::time::Instant` directly, importing
`time::ext::InstantExt` for interoperability with `time::Duration`.
- `FormatItem` has been renamed to `BorrowedFormatItem`, avoiding confusion with `OwnedFormatItem`.
An alias has been added for backwards compatibility.

## Fixed

- The weekday is optional when parsing RFC2822.
- The range of sub-second values in `Duration` is documented correctly. The previous documentation
contained an off-by-one error.
- Leap seconds are now correctly handled when parsing ISO 8601.

## 0.3.34 [2024-02-03]

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -5,7 +5,7 @@ resolver = "2"

[workspace.dependencies]
time-core = { path = "time-core", version = "=0.1.2" }
time-macros = { path = "time-macros", version = "=0.2.17" }
time-macros = { path = "time-macros", version = "=0.2.18" }

criterion = { version = "0.5.1", default-features = false }
deranged = { version = "0.3.9", default-features = false, features = [
Expand Down
2 changes: 1 addition & 1 deletion time-macros/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "time-macros"
version = "0.2.17"
version = "0.2.18"
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
edition = "2021"
rust-version = "1.67.0"
Expand Down
2 changes: 1 addition & 1 deletion time/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "time"
version = "0.3.34"
version = "0.3.35"
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
edition = "2021"
rust-version = "1.67.0"
Expand Down

0 comments on commit 131049e

Please sign in to comment.