Skip to content

Releases: aaubry/YamlDotNet

Bugfix

03 Jul 14:26
Compare
Choose a tag to compare

Fix AnchorNotFoundException when another exception occurs during deserialization.

Implement merge keys

17 Jun 11:06
Compare
Choose a tag to compare

This release adds merge key support: http://yaml.org/type/merge.html

Example from BackreferencesAreMergedWithMappings unit test:

var reader = new EventReader(new MergingParser(new Parser(stream)));
var result = Deserializer.Deserialize<Dictionary<string, Dictionary<string, string>>>(parser);

Fix "Properties with [YamlIgnore] being accessed during serialization"

18 Mar 11:20
Compare
Choose a tag to compare

Ignore unmapped properties in YAML

28 Feb 12:12
Compare
Choose a tag to compare
  • Add a parameter to the deserializer to ignore unmapped properties in YAML.

Serialize actual types by default

14 Jan 23:30
Compare
Choose a tag to compare
  • Fix issue #26: Use the actual type of the objects instead of the statically detected one.
  • Merged the Core, Converters and RepresentationModel assemblies. The NuGet packages YamlDotNet.Core and YamlDotNet.RepresentationModel are now a single package, named YamlDotNet.
  • Removed YamlDotNet.Configuration and YamlDotNet.Converters.
  • Line numbers in error messages now start at one.
  • TypeConverter is now used to cast list items.
  • Various code improvements.
  • More and better unit tests.

Serialize actual types by default

17 Oct 09:42
Compare
Choose a tag to compare
Pre-release

This is a pre-release version that fixes issue #26 and simmilar problems by using the runtime type of the serialized objects instead of the statically-defined type.

The two packages YamlDotNet.Core and YamlDotNet.RepresentationModel have been merged into a single package, YamlDotNet.

Important bug fix and minor api changes

24 Aug 15:33
Compare
Choose a tag to compare

Bug fixes:

  • Fix error in newline handling when emitting folded scalars.

API Changes:

  • Extract the interface of Parser and Emitter classes.

Major release with new API

24 Aug 15:46
Compare
Choose a tag to compare
  • YamlSerializer has been replaced by the Deserializer class. It offer the same functionality of YamlSerializer but is easier to maintain and extend.
    • Breaking change: DeserializationOverrides is no longer supported. If you need this, please file a bug and we will analyze it.
    • Breaking change: IDeserializationContext is no longer supported. If you need this, please file a bug and we will analyze it.
    • Tag mappings are registered directly on the Deserializer using RegisterTagMapping()
    • ObjectFactory is specified in the constructor, if required.
  • Bug fixes to the Serializer:
    • Fix bug when serializing lists with nulls inside. e9019d5
  • Adds a YAML editor add-in for Visual Studio 2012. Available on the Visual Studio Gallery.