Releases: aaubry/YamlDotNet
Releases · aaubry/YamlDotNet
Bugfix
Implement merge keys
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"
This is a bugfix release that fixes issue #90.
Ignore unmapped properties in YAML
- Add a parameter to the deserializer to ignore unmapped properties in YAML.
Serialize actual types by default
- 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
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
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
- 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.