Skip to content

3.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 06:07

Changes

✨ New Features

  • Add an editable syntax tree for key-based editing on top of WithTextChange (PR #183) by @Jumaga2015

🚀 Enhancements

  • Recover invalid collection elements and dictionary values (PR #180) by @StefanGreve

🧰 Misc

  • Recover from invalid values while deserializing (PR #178) by @StefanGreve
  • Keep decimal precision when reading through the schema (PR #182) by @vtxe02023274
  • Detect duplicate member keys in generated object readers (8210484)
  • Detect generated dictionary duplicates in every schema (ffa51c9)
  • Treat populated dictionary entries as initial values (5e39279)
  • Generate NativeAOT-safe dictionary population (1eaf050)
  • Preserve merge overrides in opaque dictionary population (61c6489)
  • Improve YAML 1.2.2 parsing and object loading (1e41a26)
  • Quote strings that resemble large Core integers (505b5d3)
  • Scan string input in place and consume plain scalar runs at once (2bb5832)
  • Reuse scanner tokens in the parser and keep simple keys in structs (fdd6ec1)
  • Reuse parser events when the serializer's reader owns the parser (a122ff7)
  • Dispatch scanner tokens on their first character (a4b8449)
  • Cut per-token overhead in the scanner (0aa76a1)
  • Test token kinds in the parser and cache plain mapping keys (a904643)
  • Create the explicit key set of generated readers on demand (32a0ac0)
  • Read seekable streams at once and cover the reworked read path (173e5e7)
  • Skip the number parsers for strings that cannot be ambiguous (31083fa)
  • Pass marks by reference on the token and event reuse path (66bcf45)
  • Write serializer output through a pooled character buffer (bf3f50f)
  • Share converters and reflection contracts per options instance (bb2aac2)
  • Inline the hot paths of the parse pipeline for NativeAOT (efb7a61)
  • Track the members read by the reflection object reader as bits (8efa257)
  • Cover the reworked write path with regression tests (6566de8)
  • Benchmark against ShapeShift.Yaml and document the new read and write paths (42f908c)
  • Track the keys of a new string dictionary in the dictionary itself (bd5da9a)
  • Pass number-like scalars as slices of the input (1d46c1d)
  • Scan readers through a pooled window instead of one character at a time (ad8844e)
  • Cache the contracts of derived types and lighten small documents (c584d1f)
  • Refresh the benchmark results (6103bb9)
  • Update the package dependencies (d016f83)
  • Refresh the benchmark results with YamlDotNet 18.1.0 (3b4c6a9)
  • Bound, clear and return the reader window, and never read ahead of a live stream (c7442c4)
  • Keep the converter cache in the options, with weak type keys (862820b)
  • Hold only collectible types weakly in the converter cache (0839603)
  • Decode a stream that cannot seek ourselves, one read of the stream at a time (297e832)
  • Read a polymorphic value from its recorded events instead of from text (c34c349)
  • Keep nothing of the original options alive through an unused copy (02c4fb8)
  • Replay an alias that follows a buffered polymorphic value (b1a6335)
  • Publish the final benchmark results and link to them from the README (af3eb72)
  • Return false for a float outside the decimal range in TryConvertToDecimal (554b801)
  • Scan comment trivia only outside the text of tokens in YamlSyntaxTree (43c930c)
  • Give scanner tokens the span of their own text (efb7696)
  • Give reserved directives a YamlSyntaxKind of their own (3811fd8)
  • Give back the spaces of an empty root and keep line breaks per document (d168ae2)
  • Edit documents with a "#" inside a scalar in the editable tree (05be5b5)
  • Leave the indicators of flow collections to the events they belong to (ab2d3ec)
  • End an indentless sequence where the next token starts (85182d0)
  • Release moved entries and count no column for a byte order mark (f5adc8d)
  • Leave out the spaces after a root "{}", and end the text at its last token (8412173)
  • Count the end of the text from the last token with text (02e397b)
  • Say where the empty value of a flow entry is (9fc6b74)

Full Changelog: 3.17.0...3.18.0

Published with dotnet-releaser