Skip to content

Commit cb64ca9

Browse files
committed
v2.36.2
1 parent 687d005 commit cb64ca9

10 files changed

Lines changed: 15 additions & 37 deletions

File tree

.github/workflows/build-test-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
RELEASE_VERSION: v2.36.1
11+
RELEASE_VERSION: v2.36.2
1212

1313
# Add workflow-level permissions
1414
permissions:

NpgsqlRest/NpgsqlRest.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3030
<PackageReadmeFile>README.MD</PackageReadmeFile>
3131
<DocumentationFile>bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile>
32-
<Version>2.36.0</Version>
33-
<AssemblyVersion>2.36.0</AssemblyVersion>
34-
<FileVersion>2.36.0</FileVersion>
35-
<PackageVersion>2.36.0</PackageVersion>
32+
<Version>2.36.2</Version>
33+
<AssemblyVersion>2.36.2</AssemblyVersion>
34+
<FileVersion>2.36.2</FileVersion>
35+
<PackageVersion>2.36.2</PackageVersion>
3636
</PropertyGroup>
3737

3838
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">

NpgsqlRest/NpgsqlRestBatch.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,8 @@ namespace NpgsqlRest;
44

55
public class NpgsqlRestBatch : NpgsqlBatch
66
{
7-
private NpgsqlBatch NpgsqlBatchClone()
8-
{
9-
#pragma warning disable CS8603 // Possible null reference return.
10-
return MemberwiseClone() as NpgsqlBatch;
11-
#pragma warning restore CS8603 // Possible null reference return.
12-
}
13-
14-
private static readonly NpgsqlRestBatch _instanceCache = new();
15-
167
public static NpgsqlBatch Create(NpgsqlConnection connection)
178
{
18-
var result = _instanceCache.NpgsqlBatchClone();
19-
result.Connection = connection;
20-
return result;
9+
return new NpgsqlBatch { Connection = connection };
2110
}
2211
}

NpgsqlRest/NpgsqlRestCommand.cs

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
1-
using Npgsql;
1+
using Npgsql;
22

33
namespace NpgsqlRest;
44

55
public class NpgsqlRestCommand : NpgsqlCommand
66
{
7-
private NpgsqlCommand NpgsqlCommandClone()
8-
{
9-
#pragma warning disable CS8603 // Possible null reference return.
10-
return MemberwiseClone() as NpgsqlCommand;
11-
#pragma warning restore CS8603 // Possible null reference return.
12-
}
13-
14-
private static readonly NpgsqlRestCommand InstanceCache = new();
15-
167
public static NpgsqlCommand Create(NpgsqlConnection connection)
178
{
18-
var result = InstanceCache.NpgsqlCommandClone();
19-
result.Connection = connection;
20-
return result;
9+
return new NpgsqlCommand { Connection = connection };
2110
}
22-
}
11+
}

NpgsqlRestClient/NpgsqlRestClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<InvariantGlobalization>true</InvariantGlobalization>
99
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
1010
<PublishAot>true</PublishAot>
11-
<Version>2.36.1</Version>
11+
<Version>2.36.2</Version>
1212
</PropertyGroup>
1313

1414
<ItemGroup>

NpgsqlRestClient/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
2.36.1
2+
2.36.2
33
*/
44
{
55
//

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Note: The changelog for the older version can be found here: [Changelog Archive]
44

55
---
66

7-
## Version [2.36.1](https://github.com/NpgsqlRest/NpgsqlRest/tree/2.36.0) (2025-09-29)
7+
## Version [2.36.1](https://github.com/NpgsqlRest/NpgsqlRest/tree/2.36.1) (2025-09-29)
88

99
[Full Changelog](https://github.com/NpgsqlRest/NpgsqlRest/compare/2.36.0...2.36.1)
1010

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:25.04 AS builder
22
WORKDIR /app
33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends wget ca-certificates && \
5-
wget https://github.com/NpgsqlRest/NpgsqlRest/releases/download/v2.36.0/npgsqlrest-linux64 -O npgsqlrest && \
5+
wget https://github.com/NpgsqlRest/NpgsqlRest/releases/download/v2.36.2/npgsqlrest-linux64 -O npgsqlrest && \
66
chmod +x npgsqlrest
77

88
FROM ubuntu:25.04

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "npgsqlrest",
3-
"version": "2.36.1",
3+
"version": "2.36.2",
44
"description": "Automatic REST API for PostgreSQL Databases Client Build",
55
"scripts": {
66
"postinstall": "node postinstall.js",

npm/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const os = require("os");
66
const https = require("https");
77

88
const downloadDir = "../.bin/";
9-
const downloadFrom = "https://github.com/NpgsqlRest/NpgsqlRest/releases/download/v2.36.1/";
9+
const downloadFrom = "https://github.com/NpgsqlRest/NpgsqlRest/releases/download/v2.36.2/";
1010

1111
function download(url, to, done) {
1212
https.get(url, (response) => {

0 commit comments

Comments
 (0)