Releases: aaubry/YamlDotNet
Release 12.1.0
-
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
Release 12.0.2
-
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
Release 12.0.1
Release 12.0.0
-
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
Release 11.2.1
Release 11.2.0
Release 11.1.1
Release 11.1.0
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.Check this test for a more complete examplevar sut = new DeserializerBuilder() .WithNamingConvention(CamelCaseNamingConvention.Instance) .WithTypeMapping<ICar, Car>() .WithTypeMapping<IModelSpec, ModelSpec>() .Build();
Other fixes
Release 11.0.1
Release 10.1.0
- #584 Add support for adding comments to properties.
TheYamlMember
attribute now has aDescription
property. When set, a comment is emitted when serializing that property:class Person { public string Name { get; set; } [YamlMember(Description = "This is the age")] public int Age { get; set; } [YamlMember(Description = "male or female")] public string Sex { get; set; } }
Name: PandaTea # This is the age Age: 100 # male or female Sex: male