Skip to content

Commit 131049e

Browse files
committed
v0.3.35 release
1 parent 9c15ee3 commit 131049e

File tree

5 files changed

+27
-6
lines changed

5 files changed

+27
-6
lines changed

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,28 @@ The format is based on [Keep a Changelog]. This project adheres to [Semantic Ver
66

77
---
88

9-
## 0.3.34 [2024-12-03]
9+
## 0.3.35 [2024-04-10]
10+
11+
## Added
12+
13+
- `Duration::checked_neg`
14+
- `ext::InstantExt`, which provides methods for using `time::Duration` with `std::time::Instant`
15+
16+
## Changed
17+
18+
- `Instant` is deprecated. It is recommended to use `std::time::Instant` directly, importing
19+
`time::ext::InstantExt` for interoperability with `time::Duration`.
20+
- `FormatItem` has been renamed to `BorrowedFormatItem`, avoiding confusion with `OwnedFormatItem`.
21+
An alias has been added for backwards compatibility.
22+
23+
## Fixed
24+
25+
- The weekday is optional when parsing RFC2822.
26+
- The range of sub-second values in `Duration` is documented correctly. The previous documentation
27+
contained an off-by-one error.
28+
- Leap seconds are now correctly handled when parsing ISO 8601.
29+
30+
## 0.3.34 [2024-02-03]
1031

1132
### Fixed
1233

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resolver = "2"
55

66
[workspace.dependencies]
77
time-core = { path = "time-core", version = "=0.1.2" }
8-
time-macros = { path = "time-macros", version = "=0.2.17" }
8+
time-macros = { path = "time-macros", version = "=0.2.18" }
99

1010
criterion = { version = "0.5.1", default-features = false }
1111
deranged = { version = "0.3.9", default-features = false, features = [

time-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "time-macros"
3-
version = "0.2.17"
3+
version = "0.2.18"
44
authors = ["Jacob Pratt <[email protected]>", "Time contributors"]
55
edition = "2021"
66
rust-version = "1.67.0"

time/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "time"
3-
version = "0.3.34"
3+
version = "0.3.35"
44
authors = ["Jacob Pratt <[email protected]>", "Time contributors"]
55
edition = "2021"
66
rust-version = "1.67.0"

0 commit comments

Comments
 (0)