Sourced from serde_with's releases.
serde_with v3.21.0
Security
GHSA-7gcf-g7xr-8hxj: KeyValueMap serialization panics on empty sequence or map entries Bad or attacker controlled values could cause a panic while allocating too large values. Fixed in #966 by setting a maximum allocation size during the creation of collections like
Vecor sets.Thanks to
@7thParkkfor reporting the issue.Added
- Add
NoneAsZeroadapter that mapsOption<NonZero*>to a plain integer, encodingNoneas0by@SAY-5(#486)Changed
- Re-enable link-to-definition on docs.rs (#964)
Fixed
- Fix some doc links to point to the correct types (#963)
- Re-enable
unused_qualificationsand fix the resulting findings by@lms0806(#962)serde_with v3.20.0
Added
- Add support for
base58encoding, similar to the existingbase64setup by@mitinarseny(#943)Fixed
- Extend
base64withschemarssupport by@mitinarseny(#9949)serde_with v3.19.0
Added
Add support for
hashbrownv0.17 (#940)This extends the existing support for
hashbrownto the newly released version.serde_with v3.18.0
Added
- Support
OneOrManywith more sequence and set types (#929)Changed
- Bump MSRV to 1.88 due to the
darlingdependency
0f4ca67
Update changelog for 3.21.0 (#967)7654841
Update changelog for 3.21.0c8a1d82
Protect all collection creations against capacity overflow by using
`size_hin...6ad5fa5
Properly feature gate the vec_with_capacity_cautious
functionef7d141
Protect all collection creations against capacity overflow by using
`size_hin...a348da3
Add serde_as deserialize_as explain (#958)2e5bc20
Bump the github-actions group with 3 updates (#965)927a3d6
Bump the github-actions group with 3 updates62d14ec
Enable link-to-definition on docs.rs again, after the upstream issue was
reso...4584d94
Enable link-to-definition on docs.rs again, after the upstream issue was
reso...