Skip to content

Commit e686584

Browse files
authored
Merge pull request #54 from andrewlock/yaml-dotnet
Update YamlDotNet version
2 parents e0369a3 + fe9ec34 commit e686584

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ PM> Install-Package NetEscapades.Configuration.Yaml
4949
When you install the package, it should be added to your _csproj_ file. Alternatively, you can add it directly by adding:
5050

5151
```xml
52-
<PackageReference Include="NetEscapades.Configuration.Yaml" Version="1.7.0" />
52+
<PackageReference Include="NetEscapades.Configuration.Yaml" Version="2.0.0" />
5353
```
5454

5555
To load a YAML file as part of your config, just load it as part of your normal `ConfigurationBuilder` setup in the `Program` class of your ASP.NET Core app.
@@ -134,7 +134,7 @@ When you install the package, it should be added to your _csproj_. Alternatively
134134

135135

136136
```xml
137-
<PackageReference Include="NetEscapades.Configuration.Remote" Version="1.5.0" />
137+
<PackageReference Include="NetEscapades.Configuration.Remote" Version="2.0.0" />
138138
```
139139

140140
To load a file from a remote configuration source as part of your config, just load it as part of your normal `ConfigurationBuilder` setup in the `Program` class of your ASP.NET Core app.
@@ -191,7 +191,7 @@ PM> Install-Package NetEscapades.Configuration.Vault
191191
When you install the package, it should be added to your _csproj_. Alternatively, you can add it directly by adding:
192192

193193
```xml
194-
<PackageReference Include="NetEscapades.Configuration.Vault" Version="0.7.0" />
194+
<PackageReference Include="NetEscapades.Configuration.Vault" Version="0.8.0" />
195195
```
196196

197197
You can load secrets from a Vault instance as part of your configuration build. You can use any supported authentication method supported by [`VaultSharp`](https://github.com/rajanadar/VaultSharp), which is used under the hood, but an extension method exists for using `AppRole` specifically.

src/NetEscapades.Configuration.Remote/NetEscapades.Configuration.Remote.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>Remote configuration provider implementation to use with Microsoft.Extensions.Configuration for loading settings from a remote source</Description>
5-
<VersionPrefix>1.5.0</VersionPrefix>
5+
<VersionPrefix>2.0.0</VersionPrefix>
66
<TargetFrameworks>net461;net472;netstandard2.0</TargetFrameworks>
77
<AssemblyName>NetEscapades.Configuration.Remote</AssemblyName>
88
<PackageId>NetEscapades.Configuration.Remote</PackageId>

src/NetEscapades.Configuration.Validation/NetEscapades.Configuration.Validation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>A package to validate strongly typed configuration on app startup</Description>
5-
<VersionPrefix>1.1.0</VersionPrefix>
5+
<VersionPrefix>2.0.0</VersionPrefix>
66
<TargetFrameworks>net461;net472;netstandard2.0;netstandard2.1</TargetFrameworks>
77
<AssemblyName>NetEscapades.Configuration.Validation</AssemblyName>
88
<PackageId>NetEscapades.Configuration.Validation</PackageId>

src/NetEscapades.Configuration.Yaml/NetEscapades.Configuration.Yaml.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>YAML configuration provider implementation to use with Microsoft.Extensions.Configuration.</Description>
5-
<VersionPrefix>1.7.0</VersionPrefix>
5+
<VersionPrefix>2.0.0</VersionPrefix>
66
<TargetFrameworks>net461;net472;netstandard2.0</TargetFrameworks>
77
<AssemblyName>NetEscapades.Configuration.Yaml</AssemblyName>
88
<PackageId>NetEscapades.Configuration.Yaml</PackageId>
@@ -20,7 +20,7 @@
2020

2121
<ItemGroup>
2222
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*" PrivateAssets="all" />
23-
<PackageReference Include="YamlDotNet" Version="5.1.0" />
23+
<PackageReference Include="YamlDotNet" Version="6.1.2" />
2424
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.0" />
2525
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.0.0" />
2626
</ItemGroup>

src/NetEscapades.Configuration.Yaml/releasenotes.props

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<Project>
22
<PropertyGroup>
3-
<PackageReleaseNotes Condition="'$(VersionPrefix)' == '1.6.0'">
3+
<PackageReleaseNotes Condition="'$(VersionPrefix)' == '2.0.0'">
44
<![CDATA[
55
Features:
6-
* Add support for Null values in YAML files (Thanks mdschweda: https://github.com/mdschweda)
6+
* Upgrade YamlDotNet to 6.1.2 - this is a breaking change in the dependency as the YamlDotNet.Signed and YamlDotNet packages were merged
7+
* Update supported frameworks - only supports .NET 461, .NET 472, and .NET Standard 2.0 (dropped support for 1.x)
78
89
The following values are interpreted as 'null' during parsing (as per v1.1 of the spec http://yaml.org/type/null.html)
910

0 commit comments

Comments
 (0)