Skip to content

Commit 6c89be2

Browse files
authored
update to use node 20 by default (#835)
* update to use node 20 by default * remove inadvertent package 20 * Update CHANGELOG.md
1 parent 200821f commit 6c89be2

File tree

7 files changed

+349
-210
lines changed

7 files changed

+349
-210
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [3.10.0] - TBD
99

10+
### Changed
11+
12+
- Use Node 20 by default. Node 20 will be supported by AWS into 2026. Upgrade was
13+
not done to Node 22 because it requires upgrading the ava/typescript library.
14+
1015
### Fixed
1116

1217
- Removed inapplicable `stac_version` and `stac_extensions` fields from ItemCollection
@@ -484,6 +489,7 @@ Compliant with STAC 0.9.0
484489

485490
<!-- [unreleased]: https://github.com/stac-utils/stac-api/compare/v3.6.0...main -->
486491

492+
[3.10.0]: https://github.com/stac-utils/stac-api/compare/v3.9.0...v3.10.0
487493
[3.9.0]: https://github.com/stac-utils/stac-api/compare/v3.8.0...v3.9.0
488494
[3.8.0]: https://github.com/stac-utils/stac-api/compare/v3.7.0...v3.8.0
489495
[3.7.0]: https://github.com/stac-utils/stac-api/compare/v3.6.0...v3.7.0

README.md

Lines changed: 73 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -4,65 +4,68 @@
44

55
![push event badge](https://github.com/stac-utils/stac-server/workflows/Push%20Event/badge.svg)
66

7-
- [Overview](#overview)
8-
- [Architecture](#architecture)
9-
- [Migration](#migration)
10-
- [Warnings](#warnings)
11-
- [3.1.0](#310)
12-
- [OpenSearch Version 2.11](#opensearch-version-211)
13-
- [3.0.0](#300)
14-
- [Node 18 update](#node-18-update)
15-
- [2.4.0](#240)
16-
- [OpenSearch Version 2.9](#opensearch-version-29)
17-
- [2.3.0](#230)
18-
- [OpenSearch Version 2.7](#opensearch-version-27)
19-
- [0.x or 1.x -\> 2.x](#0x-or-1x---2x)
20-
- [Fine-grained Access Control](#fine-grained-access-control)
21-
- [Enabling Post-ingest SNS publishing](#enabling-post-ingest-sns-publishing)
22-
- [0.4.x -\> 0.5.x](#04x---05x)
23-
- [Elasticsearch to OpenSearch Migration](#elasticsearch-to-opensearch-migration)
24-
- [Preferred Elasticsearch to OpenSearch Migration Process](#preferred-elasticsearch-to-opensearch-migration-process)
25-
- [Granting Access for Thumbnails](#granting-access-for-thumbnails)
26-
- [0.3.x -\> 0.4.x](#03x---04x)
27-
- [Elasticsearch upgrade from 7.9 to 7.10](#elasticsearch-upgrade-from-79-to-710)
28-
- [Disable automatic index creation](#disable-automatic-index-creation)
29-
- [Validate index mappings](#validate-index-mappings)
30-
- [Usage](#usage)
31-
- [Deployment](#deployment)
32-
- [OpenSearch Configuration](#opensearch-configuration)
33-
- [Disable automatic index creation](#disable-automatic-index-creation-1)
34-
- [OpenSearch fine-grained access control](#opensearch-fine-grained-access-control)
35-
- [Option 1 - API method](#option-1---api-method)
36-
- [Option 2 - Dashboard method](#option-2---dashboard-method)
37-
- [Populating and accessing credentials](#populating-and-accessing-credentials)
38-
- [Create collection index](#create-collection-index)
39-
- [Proxying stac-server through CloudFront](#proxying-stac-server-through-cloudfront)
40-
- [Locking down transaction endpoints](#locking-down-transaction-endpoints)
41-
- [AWS WAF Rule Conflicts](#aws-waf-rule-conflicts)
42-
- [API Gateway Logging](#api-gateway-logging)
43-
- [Queryables](#queryables)
44-
- [Filter Extension](#filter-extension)
45-
- [Query Extension](#query-extension)
46-
- [Aggregation](#aggregation)
47-
- [Ingesting Data](#ingesting-data)
48-
- [Ingesting large items](#ingesting-large-items)
49-
- [Subscribing to SNS Topics](#subscribing-to-sns-topics)
50-
- [Ingest Errors](#ingest-errors)
51-
- [Supporting Cross-cluster Search and Replication](#supporting-cross-cluster-search-and-replication)
52-
- [Cross-cluster Search](#cross-cluster-search)
53-
- [Cross-cluster Replication](#cross-cluster-replication)
54-
- [Pre- and Post-Hooks](#pre--and-post-hooks)
55-
- [Pre-Hook](#pre-hook)
56-
- [Post-Hook](#post-hook)
57-
- [Request Flow](#request-flow)
58-
- [Notes](#notes)
59-
- [Development](#development)
60-
- [Running Locally](#running-locally)
61-
- [Running Unit Tests](#running-unit-tests)
62-
- [Running System and Integration Tests](#running-system-and-integration-tests)
63-
- [Updating the OpenAPI specification](#updating-the-openapi-specification)
64-
- [About](#about)
65-
- [License](#license)
7+
- [stac-server](#stac-server)
8+
- [Overview](#overview)
9+
- [Architecture](#architecture)
10+
- [Migration](#migration)
11+
- [Warnings](#warnings)
12+
- [3.10.0](#3100)
13+
- [Node 20 update](#node-20-update)
14+
- [3.1.0](#310)
15+
- [OpenSearch Version 2.11](#opensearch-version-211)
16+
- [3.0.0](#300)
17+
- [Node 18 update](#node-18-update)
18+
- [2.4.0](#240)
19+
- [OpenSearch Version 2.9](#opensearch-version-29)
20+
- [2.3.0](#230)
21+
- [OpenSearch Version 2.7](#opensearch-version-27)
22+
- [0.x or 1.x -\> 2.x](#0x-or-1x---2x)
23+
- [Fine-grained Access Control](#fine-grained-access-control)
24+
- [Enabling Post-ingest SNS publishing](#enabling-post-ingest-sns-publishing)
25+
- [0.4.x -\> 0.5.x](#04x---05x)
26+
- [Elasticsearch to OpenSearch Migration](#elasticsearch-to-opensearch-migration)
27+
- [Preferred Elasticsearch to OpenSearch Migration Process](#preferred-elasticsearch-to-opensearch-migration-process)
28+
- [Granting Access for Thumbnails](#granting-access-for-thumbnails)
29+
- [0.3.x -\> 0.4.x](#03x---04x)
30+
- [Elasticsearch upgrade from 7.9 to 7.10](#elasticsearch-upgrade-from-79-to-710)
31+
- [Disable automatic index creation](#disable-automatic-index-creation)
32+
- [Validate index mappings](#validate-index-mappings)
33+
- [Usage](#usage)
34+
- [Deployment](#deployment)
35+
- [OpenSearch Configuration](#opensearch-configuration)
36+
- [Disable automatic index creation](#disable-automatic-index-creation-1)
37+
- [OpenSearch fine-grained access control](#opensearch-fine-grained-access-control)
38+
- [Option 1 - API method](#option-1---api-method)
39+
- [Option 2 - Dashboard method](#option-2---dashboard-method)
40+
- [Populating and accessing credentials](#populating-and-accessing-credentials)
41+
- [Create collection index](#create-collection-index)
42+
- [Proxying stac-server through CloudFront](#proxying-stac-server-through-cloudfront)
43+
- [Locking down transaction endpoints](#locking-down-transaction-endpoints)
44+
- [AWS WAF Rule Conflicts](#aws-waf-rule-conflicts)
45+
- [API Gateway Logging](#api-gateway-logging)
46+
- [Queryables](#queryables)
47+
- [Filter Extension](#filter-extension)
48+
- [Query Extension](#query-extension)
49+
- [Aggregation](#aggregation)
50+
- [Ingesting Data](#ingesting-data)
51+
- [Ingesting large items](#ingesting-large-items)
52+
- [Subscribing to SNS Topics](#subscribing-to-sns-topics)
53+
- [Ingest Errors](#ingest-errors)
54+
- [Supporting Cross-cluster Search and Replication](#supporting-cross-cluster-search-and-replication)
55+
- [Cross-cluster Search](#cross-cluster-search)
56+
- [Cross-cluster Replication](#cross-cluster-replication)
57+
- [Pre- and Post-Hooks](#pre--and-post-hooks)
58+
- [Pre-Hook](#pre-hook)
59+
- [Post-Hook](#post-hook)
60+
- [Request Flow](#request-flow)
61+
- [Notes](#notes)
62+
- [Development](#development)
63+
- [Running Locally](#running-locally)
64+
- [Running Unit Tests](#running-unit-tests)
65+
- [Running System and Integration Tests](#running-system-and-integration-tests)
66+
- [Updating the OpenAPI specification](#updating-the-openapi-specification)
67+
- [About](#about)
68+
- [License](#license)
6669

6770
## Overview
6871

@@ -159,6 +162,17 @@ apiLambda --> opensearch
159162
name, reindex the existing index into the newly-created index, delete and re-created
160163
the existing index by creating a collection, and reindex back into the index.
161164

165+
### 3.10.0
166+
167+
#### Node 20 update
168+
169+
The default Lambda deployment environment is now Node 20. The major difference between
170+
the Node 18 and Node 20 Lambda environment is the update of the underlying Linux version
171+
from Amazon Linux 2 to Amazon Linux 2023.
172+
173+
To update the deployment to use Node 18, modify the serverless config file value
174+
`provider.runtime` to be `nodejs20.x` and the application re-deployed.
175+
162176
### 3.1.0
163177

164178
#### OpenSearch Version 2.11

0 commit comments

Comments
 (0)