Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump YamlDotNet from 3.3.0 to 5.1.0 in /clang-tools-extra/clang-tidy-vs/ClangTidy #67

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 2020

Bumps YamlDotNet from 3.3.0 to 5.1.0.

Release notes

Sourced from YamlDotNet's releases.

v5.1.0

Improvements:

  • Add interfaces for serializer and deserializer (fixes #350).

Fixes:

  • Fixed issue #348 that caused the assembly to have version 0.0.0.0.

Metadata update

This release adds the repository location to the package metadata. No functional changes were made.

Security issues and dropping legacy behaviors

/!\ This release fixes a security issue. It is strongly recommended to upgrade, mainly if you are parsing documents from sources that you do not trust.

Many thanks to Kurt Boberg, from the DocuSign Application Security Team, who identified this issue and provided feedback on mitigation strategies.

  • Remove the legacy backwards-compatibe syntax that enabled to create Serializer and Deserializer directly then changing their configutation.
    In most cases, the calls to the constructors should be replaced by instantiations of SerializerBuilder and DeserializerBuilder. These can be configured at will, then used to create instances of (De)serializer. It is still possible to use the default constructors, if no configuration is needed.

  • Drop support for specifying arbitrary type names in tags.
    Support for automatically resolving a fully qualified type name from a tag has been discontinued. That feature was poorly designed and not standard.
    During deserialization, each tag mapping must be explicitly registered. During serialization, when using the EnsureRoundtrip method, it is necessary to register tag mappings for each type that will require a tag, that is, any type that is used as the value of a property with a different declared type.

  • Fix bug where deserialized values were not being converted to the destination type.

    var sut = new DeserializerBuilder()
        .WithTagMapping("!dbl", typeof(DoublyConverted))
        .Build();
    // The scalar "hello" will first be converted to DoublyConverted
    // then that value will be converted to int.
    var result = sut.Deserialize<int>("!dbl hello");
    Assert.Equal(5, result);

Add support for (de)serialization of System.Type

No release notes provided.

Cleanup the project

... (truncated)

Changelog

Sourced from YamlDotNet's changelog.

Release notes

Release 8.1.2

Bug fixes

  • Merge #483 - Allow values after DocumentStart token
  • Merge #497 - Fix indentation check for first content line - fixes #492

Previous releases

... (truncated)

Commits

Dependabot compatibility score

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

@wsmoses wsmoses closed this Oct 7, 2020
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2020

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@wsmoses wsmoses deleted the dependabot/nuget/clang-tools-extra/clang-tidy-vs/ClangTidy/YamlDotNet-5.1.0 branch October 7, 2020 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant