Skip to content

Commit

Permalink
Release v2.0.0 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr authored May 18, 2024
1 parent bbe04d7 commit 457b0e0
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: rlespinasse/github-slug-action@v4
- uses: actions/checkout@v4
- name: deploy JSON Schema for version ${{ env.GITHUB_REF_SLUG }}
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: json-schema
Expand Down
9 changes: 6 additions & 3 deletions 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]

## [2.0.0]

### Added

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

### Fixed

- Fixed tests which were validating against v1.0.0 instead of v1.1.0
- Fixed tests which were validating against v1.0.0

## [1.1.0]

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

Initial release

[Unreleased]: <https://github.com/stac-extensions/classification/compare/v1.0.0...HEAD>
[Unreleased]: <https://github.com/stac-extensions/classification/compare/v2.0.0...HEAD>
[2.0.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.1.0...2.0.0>
[1.1.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.0.0...1.1.0>
[1.0.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.0.0>
[1.1.0]: <https://github.com/stac-extensions/classification/releases/tag/v1.1.0>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Classification Extension Specification

- **Title:** Classification
- **Identifier:** <https://stac-extensions.github.io/classification/v1.1.0/schema.json>
- **Identifier:** <https://stac-extensions.github.io/classification/v2.0.0/schema.json>
- **Field Name Prefix:** classification
- **Scope:** Item, Collection
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Pilot
Expand Down
2 changes: 1 addition & 1 deletion examples/collection-item-assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/raster/v1.0.0/schema.json",
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
]
}
2 changes: 1 addition & 1 deletion examples/item-bitfields-landsat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,6 @@
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json",
"https://stac-extensions.github.io/scientific/v1.0.0/schema.json",
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
]
}
2 changes: 1 addition & 1 deletion examples/item-classes-maxar.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/raster/v1.1.0/schema.json",
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
],
"id": "10/120020223032/103001005D31F500",
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion examples/item-model-classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"https://stac-extensions.github.io/raster/v1.1.0/schema.json",
"https://stac-extensions.github.io/file/v1.0.0/schema.json",
"https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json",
"https://stac-extensions.github.io/classification/v1.1.0/schema.json"
"https://stac-extensions.github.io/classification/v2.0.0/schema.json"
],
"type": "Feature",
"id": "resnet-18_sentinel-2_all_moco_classification",
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/classification/v1.1.0/schema.json#",
"$id": "https://stac-extensions.github.io/classification/v2.0.0/schema.json#",
"title": "Classification Extension",
"description": "STAC Classification 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/classification/v1.1.0/schema.json"
"const": "https://stac-extensions.github.io/classification/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": "1.0.0",
"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/classification/v1.1.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/classification/v1.1.0/schema.json=./json-schema/schema.json"
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/classification/v2.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/classification/v2.0.0/schema.json=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^8.0.0",
Expand Down

0 comments on commit 457b0e0

Please sign in to comment.