File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,31 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1818## Maintenance
1919
2020## Documentation -->
21+ # [ 0.15.2] ( https://crates.io/crates/apollo-smith/0.15.2 ) - 2025-11-10
22+
23+ ## Fixes
24+ - ** Return arbitrary::Error::IncorrectFormat for unsupported floats- [ tninesling] , [ pull/1005] **
25+ When generating floats for GraphQL documents, we were naively unwrapping the
26+ conversion from ` f64 ` to ` serde_json::Number ` . This would panic when
27+ ` arbitrary ` returned ` f64::INFINITY ` of ` f64::NAN ` because the ` Number `
28+ conversion only works when its input is finite. In this case, the underlying
29+ bytes used to generate the value are considered to be in an invalid format.
30+ So, we return ` arbitrary::Error::IncorrectFormat ` to tell fuzzers to use a
31+ different seed in the future.
32+
33+ [ tninesling ] : https://github.com/tninesling
34+ [ pull/1005 ] : https://github.com/apollographql/apollo-rs/pull/1005
35+
36+ ## Maintenance
37+ - ** Apply new clippy rules from Rust 1.90 - [ goto-bus-stop] , [ pull/1001] **
38+
39+ [ goto-bus-stop ] : https://github.com/goto-bus-stop
40+ [ pull/1001 ] : https://github.com/apollographql/apollo-rs/pull/1001
41+
42+ - ** bump minimum arbitrary version - [ goto-bus-stop] , [ pull/1007] **
43+
44+ [ goto-bus-stop ] : https://github.com/goto-bus-stop
45+ [ pull/1007 ] : https://github.com/apollographql/apollo-rs/pull/1007
2146
2247# [ 0.15.1] ( https://crates.io/crates/apollo-smith/0.15.1 ) - 2025-08-08
2348
Original file line number Diff line number Diff line change 11[package ]
22name = " apollo-smith"
3- version = " 0.15.1 " # When bumping, also update README.md
3+ version = " 0.15.2 " # When bumping, also update README.md
44edition = " 2021"
55authors = [
" Benjamin Coenen <[email protected] >" ]
66license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ and add `apollo-smith` to your Cargo.toml:
5050# # fuzz/Cargo.toml
5151
5252[dependencies ]
53- apollo-smith = " 0.15.1 "
53+ apollo-smith = " 0.15.2 "
5454```
5555
5656It can then be used in a ` fuzz_target ` along with the [ ` arbitrary ` ] crate,
You can’t perform that action at this time.
0 commit comments