All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added
decimal_floats
PrettyConfig option, which always includes decimals in floats (1.0
vs1
) (#237) - Change MSRV to 1.36
- Implement integer support in Numbers (#210)
- Port
ser::Serializer
toio::Write
(#206) - Support i128 and u128 (#219)
- Allow pretty ser to work with implicit-some extension (#182)
- Make PrettyConfig future-proof (#173)
- Use indexmap to preserve order (optional) (#172)
- Add tests for different enum representations (#166)
- Implement inf, -inf and NaN handling (#163)
- Add VS code language tooling (#160)
- Be smarter about integer deserialization (#157)
- Fix parsing of borrowed strings (#228)
- Fix depth limit test for off-by-one fix (#225)
- Remove deprecated uses of
Error::description
(#208) - Preserve ordering of map sequences (#197)
- Remove unneeded Neg requirement for signed_integer (#193)
- Ensure "Untagged tuple-like enum variants not deserializing correctly……" is fixed (#170)
- Update
serde
requirement to 1.0.60 (#226) - Replace Travis with GitHub actions (#223)
- Rename
format_doc_comments
toformat_code_in_doc_comment
- Update base64 requirement from 0.11 to 0.12 (#204)
- Update base64 requirement from 0.10 to 0.11 (#195)
- Update
serde_bytes
to 0.11 (#164)
- Increase source compability from Rust
1.34.0
to1.31.0
by not relying onas _
imports (#156)
- Don't insert new lines in empty arrays or maps (#150)
- Transition to Rust 2018 (#149)
- Handle tuple deserialization in deserialize_any properly (#124)
serde_bytes
fields to be encoded using base64. (#109)
- Allow raw string literals (#114)
- Now depends on
base64
0.9.2.
- Allow whitespace in newtype variants (#104)
- Add multi-line comments (#98)
- Allow more whitespace inside newtypes (#103)
- Deep array indexing (#88)
- Pretty sequence indexing (#86)
- Add unicode support for chars (#80)
- Add support for hex, oct and bin numbers (#78)
- Allow implicit Some (#75)
- Add grammar specification (#73)
- Add extension support and first extension, unwrap_newtypes (#72)
- Directly serialize
f32
(#81)
- Implement sequence indexing (#87)
- Remove ident variable from Sublime syntax (#71)
- Allow creating a new serializer (#70)
- Sublime syntax highlighter (#67)
- Add support for integers (#65)
- Implement
Deserializer
forValue
(#64)
- Fix deserializing of ignored fields (#62)
- Removed indentation from tuple variant pretty encoder (#57)
- Be more permissive wrt whitespace decoding (#41)
- Add utility function to deserialize from
std::io::Read
(#42)
- Reorganize deserialization modules (#30)
- Rework deserializer not to require
pom
crate #27, (#38) - Dual license under Apache 2.0 and MIT (#26)
- Use CRLF for serializatio on Windows (#32)
- Fix bors-ng to work with travis (#31)
- Handle escapes (#23)
- Improve error reporting (#29)
- Allow decoding of comments (#28)
- Add
pretty
option to serializer (#25) - Add roundtrip tests (#24)
Initial release