Update Rust crate serde_json to 1.0.87 - autoclosed #5

Closed
kjuulh wants to merge 1 commits from renovate/serde_json-1.x into main
Owner

This PR contains the following updates:

Package Type Update Change
serde_json dependencies patch 1.0.44 -> 1.0.87

Release Notes

serde-rs/json

v1.0.87

  • Add write_i128 and write_u128 methods to serde_json::Formatter to control the formatting of 128-bit integers (#​940, thanks @​Lucretiel)

v1.0.86

v1.0.85

  • Make Display for Number produce the same representation as serializing (#​919)

v1.0.84

  • Make Debug impl of serde_json::Value more compact (#​918)

v1.0.83

  • Add categories to crates.io metadata

v1.0.82

v1.0.81

  • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#​885, thanks @​cuviper)

v1.0.80

  • Documentation improvements

v1.0.79

  • Allow RawValue deserialization to propagate \u escapes for unmatched surrogates, which can later by deserialized to Vec<u8> (#​830, thanks @​lucacasonato)

v1.0.78

  • Support deserializing as &RawValue in map key position, which would previously fail with "invalid type: newtype struct" (#​851)

v1.0.77

  • Include discord invite links in the published readme
  • Improve compile error on compiling with neither std nor alloc feature enabled
  • Include integration tests in published package (#​578)

v1.0.76

  • Fix a build error when features raw_value and alloc are enabled while std is disabled (#​850)

v1.0.75

  • Fix deserialization of small integers in arbitrary_precision mode (#​845)

v1.0.74

  • Allow creating RawValues from references to unsized values (#​841, thanks @​EFanZh)

v1.0.73

  • Update itoa dependency to 1.0

v1.0.72

v1.0.71

v1.0.70

v1.0.69

v1.0.68

Compare Source

  • Preserve negative sign of -0 when deserializing to f32 or f64 (#​799, #​801)

v1.0.67

Compare Source

  • Fix inconsistency of deserialization of unknown fields in a struct variant from bytes vs from Value (#​795)

v1.0.66

Compare Source

  • Preserve exponent signifier and unary plus in exponent of arbitrary_precision numbers (#​786, thanks @​ruifengx)

v1.0.65

Compare Source

  • Documentation improvements

v1.0.64

Compare Source

  • Fix deserialization panic on deserializing RawValue from a slice containing non-utf8 bytes (#​755)

v1.0.63

Compare Source

v1.0.62

Compare Source

v1.0.61

Compare Source

v1.0.60

Compare Source

  • Add impl FromIterator<(impl Into<String>, impl Into<Value>)> for Value, which collects a Value::Object (#​733, thanks @​matklad)

v1.0.59

Compare Source

  • In arbitrary_precision mode, return None from serde_json::Number::as_f64 if the JSON number is larger than the maximum possible f64

v1.0.58

Compare Source

  • Add serde_json::Map::remove_entry, matching the equivalent API on BTreeMap

v1.0.57

Compare Source

  • Allow serde_json::Deserializer to be instantiated without consuming the serde_json::​de::Read impl (#​684)

v1.0.56

Compare Source

v1.0.55

Compare Source

v1.0.54

Compare Source

  • Add float_roundtrip feature to enable a slower but higher precision float parser based on lexical.

    Enabling float_roundtrip will use sufficient precision when parsing fixed precision floats from JSON to ensure that they maintain accuracy when round-tripped through JSON. This comes at an approximately 2x performance cost for parsing floats compared to the default best-effort precision.

    Unlike arbitrary_precision, the new float_roundtrip feature makes f64 -> JSON -> f64 produce output identical to the input. arbitrary_precision is for making JSON -> serde_json::Number -> JSON produce output identical to the input.

    serde_json = { version = "1.0.54", features = ["float_roundtrip"] }
    

v1.0.53

Compare Source

  • Reduce unhelpful indentation in the {:#?} format of serde_json::Value
  • Remove some unnecessary runtime checks from Serializer::collect_str

v1.0.52

Compare Source

v1.0.51

Compare Source

  • Terminate StreamDeserializer after errors instead of repeatedly reparsing the same failed input (#​647)
  • Add FusedIterator impls for StreamDeserializer and for Map's various iterators

v1.0.50

Compare Source

v1.0.49

Compare Source

  • Improve error message when neither "std" nor "alloc" feature is enabled (#​643)

v1.0.48

Compare Source

  • Add serde_json::value::Serializer which produces a Value as output (#​621, thanks @​sdleffler)

v1.0.47

Compare Source

  • Raise serde requirement to 1.0.100+ for the necessary no-std traits (#​617, thanks @​Xanewok)

v1.0.46

Compare Source

  • Serialize JSON map entries using serialize_entry instead of serialize_key + serialize_value to support transcoding to XML (#​614, thanks @​jmfiaschi)

v1.0.45

Compare Source

  • Add no-std support (#​606, thanks @​Xanewok)

    [dependencies]
    serde_json = { version = "1.0.45", default-features = false, features = ["alloc"] }
    

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde_json](https://github.com/serde-rs/json) | dependencies | patch | `1.0.44` -> `1.0.87` | --- ### Release Notes <details> <summary>serde-rs/json</summary> ### [`v1.0.87`](https://github.com/serde-rs/json/releases/tag/v1.0.87) - Add `write_i128` and `write_u128` methods to `serde_json::Formatter` to control the formatting of 128-bit integers ([#&#8203;940](https://github.com/serde-rs/json/issues/940), thanks [@&#8203;Lucretiel](https://github.com/Lucretiel)) ### [`v1.0.86`](https://github.com/serde-rs/json/releases/tag/v1.0.86) - Support `arbitrary_precision` feature even in no-std mode ([#&#8203;928](https://github.com/serde-rs/json/issues/928), thanks [@&#8203;kvinwang](https://github.com/kvinwang)) ### [`v1.0.85`](https://github.com/serde-rs/json/releases/tag/v1.0.85) - Make `Display` for `Number` produce the same representation as serializing ([#&#8203;919](https://github.com/serde-rs/json/issues/919)) ### [`v1.0.84`](https://github.com/serde-rs/json/releases/tag/v1.0.84) - Make `Debug` impl of `serde_json::Value` more compact ([#&#8203;918](https://github.com/serde-rs/json/issues/918)) ### [`v1.0.83`](https://github.com/serde-rs/json/releases/tag/v1.0.83) - Add categories to crates.io metadata ### [`v1.0.82`](https://github.com/serde-rs/json/releases/tag/v1.0.82) - Implement `From<Option<T>>` for serde_json::Value where `T: Into<Value>` ([#&#8203;900](https://github.com/serde-rs/json/issues/900), thanks [@&#8203;kvnvelasco](https://github.com/kvnvelasco)) ### [`v1.0.81`](https://github.com/serde-rs/json/releases/tag/v1.0.81) - Work around `indexmap`/`autocfg` not always properly detecting whether a `std` sysroot crate is available ([#&#8203;885](https://github.com/serde-rs/json/issues/885), thanks [@&#8203;cuviper](https://github.com/cuviper)) ### [`v1.0.80`](https://github.com/serde-rs/json/releases/tag/v1.0.80) - Documentation improvements ### [`v1.0.79`](https://github.com/serde-rs/json/releases/tag/v1.0.79) - Allow `RawValue` deserialization to propagate `\u` escapes for unmatched surrogates, which can later by deserialized to Vec\<u8> ([#&#8203;830](https://github.com/serde-rs/json/issues/830), thanks [@&#8203;lucacasonato](https://github.com/lucacasonato)) ### [`v1.0.78`](https://github.com/serde-rs/json/releases/tag/v1.0.78) - Support deserializing as `&RawValue` in map key position, which would previously fail with *"invalid type: newtype struct"* ([#&#8203;851](https://github.com/serde-rs/json/issues/851)) ### [`v1.0.77`](https://github.com/serde-rs/json/releases/tag/v1.0.77) - Include discord invite links in the published readme - Improve compile error on compiling with neither `std` nor `alloc` feature enabled - Include integration tests in published package ([#&#8203;578](https://github.com/serde-rs/json/issues/578)) ### [`v1.0.76`](https://github.com/serde-rs/json/releases/tag/v1.0.76) - Fix a build error when features `raw_value` and `alloc` are enabled while `std` is disabled ([#&#8203;850](https://github.com/serde-rs/json/issues/850)) ### [`v1.0.75`](https://github.com/serde-rs/json/releases/tag/v1.0.75) - Fix deserialization of small integers in arbitrary_precision mode ([#&#8203;845](https://github.com/serde-rs/json/issues/845)) ### [`v1.0.74`](https://github.com/serde-rs/json/releases/tag/v1.0.74) - Allow creating RawValues from references to unsized values ([#&#8203;841](https://github.com/serde-rs/json/issues/841), thanks [@&#8203;EFanZh](https://github.com/EFanZh)) ### [`v1.0.73`](https://github.com/serde-rs/json/releases/tag/v1.0.73) - Update `itoa` dependency to 1.0 ### [`v1.0.72`](https://github.com/serde-rs/json/releases/tag/v1.0.72) - Interpret `\u`-encoded lone surrogates when deserializing into a byte string ([#&#8203;828](https://github.com/serde-rs/json/issues/828), [#&#8203;829](https://github.com/serde-rs/json/issues/829), thanks [@&#8203;lucacasonato](https://github.com/lucacasonato)) ### [`v1.0.71`](https://github.com/serde-rs/json/releases/tag/v1.0.71) - Add serde_json::Map::get_key_value ([#&#8203;821](https://github.com/serde-rs/json/issues/821), thanks [@&#8203;timothee-haudebourg](https://github.com/timothee-haudebourg)) - Add impl From\<Box\<RawValue>> for Box\<str> ([#&#8203;824](https://github.com/serde-rs/json/issues/824), thanks [@&#8203;jplatte](https://github.com/jplatte)) ### [`v1.0.70`](https://github.com/serde-rs/json/releases/tag/v1.0.70) - Add `serde_json::Map::retain` method ([#&#8203;822](https://github.com/serde-rs/json/issues/822), thanks [@&#8203;deankarn](https://github.com/deankarn)) ### [`v1.0.69`](https://github.com/serde-rs/json/releases/tag/v1.0.69) - Implement Hash for serde_json::Number ([#&#8203;814](https://github.com/serde-rs/json/issues/814), thanks [@&#8203;timothee-haudebourg](https://github.com/timothee-haudebourg)) ### [`v1.0.68`](https://github.com/serde-rs/json/releases/tag/v1.0.68) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.67...v1.0.68) - Preserve negative sign of `-0` when deserializing to f32 or f64 ([#&#8203;799](https://github.com/serde-rs/json/issues/799), [#&#8203;801](https://github.com/serde-rs/json/issues/801)) ### [`v1.0.67`](https://github.com/serde-rs/json/releases/tag/v1.0.67) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.66...v1.0.67) - Fix inconsistency of deserialization of unknown fields in a struct variant from bytes vs from Value ([#&#8203;795](https://github.com/serde-rs/json/issues/795)) ### [`v1.0.66`](https://github.com/serde-rs/json/releases/tag/v1.0.66) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.65...v1.0.66) - Preserve exponent signifier and unary plus in exponent of arbitrary_precision numbers ([#&#8203;786](https://github.com/serde-rs/json/issues/786), thanks [@&#8203;ruifengx](https://github.com/ruifengx)) ### [`v1.0.65`](https://github.com/serde-rs/json/releases/tag/v1.0.65) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.65) - Documentation improvements ### [`v1.0.64`](https://github.com/serde-rs/json/releases/tag/v1.0.64) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.63...v1.0.64) - Fix deserialization panic on deserializing `RawValue` from a slice containing non-utf8 bytes ([#&#8203;755](https://github.com/serde-rs/json/issues/755)) ### [`v1.0.63`](https://github.com/serde-rs/json/releases/tag/v1.0.63) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.63) - Provide `Entry::and_modify` method on [serde_json::map::Entry](https://docs.rs/serde_json/1.0/serde_json/map/enum.Entry.html) ([#&#8203;754](https://github.com/serde-rs/json/issues/754), thanks [@&#8203;Krout0n](https://github.com/Krout0n)) ### [`v1.0.62`](https://github.com/serde-rs/json/releases/tag/v1.0.62) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62) - Speed up Display impl of serde_json::Value by 33% ([#&#8203;751](https://github.com/serde-rs/json/issues/751), thanks [@&#8203;icewind1991](https://github.com/icewind1991)) ### [`v1.0.61`](https://github.com/serde-rs/json/releases/tag/v1.0.61) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.60...v1.0.61) - Add `impl From<Number> for Value` ([#&#8203;737](https://github.com/serde-rs/json/issues/737), thanks [@&#8203;imp](https://github.com/imp)) ### [`v1.0.60`](https://github.com/serde-rs/json/releases/tag/v1.0.60) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.59...v1.0.60) - Add `impl FromIterator<(impl Into<String>, impl Into<Value>)> for Value`, which collects a Value::Object ([#&#8203;733](https://github.com/serde-rs/json/issues/733), thanks [@&#8203;matklad](https://github.com/matklad)) ### [`v1.0.59`](https://github.com/serde-rs/json/releases/tag/v1.0.59) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.58...v1.0.59) - In arbitrary_precision mode, return None from serde_json::Number::as_f64 if the JSON number is larger than the maximum possible f64 ### [`v1.0.58`](https://github.com/serde-rs/json/releases/tag/v1.0.58) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.57...v1.0.58) - Add serde_json::Map::remove_entry, matching the equivalent API on BTreeMap ### [`v1.0.57`](https://github.com/serde-rs/json/releases/tag/v1.0.57) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.56...v1.0.57) - Allow serde_json::Deserializer to be instantiated without consuming the serde_json::​de::Read impl ([#&#8203;684](https://github.com/serde-rs/json/issues/684)) ### [`v1.0.56`](https://github.com/serde-rs/json/releases/tag/v1.0.56) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.55...v1.0.56) - Improve compiler diagnostic on missing commas inside `json!` macro invocation (https://github.com/rust-lang/rust/issues/73777) ### [`v1.0.55`](https://github.com/serde-rs/json/releases/tag/v1.0.55) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.54...v1.0.55) - Fix missing build script required for using `float_roundtrip` (https://github.com/serde-rs/json/releases/tag/v1.0.54) ### [`v1.0.54`](https://github.com/serde-rs/json/releases/tag/v1.0.54) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.53...v1.0.54) - Add [`float_roundtrip`](https://github.com/serde-rs/json/blob/v1.0.54/Cargo.toml#L58-L65) feature to enable a slower but higher precision float parser based on [lexical](https://github.com/Alexhuszagh/rust-lexical). Enabling `float_roundtrip` will use sufficient precision when parsing fixed precision floats from JSON to ensure that they maintain accuracy when round-tripped through JSON. This comes at an approximately 2x performance cost for parsing floats compared to the default best-effort precision. Unlike `arbitrary_precision`, the new `float_roundtrip` feature makes f64 -> JSON -> f64 produce output identical to the input. `arbitrary_precision` is for making JSON -> serde_json::Number -> JSON produce output identical to the input. ```toml serde_json = { version = "1.0.54", features = ["float_roundtrip"] } ``` ### [`v1.0.53`](https://github.com/serde-rs/json/releases/tag/v1.0.53) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.52...v1.0.53) - Reduce unhelpful indentation in the {:#?} format of serde_json::Value - Remove some unnecessary runtime checks from Serializer::collect_str ### [`v1.0.52`](https://github.com/serde-rs/json/releases/tag/v1.0.52) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.51...v1.0.52) - Add [serde_json::value::to_raw_value](https://docs.rs/serde_json/1/serde_json/value/fn.to_raw_value.html) to convert a serializable value to Box\<RawValue> ([#&#8203;658](https://github.com/serde-rs/json/issues/658), thanks [@&#8203;jplatte](https://github.com/jplatte)) ### [`v1.0.51`](https://github.com/serde-rs/json/releases/tag/v1.0.51) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.50...v1.0.51) - Terminate StreamDeserializer after errors instead of repeatedly reparsing the same failed input ([#&#8203;647](https://github.com/serde-rs/json/issues/647)) - Add FusedIterator impls for StreamDeserializer and for Map's various iterators ### [`v1.0.50`](https://github.com/serde-rs/json/releases/tag/v1.0.50) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.49...v1.0.50) - Implement Eq for Value, Map, Number ([#&#8203;640](https://github.com/serde-rs/json/issues/640), thanks [@&#8203;smarnach](https://github.com/smarnach)) ### [`v1.0.49`](https://github.com/serde-rs/json/releases/tag/v1.0.49) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.48...v1.0.49) - Improve error message when neither "std" nor "alloc" feature is enabled ([#&#8203;643](https://github.com/serde-rs/json/issues/643)) ### [`v1.0.48`](https://github.com/serde-rs/json/releases/tag/v1.0.48) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.47...v1.0.48) - Add `serde_json::value::Serializer` which produces a `Value` as output ([#&#8203;621](https://github.com/serde-rs/json/issues/621), thanks [@&#8203;sdleffler](https://github.com/sdleffler)) ### [`v1.0.47`](https://github.com/serde-rs/json/releases/tag/v1.0.47) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.46...v1.0.47) - Raise serde requirement to 1.0.100+ for the necessary no-std traits ([#&#8203;617](https://github.com/serde-rs/json/issues/617), thanks [@&#8203;Xanewok](https://github.com/Xanewok)) ### [`v1.0.46`](https://github.com/serde-rs/json/releases/tag/v1.0.46) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.45...v1.0.46) - Serialize JSON map entries using serialize_entry instead of serialize_key + serialize_value to support transcoding to XML ([#&#8203;614](https://github.com/serde-rs/json/issues/614), thanks [@&#8203;jmfiaschi](https://github.com/jmfiaschi)) ### [`v1.0.45`](https://github.com/serde-rs/json/releases/tag/v1.0.45) [Compare Source](https://github.com/serde-rs/json/compare/v1.0.44...v1.0.45) - Add no-std support ([#&#8203;606](https://github.com/serde-rs/json/issues/606), thanks [@&#8203;Xanewok](https://github.com/Xanewok)) ```toml [dependencies] serde_json = { version = "1.0.45", default-features = false, features = ["alloc"] } ``` </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
kjuulh force-pushed renovate/serde_json-1.x from 473ef96861 to 8b73de31da 2022-10-26 17:13:39 +02:00 Compare
kjuulh force-pushed renovate/serde_json-1.x from 8b73de31da to 367669c20b 2022-10-26 17:40:36 +02:00 Compare
kjuulh changed title from Update Rust crate serde_json to 1.0.87 to Update Rust crate serde_json to 1.0.87 - autoclosed 2022-10-26 20:23:05 +02:00
kjuulh closed this pull request 2022-10-26 20:23:05 +02:00
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/roguelike#5
No description provided.