jonasbb/serde_with
### [`v3.0.0`](https://togithub.com/jonasbb/serde_with/releases/tag/v3.0.0): serde_with v3.0.0
[Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.3...v3.0.0)
This breaking release should not impact most users.
It only affects custom character sets used for base64 of which there are no instances of on GitHub.
##### Changed
- Upgrade base64 to v0.21 ([#543](https://togithub.com/jonasbb/serde_with/issues/543))
Thanks to [@jeff-hiner](https://togithub.com/jeff-hiner) for submitting the PR.
Remove support for custom character sets.
This is technically a breaking change.
A code search on GitHub revealed no instances of anyone using that, and `serde_with` ships with many predefined character sets.
The removal means that future base64 upgrade will no longer be breaking changes.
### [`v2.3.3`](https://togithub.com/jonasbb/serde_with/releases/tag/v2.3.3): serde_with v2.3.3
[Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.2...v2.3.3)
##### Changed
- Update `syn` to v2 and `darling` to v0.20 ([#578](https://togithub.com/jonasbb/serde_with/issues/578))
Update proc-macro dependencies.
This change should have no impact on users, but now uses the same dependency as `serde_derive`.
### [`v2.3.2`](https://togithub.com/jonasbb/serde_with/releases/tag/v2.3.2): serde_with v2.3.2
[Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.1...v2.3.2)
##### Changed
- Improve the error message when deserializing `OneOrMany` or `PickFirst` fails.
It now includes the original error message for each of the individual variants.
This is possible by dropping untagged enums as the internal implementations, since they will likely never support this, as these old PRs show [serde#2376](https://togithub.com/serde-rs/serde/pull/2376) and [serde#1544](https://togithub.com/serde-rs/serde/pull/1544).
The new errors look like:
```text
OneOrMany could not deserialize any variant:
One: invalid type: map, expected u32
Many: invalid type: map, expected a sequence
```
```text
PickFirst could not deserialize any variant:
First: invalid type: string "Abc", expected u32
Second: invalid digit found in string
```
##### Fixed
- Specify the correct minimum serde version as dependency. ([#588](https://togithub.com/jonasbb/serde_with/issues/588))
Thanks to [@nox](https://togithub.com/nox) for submitting a PR.
### [`v2.3.1`](https://togithub.com/jonasbb/serde_with/releases/tag/v2.3.1): serde_with v2.3.1
[Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.0...v2.3.1)
##### Fixed
- Undo the changes to the trait bound for `Seq`. ([#570](https://togithub.com/jonasbb/serde_with/issues/570), [#571](https://togithub.com/jonasbb/serde_with/issues/571))
The new implementation caused issues with serialization formats that require the sequence length beforehand.
It also caused problems, that certain attributes which worked before no longer worked, due to mismatching number of references.
Thanks to [@stefunctional](https://togithub.com/stefunctional) for reporting and for [@stephaneyfx](https://togithub.com/stephaneyfx) for providing a test case.
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 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, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.3
->3.0
Release Notes
jonasbb/serde_with
### [`v3.0.0`](https://togithub.com/jonasbb/serde_with/releases/tag/v3.0.0): serde_with v3.0.0 [Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.3...v3.0.0) This breaking release should not impact most users. It only affects custom character sets used for base64 of which there are no instances of on GitHub. ##### Changed - Upgrade base64 to v0.21 ([#543](https://togithub.com/jonasbb/serde_with/issues/543)) Thanks to [@jeff-hiner](https://togithub.com/jeff-hiner) for submitting the PR. Remove support for custom character sets. This is technically a breaking change. A code search on GitHub revealed no instances of anyone using that, and `serde_with` ships with many predefined character sets. The removal means that future base64 upgrade will no longer be breaking changes. ### [`v2.3.3`](https://togithub.com/jonasbb/serde_with/releases/tag/v2.3.3): serde_with v2.3.3 [Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.2...v2.3.3) ##### Changed - Update `syn` to v2 and `darling` to v0.20 ([#578](https://togithub.com/jonasbb/serde_with/issues/578)) Update proc-macro dependencies. This change should have no impact on users, but now uses the same dependency as `serde_derive`. ### [`v2.3.2`](https://togithub.com/jonasbb/serde_with/releases/tag/v2.3.2): serde_with v2.3.2 [Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.1...v2.3.2) ##### Changed - Improve the error message when deserializing `OneOrMany` or `PickFirst` fails. It now includes the original error message for each of the individual variants. This is possible by dropping untagged enums as the internal implementations, since they will likely never support this, as these old PRs show [serde#2376](https://togithub.com/serde-rs/serde/pull/2376) and [serde#1544](https://togithub.com/serde-rs/serde/pull/1544). The new errors look like: ```text OneOrMany could not deserialize any variant: One: invalid type: map, expected u32 Many: invalid type: map, expected a sequence ``` ```text PickFirst could not deserialize any variant: First: invalid type: string "Abc", expected u32 Second: invalid digit found in string ``` ##### Fixed - Specify the correct minimum serde version as dependency. ([#588](https://togithub.com/jonasbb/serde_with/issues/588)) Thanks to [@nox](https://togithub.com/nox) for submitting a PR. ### [`v2.3.1`](https://togithub.com/jonasbb/serde_with/releases/tag/v2.3.1): serde_with v2.3.1 [Compare Source](https://togithub.com/jonasbb/serde_with/compare/v2.3.0...v2.3.1) ##### Fixed - Undo the changes to the trait bound for `Seq`. ([#570](https://togithub.com/jonasbb/serde_with/issues/570), [#571](https://togithub.com/jonasbb/serde_with/issues/571)) The new implementation caused issues with serialization formats that require the sequence length beforehand. It also caused problems, that certain attributes which worked before no longer worked, due to mismatching number of references. Thanks to [@stefunctional](https://togithub.com/stefunctional) for reporting and for [@stephaneyfx](https://togithub.com/stephaneyfx) for providing a test case.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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.