microsoft / PSRule.Rules.GitHub

A suite of rules to validate GitHub repositories using PSRule.
MIT License
21 stars 15 forks source link

Bump YamlDotNet from 9.1.4 to 11.1.1 #61

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps YamlDotNet from 9.1.4 to 11.1.1.

Release notes

Sourced from YamlDotNet's releases.

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();
    
    Check this test for a more complete example

Other fixes

  • #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
    {
        public string Name { get; set; }
    
    [YamlMember(Description = &quot;This is the age&quot;)]
    public int Age { get; set; }
    
    [YamlMember(Description = &quot;male or female&quot;)]
    public string Sex { get; set; }
    

    }

... (truncated)

Commits
  • fedcbea #600 Fix nullable enum roundtrip
  • 381ffec Fix repository name detection on AppVeyor
  • 7ffbb84 Merge pull request #602 from meziantou/patch-1
  • 1961d66 Merge pull request #603 from meziantou/patch-2
  • b722b07 #604 Support for deserialization of interface types
  • 3219bbb Removed abstract method AddTypeMapping from BuilderSkeleton as this only appl...
  • abe677b Added another option to deserialize interface types by specifying their concr...
  • 4a86822 Fix nullable annotation of TagName implicit converter
  • 68c916b Fix nullable annotations for AnchorName implicit converter
  • a36b671 Merge branch 'master' of https://github.com/aaubry/YamlDotNet into nullable-e...
  • Additional commits viewable in compare view


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