diff --git a/CHANGELOG.md b/CHANGELOG.md index b96ef801..6c373478 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added +- Add conformance classes for `STAC API - Features` and `STAC API - Collections`. Both were already fully-supported, but + were not advertised in the landing page conformsTo attribute or the /conformance endpoint. + +### Fixed + +### Changed - Upgrade to Node 14 +### Removed + ## [0.3.1] - 2021-07-28 ### Removed diff --git a/README.md b/README.md index 4c7921e6..8a5498ae 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ The following APIs are deployed instances of stac-server: | ---------------------------------------------------------- | ------------ | ---------------- | | [Earth Search](https://earth-search.aws.element84.com/v0/) | 1.0.0-beta.2 | 0.9.0 | Catalog of some AWS Public Datasets | | [Landsat Look](https://landsatlook.usgs.gov/stac-server) | 1.0.0 | 0.9.0 | | - +| [USGS Planetary Catalog](https://asc-stacbrowser.s3.us-west-2.amazonaws.com/catalog.json) | 1.0.0 | | USGS Astrogeology hosted Analysis Ready Data (ARD) | ## Migration ### 0.3 -> 0.4 diff --git a/libs/api.js b/libs/api.js index 241fa2dd..d527f608 100644 --- a/libs/api.js +++ b/libs/api.js @@ -428,11 +428,16 @@ const getAPI = async function () { const getConformance = async function () { const conformance = { conformsTo: [ - 'https://api.stacspec.org/v1.0.0-beta.2/core', - 'https://api.stacspec.org/v1.0.0-beta.2/item-search', - 'https://api.stacspec.org/v1.0.0-beta.2/item-search#fields', - 'https://api.stacspec.org/v1.0.0-beta.2/item-search#sort', - 'https://api.stacspec.org/v1.0.0-beta.2/item-search#query', + 'https://api.stacspec.org/v1.0.0-beta.5/core', + 'https://api.stacspec.org/v1.0.0-beta.5/collections', + 'https://api.stacspec.org/v1.0.0-beta.5/ogcapi-features', + 'https://api.stacspec.org/v1.0.0-beta.5/ogcapi-features#fields', + 'https://api.stacspec.org/v1.0.0-beta.5/ogcapi-features#sort', + 'https://api.stacspec.org/v1.0.0-beta.5/ogcapi-features#query', + 'https://api.stacspec.org/v1.0.0-beta.5/item-search', + 'https://api.stacspec.org/v1.0.0-beta.5/item-search#fields', + 'https://api.stacspec.org/v1.0.0-beta.5/item-search#sort', + 'https://api.stacspec.org/v1.0.0-beta.5/item-search#query', 'http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core', 'http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30', 'http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson' diff --git a/tests/test_api_search.js b/tests/test_api_search.js index 2edfb553..e5b9dad1 100644 --- a/tests/test_api_search.js +++ b/tests/test_api_search.js @@ -41,7 +41,7 @@ test('search /api', async (t) => { test('search /conformance', async (t) => { const actual = await api.API('/conformance', undefined, undefined, 'endpoint') t.truthy(actual.conformsTo) - t.is(actual.conformsTo.length, 8) + t.is(actual.conformsTo.length, 13) }) test('search /', async (t) => {