Skip to content

Commit

Permalink
v2.2.4 (#26)
Browse files Browse the repository at this point in the history
- *Fixed:* `AddParameter` now correctly accepts a value of any type; not just limited to `string` values.
  • Loading branch information
chullybun authored Nov 12, 2024
1 parent cf94bc9 commit 3f9e21e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Represents the **NuGet** versions.

## v2.2.4
- *Fixed:* `AddParameter` now correctly accepts a value of any type; not just limited to `string` values.

## v2.2.3
- *Fixed*: Updated `System.Text.Json` package depenedency to latest; resolve [Microsoft Security Advisory CVE-2024-43485](https://github.com/advisories/GHSA-8g4q-xg66-9fp4).

Expand Down
2 changes: 1 addition & 1 deletion src/OnRamp/CodeGeneratorArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public CodeGeneratorArgs AddAssembly(params Assembly[] assemblies)
/// <param name="key">The parameter name.</param>
/// <param name="value">The parameter value.</param>
/// <returns>The current <see cref="CodeGeneratorArgs"/> instance to support fluent-style method-chaining.</returns>
public CodeGeneratorArgs AddParameter(string key, string? value)
public CodeGeneratorArgs AddParameter<T>(string key, T value)
{
((ICodeGeneratorArgs)this).AddParameter(key, value);
return this;
Expand Down
6 changes: 3 additions & 3 deletions src/OnRamp/OnRamp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>OnRamp</RootNamespace>
<Version>2.2.3</Version>
<Version>2.2.4</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Avanade</Authors>
<Company>Avanade</Company>
Expand Down Expand Up @@ -50,11 +50,11 @@
<ItemGroup>
<PackageReference Include="Handlebars.Net" Version="2.1.6" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
<PackageReference Include="Pluralize.NET" Version="1.0.2" />
<PackageReference Include="StrongNamer" Version="0.2.5" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
<PackageReference Include="YamlDotNet" Version="16.0.0" />
<PackageReference Include="YamlDotNet" Version="16.2.0" />
</ItemGroup>

</Project>

0 comments on commit 3f9e21e

Please sign in to comment.