Skip to content

Commit

Permalink
v2.0.0 release (#34)
Browse files Browse the repository at this point in the history
* Update STAC version numbers and schema URLs to v2.0.0

* Update examples/collection.json

Co-authored-by: Matthias Mohr <m.mohr@uni-muenster.de>

* Update CHANGELOG.md

Co-authored-by: Matthias Mohr <m.mohr@uni-muenster.de>

* Update CHANGELOG.md

Co-authored-by: Matthias Mohr <m.mohr@uni-muenster.de>

---------

Co-authored-by: Matthias Mohr <m.mohr@uni-muenster.de>
  • Loading branch information
emmanuelmathot and m-mohr authored Sep 9, 2024
1 parent 04125ae commit 9214a2d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v2.0.0] - 2024-09-09

## [v2.0.0-beta.1] - 2024-08-01

### Added
Expand Down Expand Up @@ -65,7 +67,8 @@ Initial independent release, see [previous history](https://github.com/radiantea

- `common_name` is validated as an enum (no other values allowed)

[Unreleased]: <https://github.com/stac-extensions/eo/compare/v2.0.0-beta.1...HEAD>
[Unreleased]: <https://github.com/stac-extensions/eo/compare/v2.0.0...HEAD>
[v2.0.0]: <https://github.com/stac-extensions/eo/compare/v2.0.0-beta.1...v2.0.0>
[v2.0.0-beta.1]: <https://github.com/stac-extensions/eo/compare/v1.1.0...v2.0.0-beta.1>
[v1.1.0]: <https://github.com/stac-extensions/eo/compare/v1.0.0...v1.1.0>
[v1.0.0]: <https://github.com/stac-extensions/eo/tree/v1.0.0>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Electro-Optical Extension Specification

- **Title:** Electro-Optical
- **Identifier:** <https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json>
- **Identifier:** <https://stac-extensions.github.io/eo/v2.0.0/schema.json>
- **Field Name Prefix:** eo
- **Scope:** Item, Collection
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Stable
Expand Down
3 changes: 1 addition & 2 deletions examples/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"id": "eo-collection",
"type": "Collection",
"stac_extensions": [
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json",
"https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json"
"https://stac-extensions.github.io/eo/v2.0.0/schema.json"
],
"stac_version": "1.1.0-beta.1",
"description": "A simple Collection demonstrating EO extension fields in a Collection.",
Expand Down
2 changes: 1 addition & 1 deletion examples/item.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"stac_version": "1.1.0-beta.1",
"stac_extensions": [
"https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json"
"https://stac-extensions.github.io/eo/v2.0.0/schema.json"
],
"type": "Feature",
"id": "20201211_223832_CS2",
Expand Down
4 changes: 2 additions & 2 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json#",
"$id": "https://stac-extensions.github.io/eo/v2.0.0/schema.json#",
"title": "EO Extension",
"description": "STAC EO Extension for STAC Items and STAC Collections.",
"type": "object",
Expand All @@ -9,7 +9,7 @@
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json"
"const": "https://stac-extensions.github.io/eo/v2.0.0/schema.json"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "stac-extensions",
"version": "2.0.0-beta.1",
"version": "2.0.0",
"scripts": {
"test": "npm run check-markdown && npm run check-examples",
"check-markdown": "remark . -f -r .github/remark.yaml",
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json=./json-schema/schema.json"
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/eo/v2.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/eo/v2.0.0/schema.json=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^8.0.0",
Expand Down

0 comments on commit 9214a2d

Please sign in to comment.