jonasbb/serde_with (serde_with)
### [`v3.9.0`](https://togithub.com/jonasbb/serde_with/releases/tag/v3.9.0): serde_with v3.9.0
[Compare Source](https://togithub.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0)
##### Added
- Deserialize a map\` and skip all elements failing to deserialize by [@johnmave126](https://togithub.com/johnmave126) ([#763](https://togithub.com/jonasbb/serde_with/issues/763))
`MapSkipError` acts like a map (`HashMap`/`BTreeMap`), but keys or values that fail to deserialize, like are ignored.
For formats with heterogeneously typed maps, we can collect only the elements where both key and value are deserializable.
This is also useful in conjunction to `#[serde(flatten)]` to ignore some entries when capturing additional fields.
```text
// JSON
"value": {"0": "v0", "5": "v5", "str": "str", "10": 2},
// Rust
#[serde_as(as = "MapSkipError")]
value: BTreeMap,
// Only deserializes entries with a numerical key and a string value, i.e.,
{0 => "v0", 5 => "v5"}
```
### [`v3.8.3`](https://togithub.com/jonasbb/serde_with/releases/tag/v3.8.3): serde_with v3.8.3
[Compare Source](https://togithub.com/jonasbb/serde_with/compare/v3.8.2...v3.8.3)
##### Fixed
- Fix compile issues when dependency `schemars_0_8` is used with the `preserve_order` features ([#762](https://togithub.com/jonasbb/serde_with/issues/762))
### [`v3.8.2`](https://togithub.com/jonasbb/serde_with/releases/tag/v3.8.2): serde_with v3.8.2
[Compare Source](https://togithub.com/jonasbb/serde_with/compare/v3.8.1...v3.8.2)
##### Changed
- Bump MSRV to 1.67, since that is required for the `time` dependency.
The `time` version needed to be updated for nightly compatibility.
##### Fixed
- Implement `JsonSchemaAs` for `OneOrMany` instead of `JsonSchema` by [@swlynch99](https://togithub.com/swlynch99) ([#760](https://togithub.com/jonasbb/serde_with/issues/760))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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, check this box
This PR contains the following updates:
3.8.1
->3.9.0
Release Notes
jonasbb/serde_with (serde_with)
### [`v3.9.0`](https://togithub.com/jonasbb/serde_with/releases/tag/v3.9.0): serde_with v3.9.0 [Compare Source](https://togithub.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0) ##### Added - Deserialize a map\` and skip all elements failing to deserialize by [@johnmave126](https://togithub.com/johnmave126) ([#763](https://togithub.com/jonasbb/serde_with/issues/763)) `MapSkipError` acts like a map (`HashMap`/`BTreeMap`), but keys or values that fail to deserialize, like are ignored. For formats with heterogeneously typed maps, we can collect only the elements where both key and value are deserializable. This is also useful in conjunction to `#[serde(flatten)]` to ignore some entries when capturing additional fields. ```text // JSON "value": {"0": "v0", "5": "v5", "str": "str", "10": 2}, // Rust #[serde_as(as = "MapSkipErrorConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.