#613 Fix dates not round-tripping correctly in all cases.
#608 Allow omitting empty collections via DefaultValuesHandling.
Release 11.1.1
Bugfixes
#600 Fix nullable enum roundtrip (fixes #544)
There was a problem deserializing nullable enums that was introduced with release 9.1.0.
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.
var sut = new DeserializerBuilder()
.WithNamingConvention(CamelCaseNamingConvention.Instance)
.WithTypeMapping<ICar, Car>()
.WithTypeMapping<IModelSpec, ModelSpec>()
.Build();
#603 Fix nullable annotation of TagName implicit converter.
#602 Fix nullable annotations for AnchorName implicit converter.
Release 11.0.1
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.
Release 10.1.0
#584 Add support for adding comments to properties.
The YamlMember attribute now has a Description property. When set, a comment is emitted when serializing that property:
class Person
{
... (truncated)
Commits
665b182 Merge pull request #621 from pensono/nullable-struct
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps YamlDotNet from 8.1.2 to 11.2.1.
Release notes
Sourced from YamlDotNet's releases.
... (truncated)
Commits
665b182
Merge pull request #621 from pensono/nullable-struct78ff21e
Fix nullable struct serialization78a57da
Merge pull request #608 from premun/DefaultValuesOrEmpty3bea68e
Merge pull request #613 from gjdonkers/datetime-deserializera980a34
Tested best implementation ofDateTimeStyles.RoundtripKind
eb00bed
Replaced withRoundtripKind
as suggested173fe44
Remove null list95bca09
Test presence of non empty collectionsb71fbf2
Add removed testca109ec
Fix naming and docsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)