Skip to content

Releases: aaubry/YamlDotNet

Release 16.2.0

10 Nov 01:46
9a977ef
Compare
Choose a tag to compare

What's Changed

  • Support YamlConverterAttribute in attribute overrides by @ChristopherMann in #1003
  • Fix JSON serialization for UTF-32 characters. by @nahk-ivanov in #998
  • fix: floating-point number serialization issue for non-normal values by @filzrev in #992
  • perf: Optimize regular numbers parse logics by @filzrev in #990

New Contributors

Full Changelog: v16.1.3...v16.2.0

Release 16.1.3

26 Sep 17:18
7923dd8
Compare
Choose a tag to compare

What's Changed

  • Use collection expressions by @lahma in #980
  • Update testing libraries and migrate FluentAssertions syntax by @lahma in #979
  • Removes sealed from a number of classes and respects empty strings in enummember by @EdwardCooke in #985

Full Changelog: v16.1.2...v16.1.3

Release 16.1.2

13 Sep 18:23
485daaa
Compare
Choose a tag to compare

What's Changed

  • Fix warnings when building in linux due to IDE0055 bugs by @EdwardCooke in #978

Full Changelog: v16.1.1...v16.1.2

Release 16.1.1

13 Sep 17:31
006090b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v16.1.0...v16.1.1

Release 16.1.0

01 Sep 16:08
03f0e59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v16.0.0...v16.1.0

Release 16.0.0

14 Jul 17:22
8808c6f
Compare
Choose a tag to compare
  • Merge pull request #938 from MetaFight/array-cycles
    ArrayNodeDeserializer can now deserialize circular references.

  • Merge pull request #935 from MrLuje/fsharp-collection
    feat: properly handle FSharp List deserialization

  • Merge pull request #927 from lahma/optimize-scalar-load
    Optimize YamlScalarNode.Load and YamlMappingNode.Load

  • Merge pull request #941 from EdwardCooke/ec-nullability
    Fix bugs and add features


Breaking change notes

  • The ITypeConverter object is now passed to many methods and is expected when some are called. You can get the typeconverter by calling BuildTypeConverter on the serializerbuilder and deserializerbuilder. This typeconverter should be treated as a singleton and injected into the constructor of your class.

  • The IPropertyDescriptor is now passed into a lot of methods. It can be safely disregarded if you don't need it. It contains information about the property containing the object being deserialized.

  • The delegates ObjectSerializer and ObjectDeserializer are also being passed around. They can be disregarded if you don't need them.

  • To revert to the old date/time formats for JsonCompatable remove the DateTime8601Converter and add the DateTimeConverter with the doubleQuotes constructor parameter set to true. Example:

    new SerializerBuilder()
        .WithoutTypeConverter<YamlDotNet.Serialization.Converters.DateTime8601Converter>()
        .WithTypeConverter(new YamlDotNet.Serialization.Converters.DateTimeConverter(doubleQuotes: true))
    .Build();
  • on Mark, Cursor, SimpleKey the position property data types changed from int to long

Release 15.3.0

16 Jun 20:35
23991bd
Compare
Choose a tag to compare
  • Merge pull request #910 from lahma/symbols
    Include symbols and deterministic build

  • Merge pull request #930 from MrLuje/fsharp-option
    Add FSharpOption support

Release 15.1.6

29 May 15:03
846ebf7
Compare
Choose a tag to compare
  • Merge pull request #808 from tomer-amir/fix-hash-code-infinite-recursion
    Fix infinite recursion of the hash code function of YamlMappingNode

  • Merge pull request #924 from kasperk81/frameworknames
    use correct framework

Release 15.1.4

11 May 17:02
22070fd
Compare
Choose a tag to compare
  • Merge pull request #903 from lahma/license-expression
    Switch to using PackageLicenseExpression

  • Merge pull request #904 from airbreather/fix-656
    Add a regression test for #656

Release 15.1.2

26 Feb 16:25
Compare
Choose a tag to compare
  • Merge pull request #912 from EdwardCooke/ec-732
    Fixed #732, quote strings starting with whitespace characters