From cbc12eadab4380bbff02997063eb8cded05ef570 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 9 Feb 2023 08:13:01 -0700 Subject: [PATCH 1/2] fix: include `stac_version` in include recs You need it to make a valid STAC item. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cbc11c6..d196bdb8 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ name, e.g., `properties.datetime` or `datetime`. 1. If `fields` attribute is specified with an empty object, or with both `include` and `exclude` set to null or an empty array, the recommended behavior is as if `include` was set to -`["id", "type", "geometry", "bbox", "links", "assets", "properties.datetime"]`. This default is so that the entity +`["id", "type", "stac_version", "geometry", "bbox", "links", "assets", "properties.datetime"]`. This default is so that the entity returned is a valid STAC Item. Implementations may choose to add other properties, e.g., `created`, but the number of default properties attributes should be kept to a minimum. 2. If only `include` is specified, these attributes are added to the default set of attributes (set union operation). From f740df5c9ab426d38a2103b0531bb05dae49b658 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 9 Feb 2023 08:16:29 -0700 Subject: [PATCH 2/2] chore: update changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44b3c2a6..0acd8495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,16 @@ # Changelog + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +- `stac_version` to the include recommendations. + ## [v1.0.0-rc.2] - TBD ### Fixed