#592 adds the ability specify additional indentation for lists. By default, the emitter emits:
list:
- item1
- item2
By using this option, the emitter will output:
list:
- item1
- item2
Bug fixes
#598 Fixed AnchorNotFoundException if there is a reference to an anchor of a node which is being deserialized. This happens in cyclic references.
Other changes
Breaking - Binary serialization support has been removed as there was no practical use-case for it.
Refactor Portability.cs into conditionally included files to improve maintainability.
There is now a set of directories under YamlDotNet/Helpers/Portability. Each directory's name contains a list of target platforms, separated by +. Each of those files is included only when building for one of those target platforms. Each directory may also contain a subsirectory named others. The files in this directory are included only when building for one target platform that is not in it's parent name.
Make the type Nothing a ValueType
There's no need for it to be a reference type.
Use a custom type to represent anchor names
This enables the compiler to detect when we pass something else
where an anchor name is expected.
Use a custom type to represent tag names
This enables the compiler to detect when we pass something else
where a tag name is expected.
Release notes are no longer stored in the repository, because this forced a new meaningless commit to be created for each release.
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 9.1.4 to 10.0.0.
Release notes
Sourced from YamlDotNet's releases.
Commits
a2d6811
Add job to create a new release5f7cc9e
Merge pull request #598 from 210342/Handle-graph-cycles - Fix cyclic references806fd23
Code cleanup and more tests7cd7267
Create a promise right after seeing an anchor47d41c7
Merge pull request #595 from grapefrukt/master07c67d8
Corrected link to Unity Asset store6698414
Use a custom type to represent tag names315c368
Use a custom type to represent anchor names6b2cfca
Make the type Nothing a ValueType4913db2
Refactor Portability.cs into conditionally included files to improve maintain...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)