Skip to content

Commit 200821f

Browse files
authored
remove stac_version and stac_extensions from itemcollection (#833)
1 parent e423d91 commit 200821f

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [3.10.0] - TBD
9+
10+
### Fixed
11+
12+
- Removed inapplicable `stac_version` and `stac_extensions` fields from ItemCollection
13+
814
## [3.9.0] - 2025-01-24
915

1016
### Changed

package-lock.json

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"displayName": "stac-server",
33
"description": "A STAC API running on stac-server",
4-
"version": "3.9.0",
4+
"version": "3.10.0",
55
"repository": "https://github.com/stac-utils/stac-server",
66
"author": "Alireza Jazayeri, Matthew Hanson, Sean Harkins, Phil Varner",
77
"license": "MIT",
@@ -50,6 +50,7 @@
5050
"url": "https://github.com/stac-utils/stac-server/issues"
5151
},
5252
"dependencies": {
53+
"18": "^0.0.0",
5354
"@aws-sdk/client-s3": "^3.575.0",
5455
"@aws-sdk/client-secrets-manager": "^3.575.0",
5556
"@aws-sdk/client-sns": "^3.575.0",

src/lib/api.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,6 @@ const wrapResponseInFeatureCollection = function (
540540
) {
541541
return {
542542
type: 'FeatureCollection',
543-
stac_version: process.env['STAC_VERSION'] || '1.0.0',
544-
stac_extensions: [],
545543
context,
546544
numberMatched: context.matched,
547545
numberReturned: context.returned,

0 commit comments

Comments
 (0)