Skip to content

Commit

Permalink
Remove support for Go 1.21 (#753)
Browse files Browse the repository at this point in the history
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 <Mark.S.Lewis@outlook.com>
  • Loading branch information
bestbeforetoday authored Sep 23, 2024
1 parent 58fca4e commit b49f021
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 22 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
fail-fast: false
matrix:
go-version:
- "1.21"
- "1.22"
- "1.23"
include:
Expand Down Expand Up @@ -85,7 +84,7 @@ jobs:
fail-fast: false
matrix:
go-version:
- "1.21"
- "1.22"
- "1.23"
env:
SOFTHSM2_CONF: ${{ github.workspace }}/softhsm2.conf
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: read

env:
GATEWAY_VERSION: 1.5.2
GATEWAY_VERSION: 1.6.0

jobs:
go:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ See the [gateway.proto file](https://github.com/hyperledger/fabric-protos/blob/m
This repository comprises three functionally equivalent client APIs, written in Go, Typescript, and Java. In order to
build these components, the following need to be installed and available in the PATH:

- [Go 1.21+](https://go.dev/)
- [Go 1.22+](https://go.dev/)
- [Node 18+](https://nodejs.org/)
- [Java 11+](https://adoptium.net/)
- [Docker](https://www.docker.com/)
Expand Down
14 changes: 7 additions & 7 deletions docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Each minor release version of Fabric Gateway client API targets the current supp

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.

| | Tested | Supported |
| ------------ | ---------------- | ---------------- |
| **Fabric** | 2.5 | 2.4.4+ |
| **Go** | 1.21, 1.22, 1.23 | 1.21, 1.22, 1.23 |
| **Node** | 18, 20, 22 | 18, 20, 22 |
| **Java** | 11, 17, 21 | 8, 11, 17, 21 |
| **Platform** | Ubuntu 24.04 | |
| | Tested | Supported |
| ------------ | ------------ | ------------- |
| **Fabric** | 2.5 | 2.4.4+ |
| **Go** | 1.22, 1.23 | 1.22, 1.23 |
| **Node** | 18, 20, 22 | 18, 20, 22 |
| **Java** | 11, 17, 21 | 8, 11, 17, 21 |
| **Platform** | Ubuntu 24.04 | |
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hyperledger/fabric-gateway

go 1.21.0
go 1.22.0

require (
github.com/cucumber/godog v0.14.1
Expand Down
10 changes: 5 additions & 5 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.hyperledger.fabric</groupId>
<artifactId>fabric-gateway</artifactId>
<version>1.5.2-SNAPSHOT</version>
<version>1.6.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>fabric-gateway</name>
Expand Down Expand Up @@ -62,7 +62,7 @@
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>1.66.0</version>
<version>1.68.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -307,7 +307,7 @@
<goal>check</goal>
</goals>
<configuration>
<rules/>
<rules />
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -453,8 +453,8 @@
<configuration>
<checkSkip>${skipUnitTests}</checkSkip>
<java>
<trimTrailingWhitespace/>
<endWithNewline/>
<trimTrailingWhitespace />
<endWithNewline />
<palantirJavaFormat>
<version>2.47.0</version>
<style>PALANTIR</style>
Expand Down
8 changes: 4 additions & 4 deletions node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperledger/fabric-gateway",
"version": "1.5.2",
"version": "1.6.0",
"description": "Hyperledger Fabric Gateway client API for Node",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -42,12 +42,12 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@eslint/js": "^9.11.0",
"@tsconfig/node18": "^18.2.4",
"@types/google-protobuf": "^3.15.12",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.45",
"eslint": "^9.9.0",
"@types/node": "^18.19.50",
"eslint": "^9.11.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.0",
"eslint-plugin-tsdoc": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion scenario/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@tsconfig/node18": "^18.2.4",
"@types/node": "^18.19.45",
"cucumber-console-formatter": "^1.0.0",
"eslint": "^9.9.0",
"eslint": "^9.11.0",
"eslint-config-prettier": "^9.1.0",
"expect": "^29.7.0",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit b49f021

Please sign in to comment.