Skip to content

Commit aade4c8

Browse files
Upgrade chrono-tz crate from 0.8 to 0.9 version (#1252)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren <[email protected]>
1 parent 9c4ea32 commit aade4c8

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

juniper/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
66

77

88

9+
## [0.17.0] · 2024-04-?? (unreleased)
10+
[0.17.0]: /../../tree/juniper-v0.17.0/juniper
11+
12+
[Diff](/../../compare/juniper-v0.16.1...juniper-v0.17.0) | [Milestone](/../../milestone/7)
13+
14+
### BC Breaks
15+
16+
- Upgraded [`chrono-tz` crate] integration to [0.9 version](https://github.com/chronotope/chrono-tz/releases/tag/v0.9.0). ([#1252])
17+
18+
[#1252]: /../../pull/1252
19+
20+
21+
22+
923
## [0.16.1] · 2024-04-04
1024
[0.16.1]: /../../tree/juniper-v0.16.1/juniper
1125

juniper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ auto_enums = "0.8"
4747
bigdecimal = { version = "0.4", optional = true }
4848
bson = { version = "2.4", features = ["chrono-0_4"], optional = true }
4949
chrono = { version = "0.4.30", features = ["alloc"], default-features = false, optional = true }
50-
chrono-tz = { version = "0.8", default-features = false, optional = true }
50+
chrono-tz = { version = "0.9", default-features = false, optional = true }
5151
fnv = "1.0.5"
5252
futures = { version = "0.3.22", features = ["alloc"], default-features = false }
5353
graphql-parser = { version = "0.4", optional = true }

juniper/src/integrations/chrono_tz.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,23 +78,23 @@ mod test {
7878
fn forward_slash() {
7979
tz_input_test(
8080
"Abc/Xyz",
81-
Err("Failed to parse `TimeZone`: received invalid timezone"),
81+
Err("Failed to parse `TimeZone`: failed to parse timezone"),
8282
);
8383
}
8484

8585
#[test]
8686
fn number() {
8787
tz_input_test(
8888
"8086",
89-
Err("Failed to parse `TimeZone`: received invalid timezone"),
89+
Err("Failed to parse `TimeZone`: failed to parse timezone"),
9090
);
9191
}
9292

9393
#[test]
9494
fn no_forward_slash() {
9595
tz_input_test(
9696
"AbcXyz",
97-
Err("Failed to parse `TimeZone`: received invalid timezone"),
97+
Err("Failed to parse `TimeZone`: failed to parse timezone"),
9898
);
9999
}
100100
}

0 commit comments

Comments
 (0)