diff --git a/CHANGELOG.md b/CHANGELOG.md index 4afeb39c..58b6f41c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update the arbitrary fuzzer to check arbitrary serde data types, values, and `ron::ser::PrettyConfig`s ([#465](https://github.com/ron-rs/ron/pull/465)) - Add a benchmark for PRs that runs over the latest fuzzer corpus ([#465](https://github.com/ron-rs/ron/pull/465)) - Fuzz serde enum representation and flatten attributes and collect current limitations in ron and serde ([#502](https://github.com/ron-rs/ron/pull/502)) +- Update `base64` dependency to version 0.22 ([#529](https://github.com/ron-rs/ron/pull/529)) ## [0.8.1] - 2023-08-17 diff --git a/Cargo.toml b/Cargo.toml index 25cd7379..a28a9889 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ integer128 = [] [dependencies] # FIXME @juntyr remove base64 once old byte strings are fully deprecated -base64 = "0.21" +base64 = "0.22" bitflags = { version = "2.0", features = ["serde"] } indexmap = { version = "2.0", features = ["serde"], optional = true } # serde supports i128/u128 from 1.0.60 onwards diff --git a/tests/438_rusty_byte_strings.rs b/tests/438_rusty_byte_strings.rs index 1205afe1..1a02446f 100644 --- a/tests/438_rusty_byte_strings.rs +++ b/tests/438_rusty_byte_strings.rs @@ -72,7 +72,7 @@ fn v_9_deprecated_base64_bytes_support() { // Too much padding assert_eq!( Err(SpannedError { - code: Error::Base64Error(base64::DecodeError::InvalidLength), + code: Error::Base64Error(base64::DecodeError::InvalidByte(6, b'=')), position: Position { line: 1, col: 45 } }), ron::from_str::("BytesStruct( small:[1, 2], large:\"AQIDBA===\" )"),