Skip to content

Commit 457b0e0

Browse files
authored
Release v2.0.0 (#51)
1 parent bbe04d7 commit 457b0e0

File tree

9 files changed

+17
-14
lines changed

9 files changed

+17
-14
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: rlespinasse/github-slug-action@v4
1111
- uses: actions/checkout@v4
1212
- name: deploy JSON Schema for version ${{ env.GITHUB_REF_SLUG }}
13-
uses: peaceiris/actions-gh-pages@v3
13+
uses: peaceiris/actions-gh-pages@v4
1414
with:
1515
github_token: ${{ secrets.GITHUB_TOKEN }}
1616
publish_dir: json-schema

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.0.0]
11+
1012
### Added
1113

1214
- Validation by the JSON schema of `classification:classes` definition within a
@@ -25,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2527

2628
### Fixed
2729

28-
- Fixed tests which were validating against v1.0.0 instead of v1.1.0
30+
- Fixed tests which were validating against v1.0.0
2931

3032
## [1.1.0]
3133

@@ -39,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3941

4042
Initial release
4143

42-
[Unreleased]: <https://github.com/stac-extensions/classification/compare/v1.0.0...HEAD>
44+
[Unreleased]: <https://github.com/stac-extensions/classification/compare/v2.0.0...HEAD>
45+
[2.0.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.1.0...2.0.0>
46+
[1.1.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.0.0...1.1.0>
4347
[1.0.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.0.0>
44-
[1.1.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.1.0>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Classification Extension Specification
22

33
- **Title:** Classification
4-
- **Identifier:** <https://stac-extensions.github.io/classification/v1.1.0/schema.json>
4+
- **Identifier:** <https://stac-extensions.github.io/classification/v2.0.0/schema.json>
55
- **Field Name Prefix:** classification
66
- **Scope:** Item, Collection
77
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Pilot

examples/collection-item-assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@
116116
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
117117
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
118118
"https://stac-extensions.github.io/raster/v1.0.0/schema.json",
119-
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
119+
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
120120
]
121121
}

examples/item-bitfields-landsat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,6 @@
12161216
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
12171217
"https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json",
12181218
"https://stac-extensions.github.io/scientific/v1.0.0/schema.json",
1219-
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
1219+
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
12201220
]
12211221
}

examples/item-classes-maxar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
77
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
88
"https://stac-extensions.github.io/raster/v1.1.0/schema.json",
9-
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
9+
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
1010
],
1111
"id": "10/120020223032/103001005D31F500",
1212
"properties": {

examples/item-model-classes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"https://stac-extensions.github.io/raster/v1.1.0/schema.json",
66
"https://stac-extensions.github.io/file/v1.0.0/schema.json",
77
"https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json",
8-
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
8+
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
99
],
1010
"type": "Feature",
1111
"id": "resnet-18_sentinel-2_all_moco_classification",

json-schema/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://stac-extensions.github.io/classification/v1.1.0/schema.json#",
3+
"$id": "https://stac-extensions.github.io/classification/v2.0.0/schema.json#",
44
"title": "Classification Extension",
55
"description": "STAC Classification Extension for STAC Items and STAC Collections.",
66
"type": "object",
@@ -9,7 +9,7 @@
99
"stac_extensions": {
1010
"type": "array",
1111
"contains": {
12-
"const": "https://stac-extensions.github.io/classification/v1.1.0/schema.json"
12+
"const": "https://stac-extensions.github.io/classification/v2.0.0/schema.json"
1313
}
1414
}
1515
},

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "stac-extensions",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"scripts": {
55
"test": "npm run check-markdown && npm run check-examples",
66
"check-markdown": "remark . -f -r .github/remark.yaml",
7-
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/classification/v1.1.0/schema.json=./json-schema/schema.json",
8-
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/classification/v1.1.0/schema.json=./json-schema/schema.json"
7+
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/classification/v2.0.0/schema.json=./json-schema/schema.json",
8+
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/classification/v2.0.0/schema.json=./json-schema/schema.json"
99
},
1010
"dependencies": {
1111
"remark-cli": "^8.0.0",

0 commit comments

Comments
 (0)