v0.5.0
[0.5.0] - 2022-12-23
Removed
- stac_api_version is no longer field in the root catalog. This was removed from the
STAC API spec several versions ago, in favor of the conformance classes. - STAC_API_VERSION environment variable is no longer supported. The version is now hard-coded
to 1.0.0-rc.2 lambdaHashingVersion: 20201221
is now the default for serverless, and has been removed
from the serverless example config file.
Added
- Adds support for authenticating to OpenSearch with a username and password when
fine-grained access control is enabled. - (Experimental) Aggregation Extension endpoint /aggregate
- Added pre-hook and post-hook Lambda examples
- POST /collections endpoint to create collections
- Configuration of shards and replicas for the indices containing Items can now be done
with environment variables ITEMS_INDICIES_NUM_OF_SHARDS and ITEMS_INDICIES_NUM_OF_REPLICAS. - (Experimental) Adds Item 'thumbnail' link to presign an s3 protocol thumbnail asset ARN
Changed
- ES_HOST variable is now OPENSEARCH_HOST, but both will work for now.
- ES_BATCH_SIZE variable is now INGEST_BATCH_SIZE. Both will work. It is recommended not to
configure this explicitly if not changing the value from the default of 500. - Landing Page (root) now has links for both GET and POST methods of search link relation
- The STAC API version is now 1.0.0-rc.2
- AWS OpenSearch Service OpenSearch 2.3 is used as the default instead of Elasticsearch 7.10.
See migration section in README.md. - The serverless.example.yml file now has zone awareness enabled and an even number of
Elasticsearch nodes - Upgrade serverless to 3.x
- Remove use of serverless-psuedo-parameters
- Upgrade to Node 16
Fixed
- Collections endpoint (/collections) now has
self
androot
link relations.
Deprecated
- ES_BATCH_SIZE variable (replaced by INGEST_BATCH_SIZE)
- ES_HOST variable (replaced by OPENSEARCH_HOST variable)
What's Changed
- Clarify that AWS CLI v2 is required by @marchuffnagle in #285
- Fix formatting of table in README by @marchuffnagle in #284
- Bump vm2 from 3.9.9 to 3.9.11 by @dependabot in #292
- add pre-hook and post-hook examples, upgrade serverless to 3.x, upgra… by @philvarner in #294
- POST /collections endpoint to create collection by @philvarner in #295
- fix a few packages that weren't updated during the node 16 update by @philvarner in #309
- Bump minimatch and @stoplight/spectral-core by @dependabot in #305
- when no collections exist, handle ES error instead of returning 500 by @philvarner in #299
- Use OpenSearch 2.3 by default instead of Elasticsearch 7.10, but provide compatibility for both by @philvarner in #310
- Update stac api version from 1.0.0-beta.5 to 1.0.0-rc.2 by @philvarner in #313
- limit above max no error by @philvarner in #315
- Bump simple-git from 3.14.1 to 3.15.1 by @dependabot in #314
- add search links in root fro both GET and POST by @philvarner in #319
- Fix a typo in a variable name by @kurtmckee in #318
- updates to serverless example for opensearch by @philvarner in #317
- Support for Aggregation Extension by @philvarner in #311
- Add support for fine-grained access control by @philvarner in #322
- add note about WAF SQL injection rule by @philvarner in #326
- add note about usage w/ mention of get query json by @philvarner in #327
- fix various issues with link relations by @philvarner in #328
- add shards and replicas configuration by @philvarner in #329
- Rename symbols that use elasticsearch to generic or opensearch by @philvarner in #323
- add support for collection->index name mapping by @philvarner in #331
- fix aggregate conformance class version by @philvarner in #340
- add self and root links to /items response by @philvarner in #333
- Several dependency upgrades prior to 0.5.0 release by @philvarner in #335
- Add endpoint and link for retrieving a thumbnail by @philvarner in #341
- add guard around item roles not existing in thumbnail check by @philvarner in #343
- add config for thumbnail permissions by @philvarner in #345
New Contributors
- @kurtmckee made their first contribution in #318
Full Changelog: v0.4.1...v0.5.0