diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 973c858..c088468 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,8 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x, 19.x, 20.x, 21.x, 22.x, 23.x] - coherence-version: [22.06.12, 14.1.2-0-2, 25.03.1] + node-version: [20.x, 22.x, 24.x] + coherence-version: [22.06.12, 14.1.2-0-2, 25.03.2] steps: - uses: actions/checkout@v4 @@ -42,6 +42,8 @@ jobs: - run: echo "/tmp/grpc/bin" >> $GITHUB_PATH # install project deps - run: npm install + # print version of typescript + - run: npx tsc -v # run tests - run: COHERENCE_VERSION=${{ matrix.coherence-version }} npm run test-cycle # run tests using TLS diff --git a/.github/workflows/discovery.yml b/.github/workflows/discovery.yml index 35035f2..10cd8e7 100644 --- a/.github/workflows/discovery.yml +++ b/.github/workflows/discovery.yml @@ -27,8 +27,8 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x, 21.x, 22.x, 23.x] - coherence-version: [22.06.12, 14.1.2-0-2, 25.03.1] + node-version: [20.x, 22.x, 24.x] + coherence-version: [22.06.12, 14.1.2-0-2, 25.03.2] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e069007..68cb06d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,10 @@ jobs: with: ref: ${{ github.event.release.target_commitish }} # install Node.js - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.15.x + node-version: 20.19.x # Specifies the registry, this field is required! registry-url: https://registry.npmjs.org/ # install protoc @@ -37,8 +37,8 @@ jobs: - run: echo "/tmp/grpc/bin" >> $GITHUB_PATH - run: npm install # run unit tests - - run: COHERENCE_VERSION=22.06.11 npm run test-cycle - - run: COHERENCE_VERSION=25.03.1 npm run test-cycle + - run: COHERENCE_VERSION=22.06.12 npm run test-cycle + - run: COHERENCE_VERSION=25.03.2 npm run test-cycle - run: npm install --no-save typedoc # generate dist which runs other tasks - run: npm run dist diff --git a/README.md b/README.md index c350f20..d4ba287 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ the network transport. ### Requirements * 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) -* Node `18.15.x` or later +* Node `20.19.x` or later * NPM `9.x` or later ### Usage @@ -20,7 +20,7 @@ the network transport. 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. ```bash -docker run -d -p 1408:1408 ghcr.io/oracle/coherence-ce:25.03.1 +docker run -d -p 1408:1408 ghcr.io/oracle/coherence-ce:25.03.2 ``` 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" @@ -28,11 +28,11 @@ or to save some keystrokes/time, use the included npm script, `coh-up` to start npm run coh-up ``` -**Important!** When calling `coh-up` or `coh-down`, the LTS version of Coherence will be used (`22.06.11`). -To use a later Coherence version, such as `25.03.1`, prefix the calls with, or export `COHERENCE_VERSION=`. +**Important!** When calling `coh-up` or `coh-down`, the LTS version of Coherence will be used (`22.06.12`). +To use a later Coherence version, such as `25.03.2`, prefix the calls with, or export `COHERENCE_VERSION=`. For example: ```bash -COHERENCE_VERSION=25.03.1 npm run coh-up +COHERENCE_VERSION=25.03.2 npm run coh-up ``` 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 Coherence `25.03` or later. If using Coherence `22.06.x`, these types will be returned as Number. It is recommended using `25.03` if intentionally using `java.math.BigInteger` or `java.math.BigDecimal` as part of your application. -| Java Type | JavascriptType | -|----------------------|------------------------| -| java.math.BigInteger | BigInt (ECMA standard) | -| java.math.BigDecimal | Decimal ([decimal.js](https://www.npmjs.com/package/decimal.js)) | +| Java Type | JavascriptType | +|----------------------|------------------------------------------------------------------| +| java.math.BigInteger | BigInt (ECMA standard) | +| java.math.BigDecimal | Decimal ([decimal.js](https://www.npmjs.com/package/decimal.js)) | ### Examples