Skip to content

Releases: ron-rs/ron

v0.9.0

18 Mar 17:49
da87d1c
Compare
Choose a tag to compare

What's Changed

  • Expected bytes error and import cleanup by @juntyr in #400
  • Test for the array-Value roundtrip failure by @juntyr in #404
  • Fix #277 and #405 with Value::Map IntoIter and extraneous item check for Value::Seq by @juntyr in #406
  • Fixed raw struct name identifier parsing by @juntyr in #402
  • Implemented ron::value::RawValue by @juntyr in #407
  • Fix trailing comma parsing in tuples and Some by @juntyr in #412
  • Error instead of panic when deserializing non-identifier field name by @juntyr in #415
  • Add tests for extensions by @juntyr in #417
  • Add tests for raw value serialising by @juntyr in #419
  • Add explicit recursion limits to avoid stack overflows by @juntyr in #420
  • Fix #423 deserialising an identifier into a borrowed str by @juntyr in #424
  • Add escape_strings option to PrettyConfig by @juntyr in #426
  • Small fixes to codecov and rustdoc by @juntyr in #427
  • ci: add CIFuzz integration by @DavidKorczynski in #429
  • Bump MSRV to 1.57.0 and base64 to 0.20 by @juntyr in #431
  • Bump base64 to v0.21 by @juntyr in #433
  • Update juntyr's author details by @juntyr in #437
  • Document nested block comments and add more intra docs links by @juntyr in #440
  • depend on serde_derive separately for more compilation parallelism by @jakobhellermann in #441
  • Add compact_maps and compact_structs options to PrettyConfig by @juntyr in #448
  • Add serde attributes limitations to README.md by @juntyr in #450
  • Add minimal support for flattening roundtrips through maps by @juntyr in #455
  • Upgrade to bitflags 2.0 by @juntyr in #443
  • Add test for #456 and fix bitflags glob import by @juntyr in #457
  • add Map::retain method by @marcospb19 in #460
  • Remove Cargo.lock for fuzzing by @juntyr in #461
  • Install grcov with the latest dependencies by @juntyr in #463
  • Bump indexmap to 2.0 and update MSRV to 1.64.0 by @juntyr in #459
  • Add a fuzzer test that serialises and deserialises arbitrary typed serde data + fix &[u8] de by @juntyr in #462
  • Protect against stack overflow in arbitrary fuzzer by @juntyr in #464
  • Add minimal support for internally tagged and untagged enums by @juntyr in #451
  • Fix "WASD" example in readme by @tje in #466
  • Update option-set dev-dependency to 0.2 by @juntyr in #468
  • Update adjacent enum non-roundtrip tests to match serde-rs/serde#2505 by @juntyr in #471
  • Update CHANGELOG to v0.8.1 by @juntyr in #475
  • Add a test to confirm that #217 is fixed by @juntyr in #476
  • Add a test to confirm that #357 is fixed by @juntyr in #477
  • Add a test to confirm that #254 is fixed by @juntyr in #478
  • Add benchmarking using arbitrary fuzzing by @juntyr in #465
  • Lossless Value::Number and allow +unsigned by @juntyr in #479
  • Fix benchmark CI cargo install by @juntyr in #480
  • Fix fuzzing of invalid ron::value::RawValue by @juntyr in #482
  • Fix fuzzer deserialisation of newtype-like ron::value::RawValue by @juntyr in #484
  • Fix value explosion in arbitrary fuzzer by @juntyr in #485
  • Add number suffixes and allow more number underscores by @juntyr in #481
  • Improve code coverage CI with grcov HTML reports by @juntyr in #483
  • Combine self-hosted coverage with clean codecov by @juntyr in #486
  • Fix raw value constructor vs de parsing incompatibility by @juntyr in #487
  • Disallow unclosed line comments at the end of raw values by @juntyr in #489
  • Reduce the maximum fuzzer depth to conserve memory and time by @juntyr in #490
  • Better detection of unclosed line comments for raw value by @juntyr in #491
  • Add a test to ensure that #492 is fixed by @juntyr in #493
  • Rusty byte strings in RON, deprecate base64 (byte) strings by @juntyr in #438
  • Enforce explicit Some around raw values by @juntyr in #494
  • Add full UTF-8 support in RON incl. unicode identifiers by @juntyr in #488
  • Improve array len fuzzing by @juntyr in #495
  • Add tests for error messages and improve reader IO error position by @juntyr in #497
  • Fix parsing of struct/variant names starting in None, Some, true, or false by @juntyr in #499
  • Value::from and full code lines coverage by @juntyr in #498
  • Add a per-usage fuzzer cost for long struct/field/enum/variant names by @juntyr in #505
  • Prepare for the v0.9.0 release by @juntyr in #503
  • Add recursive data cost to fuzzer + speed up deserialize_any identifier check by @juntyr in #506
  • Add test to track #508 by @juntyr in #509
  • Limit benchmark runtime to random sample of fuzzer cases by @juntyr in #510
  • Fixes #511: Allow deserialize_string for map fields originating from struct-formatted maps by @grindvoll in #512
  • Fuzz serde enum representations by @juntyr in #502
  • Document a further fuzzer-found limitation by @juntyr in #515
  • Fix missing case of the one-tuple-struct-inside-unwrapped-newtype-variant bug by @juntyr in #516
  • Fix bug in fuzzer with deny_unknown_fields structs inside flatten by @juntyr in #517
  • Add explicit_struct_names Extension by @sylv256 in #522
  • Further flatten fuzzer fixes by @juntyr in #523
  • Add #526 as a test by @juntyr in #527
  • Prepare v0.9.0-alpha.0 version by @juntyr in #528
  • Update base64 to 0.22 by @a1phyr in #529
  • Add #530 as test to ensure it remains fixed by @juntyr in #531
  • Speed up escaped byte buf parsing by @juntyr in #534
  • More fuzzer flatten fixes by @juntyr in #537
  • Limit fuzzer case input size to sensible sizes by @juntyr in #535
  • Fix clippy lints for 1.78 by @juntyr in #539
  • Use/fix ron code blocks by @spenserblack in #541
  • Make use of Cow<'static, str> in PrettyConfig by @Coca162 in #546
  • Add provisional metadata ser in named field pos by @voidentente in #544
  • Downgrade indexmap for 1.64 MSRV in CI by @juntyr in #552
  • Fix minimum dependency versions and features and check them in CI by @juntyr in #557
  • Downgrade once_cell in CI for MSRV 1.64 by @juntyr in #558
  • Add flatten support disclaimer by @naseschwarz in #559
  • Prepare for v0.9.0 release by @juntyr in #560

New Contributors

Full Changelog: v0.8.1...v0.9.0

v0.8.1

17 Aug 05:29
eafa2b6
Compare
Choose a tag to compare

Changelog

  • Fix issues #277 and #405 with Value::Map IntoIter and extraneous item check for Value::Seq (#406)
  • Fix issue #401 with correct raw struct name identifier parsing (#402)
  • Fix issue #410 trailing comma parsing in tuples and Some (#412)
  • Error instead of panic when deserializing non-identifiers as field names (#415)
  • [Non-API] Breaking: Fix issue #307 stack overflow with explicit recursion limits in serialising and deserialising (#420)
  • Fix issue #423 deserialising an identifier into a borrowed str (#424)
  • Bump MSRV to 1.57.0 and bump dependency: base64 to 0.20 (#431)
  • Bump dependency base64 to 0.21 (#433)
  • Depend on serde_derive directly to potentially enable more compilation parallelism (#441)
  • [Non-API] Breaking: Bump bitflags dependency to 2.0, changes serde impls of Extensions (#443)
  • Add Map::retain method (#460)
  • Bump MSRV to 1.64.0 and bump dependency: indexmap to 2.0 (#459)

Full changelog

v0.8.0...v0.8.1

New contributors

Thank you all for contributing!

v0.8.0

16 Aug 08:41
4089034
Compare
Choose a tag to compare

Changelog

  • Bump dependencies: bitflags to 1.3, indexmap to 1.9 (#399)
  • Add integer128 feature that guards i128 and u128 (#304, #351)
  • Fix issue #265 with better missing comma error (#353)
  • Fix issue #301 with better error messages (#354)
  • Fix issue #337 by removing decimal_floats PrettyConfig option and unconditional decimals in floats (#363)
  • Fix issue #203 with full de error positioning (#356)
  • Expand the ron::Error enum to distinguish serde errors like NoSuchEnumVariant and MissingStructField with error positioning (#394)
  • Bump MSRV to 1.56.0 (#396)

Full changelog

v0.7.1...v0.8.0

v0.7.1

15 Jun 09:02
v0.7.1
b3bef7f
Compare
Choose a tag to compare

Changelog

  • Add struct_names option to PrettyConfig (#329)
  • Fix newtype variant unwrapping around enum, seq and map (#331)
  • Implement unwrap_newtypes extension during serialization (#333)
  • Implement unwrap_variant_newtypes extension during serialization (#336)
  • Add compact_arrays (#299) and separator options to PrettyConfig (#349)
  • Fix issue #338 value map roundtrip (#341)
  • Fix issue #289 enumerate_arrays comments (#344)
  • Report struct name in expected struct error (#342)
  • Add Options builder to configure the RON serde roundtrip (#343)
  • Fix issue #367 with eager implicit some (#368)
  • Fix issue #359 with DeserializeSeed support (#360)
  • Fix issue #370 with FromStr-equivalent float EBNF and Error::FloatUnderscore (#371)
  • Fix issue #374 extraneous .0 for small floats (#372)
  • Deprecate Serializer::new (#382)

v0.7.0

22 Oct 15:49
Compare
Choose a tag to compare

[0.7.0] - 2021-10-22

  • Add unwrap_variant_newtypes extension (#319)
  • Change MSRV to 1.36

v0.6.6

22 Oct 07:47
bddbb05
Compare
Choose a tag to compare

[0.6.6] - 2020-10-22

  • Fix serialization of raw identifiers (#323)