From aade4c8c7c7bb0eeda6db3fe7d045b4a2dc022bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 15:16:30 +0000 Subject: [PATCH] Upgrade `chrono-tz` crate from 0.8 to 0.9 version (#1252) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren --- juniper/CHANGELOG.md | 14 ++++++++++++++ juniper/Cargo.toml | 2 +- juniper/src/integrations/chrono_tz.rs | 6 +++--- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/juniper/CHANGELOG.md b/juniper/CHANGELOG.md index ebb730e7..588a8b86 100644 --- a/juniper/CHANGELOG.md +++ b/juniper/CHANGELOG.md @@ -6,6 +6,20 @@ All user visible changes to `juniper` crate will be documented in this file. Thi +## [0.17.0] · 2024-04-?? (unreleased) +[0.17.0]: /../../tree/juniper-v0.17.0/juniper + +[Diff](/../../compare/juniper-v0.16.1...juniper-v0.17.0) | [Milestone](/../../milestone/7) + +### BC Breaks + +- Upgraded [`chrono-tz` crate] integration to [0.9 version](https://github.com/chronotope/chrono-tz/releases/tag/v0.9.0). ([#1252]) + +[#1252]: /../../pull/1252 + + + + ## [0.16.1] · 2024-04-04 [0.16.1]: /../../tree/juniper-v0.16.1/juniper diff --git a/juniper/Cargo.toml b/juniper/Cargo.toml index 924e5e39..f191be5e 100644 --- a/juniper/Cargo.toml +++ b/juniper/Cargo.toml @@ -47,7 +47,7 @@ auto_enums = "0.8" bigdecimal = { version = "0.4", optional = true } bson = { version = "2.4", features = ["chrono-0_4"], optional = true } chrono = { version = "0.4.30", features = ["alloc"], default-features = false, optional = true } -chrono-tz = { version = "0.8", default-features = false, optional = true } +chrono-tz = { version = "0.9", default-features = false, optional = true } fnv = "1.0.5" futures = { version = "0.3.22", features = ["alloc"], default-features = false } graphql-parser = { version = "0.4", optional = true } diff --git a/juniper/src/integrations/chrono_tz.rs b/juniper/src/integrations/chrono_tz.rs index 8950f97f..5c30b211 100644 --- a/juniper/src/integrations/chrono_tz.rs +++ b/juniper/src/integrations/chrono_tz.rs @@ -78,7 +78,7 @@ mod test { fn forward_slash() { tz_input_test( "Abc/Xyz", - Err("Failed to parse `TimeZone`: received invalid timezone"), + Err("Failed to parse `TimeZone`: failed to parse timezone"), ); } @@ -86,7 +86,7 @@ mod test { fn number() { tz_input_test( "8086", - Err("Failed to parse `TimeZone`: received invalid timezone"), + Err("Failed to parse `TimeZone`: failed to parse timezone"), ); } @@ -94,7 +94,7 @@ mod test { fn no_forward_slash() { tz_input_test( "AbcXyz", - Err("Failed to parse `TimeZone`: received invalid timezone"), + Err("Failed to parse `TimeZone`: failed to parse timezone"), ); } }