Skip to content

Commit 0972b49

Browse files
committed
release patch for including type in Catalog
1 parent 011a425 commit 0972b49

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [0.3.1] - 2021-07-28
10+
11+
### Fixed
12+
- Root catalog now properly includes `type: Catalog`
13+
914
## [0.3.0] - 2021-07-06
1015

1116
### Added
@@ -63,7 +68,8 @@ Initial release, forked from [sat-api](https://github.com/sat-utils/sat-api/tree
6368

6469
Compliant with STAC 0.9.0
6570

66-
[Unreleased]: https://github.com/stac-utils/stac-api/compare/v0.2.1...main
71+
[Unreleased]: https://github.com/stac-utils/stac-api/compare/v0.3.1...main
72+
[0.3.1]: https://github.com/stac-utils/stac-api/compare/v0.3.0...v0.3.1
6773
[0.3.0]: https://github.com/stac-utils/stac-api/compare/v0.2.1...v0.3.0
6874
[0.2.1]: https://github.com/stac-utils/stac-api/compare/v0.1.0...v0.2.1
6975
[0.2.0]: https://github.com/stac-utils/stac-api/compare/v0.1.0...v0.2.0

libs/api.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ const collectionsToCatalogLinks = function (results, endpoint) {
276276
const catalog = {
277277
stac_version,
278278
stac_api_version,
279+
type: "Catalog",
279280
id: stac_id,
280281
title: stac_title,
281282
description: stac_description

package.json

Lines changed: 1 addition & 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": "0.3.0",
4+
"version": "0.3.1",
55
"repository": "https://github.com/stac-utils/stac-server",
66
"author": "Alireza Jazayeri, Matthew Hanson <matt.a.hanson@gmail.com>, Sean Harkins",
77
"license": "MIT",

0 commit comments

Comments
 (0)