Skip to content

Commit b49f021

Browse files
Remove support for Go 1.21 (#753)
Since the release of Go 1.23 on 2024-08-13, Go 1.21 is no longer a supported Go release. Signed-off-by: Mark S. Lewis <[email protected]>
1 parent 58fca4e commit b49f021

File tree

8 files changed

+21
-22
lines changed

8 files changed

+21
-22
lines changed

.github/workflows/test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
fail-fast: false
5151
matrix:
5252
go-version:
53-
- "1.21"
5453
- "1.22"
5554
- "1.23"
5655
include:
@@ -85,7 +84,7 @@ jobs:
8584
fail-fast: false
8685
matrix:
8786
go-version:
88-
- "1.21"
87+
- "1.22"
8988
- "1.23"
9089
env:
9190
SOFTHSM2_CONF: ${{ github.workspace }}/softhsm2.conf

.github/workflows/verify-versions.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77
contents: read
88

99
env:
10-
GATEWAY_VERSION: 1.5.2
10+
GATEWAY_VERSION: 1.6.0
1111

1212
jobs:
1313
go:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ See the [gateway.proto file](https://github.com/hyperledger/fabric-protos/blob/m
2525
This repository comprises three functionally equivalent client APIs, written in Go, Typescript, and Java. In order to
2626
build these components, the following need to be installed and available in the PATH:
2727

28-
- [Go 1.21+](https://go.dev/)
28+
- [Go 1.22+](https://go.dev/)
2929
- [Node 18+](https://nodejs.org/)
3030
- [Java 11+](https://adoptium.net/)
3131
- [Docker](https://www.docker.com/)

docs/compatibility.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Each minor release version of Fabric Gateway client API targets the current supp
44

55
The following table shows versions of Fabric, programming language runtimes, and other dependencies that are explicitly tested and that are supported for use with the latest version of the Fabric Gateway client API.
66

7-
| | Tested | Supported |
8-
| ------------ | ---------------- | ---------------- |
9-
| **Fabric** | 2.5 | 2.4.4+ |
10-
| **Go** | 1.21, 1.22, 1.23 | 1.21, 1.22, 1.23 |
11-
| **Node** | 18, 20, 22 | 18, 20, 22 |
12-
| **Java** | 11, 17, 21 | 8, 11, 17, 21 |
13-
| **Platform** | Ubuntu 24.04 | |
7+
| | Tested | Supported |
8+
| ------------ | ------------ | ------------- |
9+
| **Fabric** | 2.5 | 2.4.4+ |
10+
| **Go** | 1.22, 1.23 | 1.22, 1.23 |
11+
| **Node** | 18, 20, 22 | 18, 20, 22 |
12+
| **Java** | 11, 17, 21 | 8, 11, 17, 21 |
13+
| **Platform** | Ubuntu 24.04 | |

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/hyperledger/fabric-gateway
22

3-
go 1.21.0
3+
go 1.22.0
44

55
require (
66
github.com/cucumber/godog v0.14.1

java/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>org.hyperledger.fabric</groupId>
99
<artifactId>fabric-gateway</artifactId>
10-
<version>1.5.2-SNAPSHOT</version>
10+
<version>1.6.0-SNAPSHOT</version>
1111
<packaging>jar</packaging>
1212

1313
<name>fabric-gateway</name>
@@ -62,7 +62,7 @@
6262
<dependency>
6363
<groupId>io.grpc</groupId>
6464
<artifactId>grpc-bom</artifactId>
65-
<version>1.66.0</version>
65+
<version>1.68.0</version>
6666
<type>pom</type>
6767
<scope>import</scope>
6868
</dependency>
@@ -307,7 +307,7 @@
307307
<goal>check</goal>
308308
</goals>
309309
<configuration>
310-
<rules/>
310+
<rules />
311311
</configuration>
312312
</execution>
313313
</executions>
@@ -453,8 +453,8 @@
453453
<configuration>
454454
<checkSkip>${skipUnitTests}</checkSkip>
455455
<java>
456-
<trimTrailingWhitespace/>
457-
<endWithNewline/>
456+
<trimTrailingWhitespace />
457+
<endWithNewline />
458458
<palantirJavaFormat>
459459
<version>2.47.0</version>
460460
<style>PALANTIR</style>

node/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hyperledger/fabric-gateway",
3-
"version": "1.5.2",
3+
"version": "1.6.0",
44
"description": "Hyperledger Fabric Gateway client API for Node",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -42,12 +42,12 @@
4242
},
4343
"devDependencies": {
4444
"@eslint/eslintrc": "^3.1.0",
45-
"@eslint/js": "^9.9.0",
45+
"@eslint/js": "^9.11.0",
4646
"@tsconfig/node18": "^18.2.4",
4747
"@types/google-protobuf": "^3.15.12",
4848
"@types/jest": "^29.5.12",
49-
"@types/node": "^18.19.45",
50-
"eslint": "^9.9.0",
49+
"@types/node": "^18.19.50",
50+
"eslint": "^9.11.0",
5151
"eslint-config-prettier": "^9.1.0",
5252
"eslint-plugin-jest": "^28.8.0",
5353
"eslint-plugin-tsdoc": "^0.3.0",

scenario/node/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@tsconfig/node18": "^18.2.4",
3030
"@types/node": "^18.19.45",
3131
"cucumber-console-formatter": "^1.0.0",
32-
"eslint": "^9.9.0",
32+
"eslint": "^9.11.0",
3333
"eslint-config-prettier": "^9.1.0",
3434
"expect": "^29.7.0",
3535
"npm-run-all": "^4.1.5",

0 commit comments

Comments
 (0)