Skip to content

Commit cd2cb6f

Browse files
committed
Workflow Versions Updates
- Reinstated support for Node.js 16 to make 3.x compatible with dashboard dependencies. - Removed OS 2.0 from Unreleased OS workflow - Updated compatibility workflow with all the newest even-numbered releases. Signed-off-by: Theo Truong <theotr@amazon.com>
1 parent b096274 commit cd2cb6f

File tree

5 files changed

+24
-25
lines changed

5 files changed

+24
-25
lines changed

.github/workflows/compatibility.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
secured: ['true', 'false']
2121
entry:
2222
- { opensearch_version: 1.1.0 }
23-
- { opensearch_version: 1.2.0 }
24-
- { opensearch_version: 1.2.1 }
25-
- { opensearch_version: 1.2.2 }
26-
- { opensearch_version: 1.2.3 }
2723
- { opensearch_version: 1.2.4 }
28-
- { opensearch_version: 1.3.0 }
29-
- { opensearch_version: 1.3.1 }
30-
- { opensearch_version: 1.3.2 }
31-
- { opensearch_version: 1.3.3 }
32-
- { opensearch_version: 2.0.0 }
24+
- { opensearch_version: 1.3.19 }
3325
- { opensearch_version: 2.0.1 }
26+
- { opensearch_version: 2.2.1 }
27+
- { opensearch_version: 2.4.1 }
28+
- { opensearch_version: 2.6.0 }
29+
- { opensearch_version: 2.8.0 }
30+
- { opensearch_version: 2.10.0 }
31+
- { opensearch_version: 2.12.0 }
32+
- { opensearch_version: 2.14.0 }
33+
- { opensearch_version: 2.16.0 }
3434
env:
3535
OPENSEARCH_VERSION: ${{ matrix.entry.opensearch_version }}
3636
SECURE_INTEGRATION: ${{ matrix.secured }}
@@ -50,10 +50,10 @@ jobs:
5050
run: |
5151
make cluster.clean cluster.opensearch.build cluster.opensearch.start
5252
53-
- name: Use Node.js 16.x
53+
- name: Use Node.js 20.x
5454
uses: actions/setup-node@v3
5555
with:
56-
node-version: 18.x
56+
node-version: 20.x
5757

5858
- name: Install
5959
run: |

.github/workflows/integration-unreleased.yml

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
matrix:
2121
entry:
2222
- { node_version: '18.x', opensearch_ref: '1.x', jdk_version: '11' }
23-
- { node_version: '18.x', opensearch_ref: '2.0', jdk_version: '17' }
2423
- { node_version: '18.x', opensearch_ref: '2.x', jdk_version: '17' }
2524
- { node_version: '18.x', opensearch_ref: 'main', jdk_version: '17' }
2625
steps:

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [18.x, 20.x, 22.x]
21+
node-version: [16.x, 18.x, 20.x, 22.x]
2222
os: [ubuntu-latest, windows-latest, macOS-13]
2323

2424
steps:

CHANGELOG.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
## [Unreleased]
77
### Added
88
### Dependencies
9-
- Bumps `@babel/traverse` from 7.22.8 to 7.24.7
10-
- Bumps `eslint-plugin-prettier` from 5.1.3 to 5.2.1
11-
- Bumps `simple-git` from 3.24.0 to 3.26.0
12-
- Bumps `aws4` from 1.13.0 to 1.13.2
139
### Changed
1410
### Deprecated
1511
### Removed
1612
### Fixed
17-
- Upgrade JSON11 from 1.1.2 to 2.0.0 to ensure UTF-8 safety when stringifying JSON data
18-
- Fixed typo cause JSON11 parse will always be execute when json string has number inside
1913
### Security
2014

2115
## [3.0.0]
@@ -24,12 +18,16 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2418
- Added missing API functions and modules.
2519
- Added missing request and response types.
2620
### Dependencies
27-
- Bumps `micromatch` from 4.0.7 to 4.0.8
28-
- Bumps `debug` from 4.3.6 to 4.3.7
29-
- Bumps `simple-statistics` from 7.8.4 to 7.8.5
30-
- Bumps `simple-git` from 3.25.0 to 3.26.0
21+
- Bumps `@babel/traverse` from 7.22.8 to 7.24.7
3122
- Bumps `@types/node` from 22.5.0 to 22.5.4
23+
- Bumps `aws4` from 1.13.0 to 1.13.2
3224
- Bumps `aws4` from 1.13.1 to 1.13.2
25+
- Bumps `debug` from 4.3.6 to 4.3.7
26+
- Bumps `eslint-plugin-prettier` from 5.1.3 to 5.2.1
27+
- Bumps `micromatch` from 4.0.7 to 4.0.8
28+
- Bumps `simple-git` from 3.24.0 to 3.26.0
29+
- Bumps `simple-git` from 3.25.0 to 3.26.0
30+
- Bumps `simple-statistics` from 7.8.4 to 7.8.5
3331
### Changed
3432
- All API functions are now generated from the OpenSearch API specification.
3533
- API request and response types are now generated from the OpenSearch API specification.
@@ -39,8 +37,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
3937
### Removed
4038
- Removed support for API param aliases. That is, the API functions now only accept params with the exact names specified in the OpenSearch API specification.
4139
- Removed support for overriding HTTP methods in API functions.
42-
- Removed support for Node.js 10 through 16. The minimum supported Node.js version is now 18.
40+
- Removed support for Node.js 10 through 14. The minimum supported Node.js version is now 16.
4341
### Fixed
42+
- Upgrade JSON11 from 1.1.2 to 2.0.0 to ensure UTF-8 safety when stringifying JSON data
43+
- Fixed typo cause JSON11 parse will always be executed when json string has number inside
4444
### Security
4545

4646
## [2.12.0]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"url": "https://github.com/opensearch-project/opensearch-js/issues"
125125
},
126126
"engines": {
127-
"node": ">=18",
127+
"node": ">=16",
128128
"yarn": "^1.22.10"
129129
},
130130
"tsd": {

0 commit comments

Comments
 (0)