Skip to content

Commit

Permalink
Add changelog entry for the new indexmap support
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb authored Apr 22, 2022
1 parent 88ffa73 commit eabd345
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions serde_with/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.13.0] - 2022-04-23

### Added

* Added support for `indexmap::IndexMap` and `indexmap::IndexSet` types. #431, #436

Both types are now compatible with these functions: `maps_duplicate_key_is_error`, `maps_first_key_wins`, `sets_duplicate_value_is_error`, `sets_last_value_wins`.
`serde_as` integration is provided by implementing both `SerializeAs` and `DeserializeAs` for both types.
`IndexMap`s can also be serialized as a list of types via the `serde_as(as = "Vec<(_, _)>")` annotation.

All implementations are gated behind the `indexmap` feature.

Thanks to @jgrund for providing parts of the implementation.

## [1.12.1] - 2022-04-07

Expand Down

0 comments on commit eabd345

Please sign in to comment.