Skip to content

Commit 7b25fcf

Browse files
authored
Update supported and tested versions of Node. (#147)
* Update supported and tested versions of Node. Update to latest versions of Coherence
1 parent 6309f67 commit 7b25fcf

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
node-version: [18.x, 19.x, 20.x, 21.x, 22.x, 23.x]
31-
coherence-version: [22.06.12, 14.1.2-0-2, 25.03.1]
30+
node-version: [20.x, 22.x, 24.x]
31+
coherence-version: [22.06.12, 14.1.2-0-2, 25.03.2]
3232

3333
steps:
3434
- uses: actions/checkout@v4
@@ -42,6 +42,8 @@ jobs:
4242
- run: echo "/tmp/grpc/bin" >> $GITHUB_PATH
4343
# install project deps
4444
- run: npm install
45+
# print version of typescript
46+
- run: npx tsc -v
4547
# run tests
4648
- run: COHERENCE_VERSION=${{ matrix.coherence-version }} npm run test-cycle
4749
# run tests using TLS

.github/workflows/discovery.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
node-version: [20.x, 21.x, 22.x, 23.x]
31-
coherence-version: [22.06.12, 14.1.2-0-2, 25.03.1]
30+
node-version: [20.x, 22.x, 24.x]
31+
coherence-version: [22.06.12, 14.1.2-0-2, 25.03.2]
3232

3333
steps:
3434
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
with:
2626
ref: ${{ github.event.release.target_commitish }}
2727
# install Node.js
28-
- name: Use Node.js 18.x
28+
- name: Use Node.js 20.x
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: 18.15.x
31+
node-version: 20.19.x
3232
# Specifies the registry, this field is required!
3333
registry-url: https://registry.npmjs.org/
3434
# install protoc
@@ -37,8 +37,8 @@ jobs:
3737
- run: echo "/tmp/grpc/bin" >> $GITHUB_PATH
3838
- run: npm install
3939
# run unit tests
40-
- run: COHERENCE_VERSION=22.06.11 npm run test-cycle
41-
- run: COHERENCE_VERSION=25.03.1 npm run test-cycle
40+
- run: COHERENCE_VERSION=22.06.12 npm run test-cycle
41+
- run: COHERENCE_VERSION=25.03.2 npm run test-cycle
4242
- run: npm install --no-save typedoc
4343
# generate dist which runs other tasks
4444
- run: npm run dist

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ the network transport.
1212

1313
### Requirements
1414
* Coherence CE versions `22.06`, `14.1.2-0-0`, `25.03` or later (or equivalent non-open source editions) with a configured [gRPC Proxy](https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.2206/develop-remote-clients/using-coherence-grpc-server.html)
15-
* Node `18.15.x` or later
15+
* Node `20.19.x` or later
1616
* NPM `9.x` or later
1717

1818
### Usage
1919

2020
Before testing the library, you must ensure a Coherence cluster is available. For local development, we recommend using the Coherence CE Docker image; it contains everything necessary for the client to operate correctly.
2121

2222
```bash
23-
docker run -d -p 1408:1408 ghcr.io/oracle/coherence-ce:25.03.1
23+
docker run -d -p 1408:1408 ghcr.io/oracle/coherence-ce:25.03.2
2424
```
2525

2626
or to save some keystrokes/time, use the included npm script, `coh-up` to start a two-member Cluster with the gRPC port at 1408"
2727
```bash
2828
npm run coh-up
2929
```
3030

31-
**Important!** When calling `coh-up` or `coh-down`, the LTS version of Coherence will be used (`22.06.11`).
32-
To use a later Coherence version, such as `25.03.1`, prefix the calls with, or export `COHERENCE_VERSION=<desired-version>`.
31+
**Important!** When calling `coh-up` or `coh-down`, the LTS version of Coherence will be used (`22.06.12`).
32+
To use a later Coherence version, such as `25.03.2`, prefix the calls with, or export `COHERENCE_VERSION=<desired-version>`.
3333
For example:
3434
```bash
35-
COHERENCE_VERSION=25.03.1 npm run coh-up
35+
COHERENCE_VERSION=25.03.2 npm run coh-up
3636
```
3737

3838
For more details on the image, see the [documentation](https://github.com/oracle/coherence/tree/master/prj/coherence-docker).
@@ -54,10 +54,10 @@ The following table provides a listing of mappings between Java types and Javasc
5454
Coherence `25.03` or later. If using Coherence `22.06.x`, these types will be returned as Number. It is recommended
5555
using `25.03` if intentionally using `java.math.BigInteger` or `java.math.BigDecimal` as part of your application.
5656

57-
| Java Type | JavascriptType |
58-
|----------------------|------------------------|
59-
| java.math.BigInteger | BigInt (ECMA standard) |
60-
| java.math.BigDecimal | Decimal ([decimal.js](https://www.npmjs.com/package/decimal.js)) |
57+
| Java Type | JavascriptType |
58+
|----------------------|------------------------------------------------------------------|
59+
| java.math.BigInteger | BigInt (ECMA standard) |
60+
| java.math.BigDecimal | Decimal ([decimal.js](https://www.npmjs.com/package/decimal.js)) |
6161

6262
### Examples
6363

0 commit comments

Comments
 (0)