Skip to content

Commit

Permalink
2.8.5
Browse files Browse the repository at this point in the history
2.8.5
  • Loading branch information
vbilopav committed Jun 25, 2024
1 parent 4eaebb0 commit 603eaaa
Show file tree
Hide file tree
Showing 10 changed files with 661 additions and 624 deletions.
4 changes: 2 additions & 2 deletions NpgsqlRest/MiddlewareExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public static IApplicationBuilder UseNpgsqlRest(this IApplicationBuilder builder
}
if (options.ValidateParameters is not null || options.ValidateParametersAsync is not null)
{
if (options.ValidateParameters is not null && parameter.Value is not null)
if (options.ValidateParameters is not null)
{
options.ValidateParameters(new(
context,
Expand All @@ -238,7 +238,7 @@ public static IApplicationBuilder UseNpgsqlRest(this IApplicationBuilder builder
queryStringValues: qsValue,
jsonBodyNode: null));
}
if (options.ValidateParametersAsync is not null && parameter.Value is not null)
if (options.ValidateParametersAsync is not null)
{
await options.ValidateParametersAsync(new(
context,
Expand Down
8 changes: 4 additions & 4 deletions NpgsqlRest/NpgsqlRest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.MD</PackageReadmeFile>
<DocumentationFile>bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile>
<Version>2.8.4</Version>
<AssemblyVersion>2.8.4</AssemblyVersion>
<FileVersion>2.8.4</FileVersion>
<PackageVersion>2.8.4</PackageVersion>
<Version>2.8.5</Version>
<AssemblyVersion>2.8.5</AssemblyVersion>
<FileVersion>2.8.5</FileVersion>
<PackageVersion>2.8.5</PackageVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
Expand Down
2 changes: 2 additions & 0 deletions NpgsqlRestClient/Arguments.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Text;
using Npgsql;
using NpgsqlRest;
using NpgsqlRest.HttpFiles;
using NpgsqlRest.TsClient;
Expand Down Expand Up @@ -40,6 +41,7 @@ public static bool Parse(string[] args)
Line("Versions:");
Line([
("Client Build", System.Reflection.Assembly.GetAssembly(typeof(Program))?.GetName()?.Version?.ToString() ?? "-"),
("Npgsql", System.Reflection.Assembly.GetAssembly(typeof(NpgsqlConnection))?.GetName()?.Version?.ToString() ?? "-"),
("NpgsqlRest", System.Reflection.Assembly.GetAssembly(typeof(NpgsqlRestOptions))?.GetName()?.Version?.ToString() ?? "-"),
("NpgsqlRest.HttpFiles", System.Reflection.Assembly.GetAssembly(typeof(HttpFileOptions))?.GetName()?.Version?.ToString() ?? "-"),
("NpgsqlRest.TsClient", System.Reflection.Assembly.GetAssembly(typeof(TsClientOptions))?.GetName()?.Version?.ToString() ?? "-"),
Expand Down
2 changes: 1 addition & 1 deletion NpgsqlRestClient/NpgsqlRestClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<InvariantGlobalization>true</InvariantGlobalization>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
<PublishAot>true</PublishAot>
<Version>1.2.7</Version>
<Version>1.2.8</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit 603eaaa

Please sign in to comment.