YamlDotNet Versions Save

YamlDotNet is a .NET library for YAML

v12.2.0

1 year ago
  • Merge pull request #722 from EdwardCooke/ec-712-privateconstructor
    Allow parameterless private constructors when enabled

v12.1.0

1 year ago
  • Merge pull request #728 from marshall777/patch-1
    Correction of LowerCaseNamingConvention documentation

  • Merge pull request #711 from adamralph/upgrade-bullseye
    upgrade Bullseye from 3.6.0 to 4.0.0

  • Merge pull request #735 from adamralph/bullseye-public-only
    updated Bullseye from 4.0.0 to 4.2.0

  • Merge pull request #747 from polterguy/issue-746
    Allow setting the newline character when serializing

  • Add required dot net core versions to the workflow

  • Revert Bullseye to fix release issues
    It was incorrectly detecting AppVeyor as the host

v12.0.2

1 year ago
  • Merge pull request #720 from Unity-Technologies/fix/line-endings
    Fix inconsistent line endings

  • Merge pull request #721 from Unity-Technologies/fix/null-warnings
    Adjust null warning in ScalarNodeDeserializer

  • Changed eol to EOL to attempt build fix

  • Reordered gitattributes

  • Remove Travis build information
    Since we no longer use it.

  • Merge pull request #726 from EdwardCooke/ec-fixinggitattributes
    fixinggitattributes

  • Merge pull request #727 from EdwardCooke/ec-finalizelineendingcleanup
    Finalize line endings in cs files to crlf

  • Merge pull request #730 from lkillgore/master
    Fix Inf and NaN regex when using WithAttemptingUnquotedStringTypeDeserialization

v12.0.1

1 year ago
  • Update GitGub token

  • Merge pull request #707 from EdwardCooke/ec-updategithubtemplates
    Removed on-hold notices from the issue templates

  • Merge pull request #710 from lahma/fix-key-indicator
    Fix block entry indicator check

v12.0.0

1 year ago
  • Merge pull request #623 from jairbubbles/add-tostring-on-yamlexception
    Do not include the Start / End in the YamlException message

    • Make sure the constructors are consistant so that Message only contains the original message
    • Add ToString to include Start / End
  • Merge pull request #624 from jairbubbles/include-start-end-in-exceptions-thrown-by-type-in
    Include start / end in exceptions thrown by type inspector

  • Merge pull request #626 from willson556/bugfix/extra-newline
    Fix #361 - Extra Windows newline in folded scalar.

  • Adapt the code and project structure to easuly build with Unity

  • Merge pull request #646 from lahma/string-builder-pool
    Introduce StringBuilderPool

  • Merge pull request #648 from lahma/avoid-params-array-in-hash-code
    Avoid extra allocations in YamlScalarNode GetHashCode

  • Merge pull request #647 from lahma/struct-mark
    Change Mark to be readonly struct

  • Merge pull request #649 from lahma/add-benchmark
    Add YamlDotNet.Benchmark

  • Update NuGet API key

  • Link to the discussion about the status of the project

  • Update README.md

  • Merge pull request #693 from EdwardCooke/ec-updates
    VS 2022, Unit Tests and fixes

  • Merge pull request #696 from aaubry/JG-update-readme
    Remove the hint that this project is on hold

  • Merge pull request #695 from EdwardCooke/ec-fix637-numberformat
    G17 was creating issues with doubles and floats

  • Merge pull request #659 from dmitry-ra/fix-issue-638
    Fix #638: Parser hangs on stream of %Y

  • Merge pull request #698 from EdwardCooke/ec-643-setonlyproperties
    Allow set only properties during deserialization

  • Merge pull request #697 from EdwardCooke/ec-fix658-releasenotes
    Change the release notes link to use github releases

  • Merge pull request #699 from EdwardCooke/ec-roundtripnulls
    Allow quoting of specialized strings like null/true/false/numbers etc

  • Merge pull request #701 from JoC0de/fix-nuget-package-spec
    fixup nuget package spec

  • Merge pull request #664 from krisrok/fix/comment-indents
    Fix/comment indents (and other comment-related issues)

  • Merge pull request #700 from EdwardCooke/ec-fix684-blockscalarkeys
    Block scalars can be keys too

  • Merge pull request #702 from EdwardCooke/ec-fix673-longminvaluedeserialize
    Make long.minvalue deserialize

  • Merge pull request #704 from aaubry/fix-prereleases-on-artifactory
    Ensure that pre-releases are always in lower case

v11.2.1

2 years ago
  • #621 Fix nullable struct serialization.
    Fixes #360

v11.2.0

2 years ago

New features

  • #613 Fix dates not round-tripping correctly in all cases.
  • #608 Allow omitting empty collections via DefaultValuesHandling.

v11.1.1

3 years ago

Bugfixes

  • #600 Fix nullable enum roundtrip (fixes #544)
    There was a problem deserializing nullable enums that was introduced with release 9.1.0.

v11.1.0

3 years ago

New features

  • #604 Support for deserialization of interface types (Fixes #601)
    This allows to register a concrete class for a given interface. When deserializing a value of that interface type, the concrete class will be deserialized instead.
    var sut = new DeserializerBuilder()
        .WithNamingConvention(CamelCaseNamingConvention.Instance)
        .WithTypeMapping<ICar, Car>()
        .WithTypeMapping<IModelSpec, ModelSpec>()
        .Build();
    
    Check this test for a more complete example

Other fixes

  • #603 Fix nullable annotation of TagName implicit converter.
  • #602 Fix nullable annotations for AnchorName implicit converter.

v11.0.1

3 years ago

Bugfixes

  • #596 Merge sequence of anchors in reverse order (fixes #594)
    When merging sequences, the order was incorrect.
    This is a breaking change. If you relied on the previous behaviour, you will need to adapt your code.

  • #563 Fix imutable pattern in EmitterSettings.SkipAnchorName.