-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
622 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [Unreleased][unreleased] | ||
### Changed | ||
- Serializer can now be extended with custom struct encoding policy. | ||
- Improved error types and its messages for serialization part. | ||
- New error type introduced - UnknownLength. Returned on attempt to serialize struct, map or serquence with unknown | ||
length (Serde allows this). | ||
- The new type is returned if necessary. | ||
|
||
### Fixed | ||
- Deserializer now properly works with enums. | ||
- Options with default values (that can be initialized using unit marker) deserialization. | ||
This fix also forbids the following Option deserialization cases: | ||
- Option<()>. | ||
- Option<Option<...>>. | ||
It's impossible to properly deserialize the listed cases without explicit option marker in protocol. | ||
- Serializer now properly serializes unit structs. | ||
Previously it was serialized as a unit (nil), now there is just an empty array ([]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.