diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 103b90dbb..2a17c480d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,8 +59,8 @@ jobs: name: Update next release draft needs: [build-test] runs-on: ubuntu-latest - # Drafts your next Release notes as Pull Requests are merged into "master" - if: github.ref == 'refs/heads/master' + # Drafts your next Release notes as Pull Requests are merged into "main" branch + if: github.ref == 'refs/heads/main' steps: - uses: release-drafter/release-drafter@v5 env: @@ -92,7 +92,7 @@ jobs: run: npm run build - name: Get previous tag id: previoustag - uses: "WyriHaximus/github-action-get-previous-tag@master" + uses: "WyriHaximus/github-action-get-previous-tag@1.0.0" - name: Update version run: cd ${{env.dist-directory}} && npm version ${{steps.previoustag.outputs.tag}} --git-tag-version=false --commit-hooks=false - if: "github.event.release.prerelease" diff --git a/CHANGELOG.md b/CHANGELOG.md index 158651b18..22d034999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,36 +1,48 @@ # Changelog -## Next release (01/01/1970) +## v1.0.0-rc.14 (28/10/2020) + +## Bug fixes + +- #250 Handle Empty Response when Requesting Ontologies for a Project ## Documentation - #249 Explain integration with knora-api +## Testing + +- #251 DSP-817 Health Endpoint: integrate test data + +## Dependencies + +- #247 Update knora api + --- ## v1.0.0-rc.13 (12/10/2020) - -## Enhancements - -- #246 DSP-743 Support the api route /health -- #243 DSP-676 Add Support for Additional Methods in Admin Permission Endpoint -- #235 DSP-428 Create res properties - -## Bug fixes - -- #244 Add missing exports for ResourcePropertyDefinitionWit… -- #240 Revert change for tsconfig - -## Documentation - -- #248 Update CHANGELOG - -## Maintenance - -- #245 Security update for node-forge -- #242 DSP-618 Update release process -- #239 Refactor Ontologies Endpoint -- #241 DSP-702 Add template for PRs + +## Enhancements + +- #246 DSP-743 Support the api route /health +- #243 DSP-676 Add Support for Additional Methods in Admin Permission Endpoint +- #235 DSP-428 Create res properties + +## Bug fixes + +- #244 Add missing exports for ResourcePropertyDefinitionWit… +- #240 Revert change for tsconfig + +## Documentation + +- #248 Update CHANGELOG + +## Maintenance + +- #245 Security update for node-forge +- #242 DSP-618 Update release process +- #239 Refactor Ontologies Endpoint +- #241 DSP-702 Add template for PRs --- @@ -103,112 +115,112 @@ --- ## v1.0.0-rc.5 (14/07/2020) -#### Enhancements: - -- [#204](https://github.com/dasch-swiss/dsp-js-lib/pull/204) Get ontologies by project iri -- [#208](https://github.com/dasch-swiss/dsp-js-lib/pull/208) Create and delete ontology -- [#215](https://github.com/dasch-swiss/dsp-js-lib/pull/215) Mock resources -- [#209](https://github.com/dasch-swiss/dsp-js-lib/pull/209) fix: Replace DateDate by Date - -#### Dependencies: - +#### Enhancements: + +- [#204](https://github.com/dasch-swiss/dsp-js-lib/pull/204) Get ontologies by project iri +- [#208](https://github.com/dasch-swiss/dsp-js-lib/pull/208) Create and delete ontology +- [#215](https://github.com/dasch-swiss/dsp-js-lib/pull/215) Mock resources +- [#209](https://github.com/dasch-swiss/dsp-js-lib/pull/209) fix: Replace DateDate by Date + +#### Dependencies: + - [#211](https://github.com/dasch-swiss/dsp-js-lib/pull/211) Use knora-api 13.0.0-rc.8 --- ## v1.0.0-rc.4 (23/06/2020) -### Enhancements - -- [#203](https://github.com/dasch-swiss/knora-api-js-lib/pull/203) Sync Test Data -- [#199](https://github.com/dasch-swiss/knora-api-js-lib/pull/199) Mock Ontology Data +### Enhancements + +- [#203](https://github.com/dasch-swiss/knora-api-js-lib/pull/203) Sync Test Data +- [#199](https://github.com/dasch-swiss/knora-api-js-lib/pull/199) Mock Ontology Data - [#206](https://github.com/dasch-swiss/knora-api-js-lib/pull/206) Mock User Data --- ## v1.0.0-rc.3 (18/06/2020) - -#### Enhancements: - -- [#200](https://github.com/dasch-swiss/knora-api-js-lib/pull/200) Readme and workflow fix + +#### Enhancements: + +- [#200](https://github.com/dasch-swiss/knora-api-js-lib/pull/200) Readme and workflow fix --- ## v1.0.0-rc.2 (12/06/2020) - -#### Breaking changes: - -- [#191](https://github.com/dasch-swiss/knora-api-js-lib/pull/191) Rename package - -#### Bug Fixes: - -- [#198](https://github.com/dasch-swiss/knora-api-js-lib/pull/198) Bug fix in npm publishing process -- [#196](https://github.com/dasch-swiss/knora-api-js-lib/pull/196) ontology IRI: ignore port if not running on localhost -- [#194](https://github.com/dasch-swiss/knora-api-js-lib/pull/194) Fix bug ApiResonseError - -**Compatibility** - + +#### Breaking changes: + +- [#191](https://github.com/dasch-swiss/knora-api-js-lib/pull/191) Rename package + +#### Bug Fixes: + +- [#198](https://github.com/dasch-swiss/knora-api-js-lib/pull/198) Bug fix in npm publishing process +- [#196](https://github.com/dasch-swiss/knora-api-js-lib/pull/196) ontology IRI: ignore port if not running on localhost +- [#194](https://github.com/dasch-swiss/knora-api-js-lib/pull/194) Fix bug ApiResonseError + +**Compatibility** + This release is compatible with knora-api v13.0.0-rc.4 --- ## v1.0.0-rc.1 (26/05/2020) -### Features - -- improve access to property definitions and add convenience methods ([#185](https://github.com/dasch-swiss/knora-api-js-lib/pull/185)) - -### Bug Fixes - -- make handling of third-party property definitions consistent ([#183](https://github.com/dasch-swiss/knora-api-js-lib/pull/183)) - -### Breaking Changes - -- `IResourceClassAndPropertyDefinitions` was renamed to `ResourceClassAndPropertyDefinitions` ([#185](https://github.com/dasch-swiss/knora-api-js-lib/pull/185)): - adapt usage when accessing entity info on `ReadResource` or using `OntologyCache.getResourceClassDefinition`. - -**Compatibility** - +### Features + +- improve access to property definitions and add convenience methods ([#185](https://github.com/dasch-swiss/knora-api-js-lib/pull/185)) + +### Bug Fixes + +- make handling of third-party property definitions consistent ([#183](https://github.com/dasch-swiss/knora-api-js-lib/pull/183)) + +### Breaking Changes + +- `IResourceClassAndPropertyDefinitions` was renamed to `ResourceClassAndPropertyDefinitions` ([#185](https://github.com/dasch-swiss/knora-api-js-lib/pull/185)): + adapt usage when accessing entity info on `ReadResource` or using `OntologyCache.getResourceClassDefinition`. + +**Compatibility** + This release is compatible with knora-api v13.0.0-rc.3 --- ## v1.0.0-rc.0 (07/05/2020) -### Features - -- add support for time value ([#59](https://github.com/dasch-swiss/knora-api-js-lib/pull/59)) -- add util for handling of cardinalities ([#144](https://github.com/dasch-swiss/knora-api-js-lib/pull/144)) -- add util for handling of permissions ([#142](https://github.com/dasch-swiss/knora-api-js-lib/pull/142)) -- add uuid to update responses ([#151](https://github.com/dasch-swiss/knora-api-js-lib/pull/151)) -- add util to determine link prop from link value prop ([#163](https://github.com/dasch-swiss/knora-api-js-lib/pull/163)) - -### Bug Fixes - -- add time value to public API ([#150](https://github.com/dasch-swiss/knora-api-js-lib/pull/150)) -- add geoname value to public API ([#158](https://github.com/dasch-swiss/knora-api-js-lib/pull/158)) -- add property definition to public API ([#166](https://github.com/dasch-swiss/knora-api-js-lib/pull/166)) -- add missing decorator for json2typescript ([#173](https://github.com/dasch-swiss/knora-api-js-lib/pull/173)) -- update to json2typescript 1.4.1 (previous version of json2typescript had a bug) ([#160](https://github.com/dasch-swiss/knora-api-js-lib/pull/160)) -- fix wrong internal import path to RxJS ([#175](https://github.com/dasch-swiss/knora-api-js-lib/pull/175)) -- add missing classes to public API ([#174](https://github.com/dasch-swiss/knora-api-js-lib/pull/174)) -- make RxJS a peer dependency ([#176](https://github.com/dasch-swiss/knora-api-js-lib/pull/176)) -- add delete resource response to public API ([#178](https://github.com/dasch-swiss/knora-api-js-lib/pull/178)) -- use consistent naming convention for v2 and admin endpoints ([#179](https://github.com/dasch-swiss/knora-api-js-lib/pull/179)) - -### Breaking Changes - -- return multiple resources as `ReadResourceSequence` (instead of ReadResource[]) with a flag indicating whether there could be more results ([#169](https://github.com/dasch-swiss/knora-api-js-lib/pull/169)) - -### Compatibility - +### Features + +- add support for time value ([#59](https://github.com/dasch-swiss/knora-api-js-lib/pull/59)) +- add util for handling of cardinalities ([#144](https://github.com/dasch-swiss/knora-api-js-lib/pull/144)) +- add util for handling of permissions ([#142](https://github.com/dasch-swiss/knora-api-js-lib/pull/142)) +- add uuid to update responses ([#151](https://github.com/dasch-swiss/knora-api-js-lib/pull/151)) +- add util to determine link prop from link value prop ([#163](https://github.com/dasch-swiss/knora-api-js-lib/pull/163)) + +### Bug Fixes + +- add time value to public API ([#150](https://github.com/dasch-swiss/knora-api-js-lib/pull/150)) +- add geoname value to public API ([#158](https://github.com/dasch-swiss/knora-api-js-lib/pull/158)) +- add property definition to public API ([#166](https://github.com/dasch-swiss/knora-api-js-lib/pull/166)) +- add missing decorator for json2typescript ([#173](https://github.com/dasch-swiss/knora-api-js-lib/pull/173)) +- update to json2typescript 1.4.1 (previous version of json2typescript had a bug) ([#160](https://github.com/dasch-swiss/knora-api-js-lib/pull/160)) +- fix wrong internal import path to RxJS ([#175](https://github.com/dasch-swiss/knora-api-js-lib/pull/175)) +- add missing classes to public API ([#174](https://github.com/dasch-swiss/knora-api-js-lib/pull/174)) +- make RxJS a peer dependency ([#176](https://github.com/dasch-swiss/knora-api-js-lib/pull/176)) +- add delete resource response to public API ([#178](https://github.com/dasch-swiss/knora-api-js-lib/pull/178)) +- use consistent naming convention for v2 and admin endpoints ([#179](https://github.com/dasch-swiss/knora-api-js-lib/pull/179)) + +### Breaking Changes + +- return multiple resources as `ReadResourceSequence` (instead of ReadResource[]) with a flag indicating whether there could be more results ([#169](https://github.com/dasch-swiss/knora-api-js-lib/pull/169)) + +### Compatibility + This release is compatible with knora-api v13.0.0-PR1. --- ## v0.2.0 (29/01/2020) -**Breaking Knora API Changes** - -- Breaking change in format of knora-api:lastModificationDate [#47](https://github.com/dasch-swiss/knora-api-js-lib/issues/47) - -**Enhancement** - -- Missing label in ReadOntology [#139](https://github.com/dasch-swiss/knora-api-js-lib/issues/139) - -**Compatibility** - +**Breaking Knora API Changes** + +- Breaking change in format of knora-api:lastModificationDate [#47](https://github.com/dasch-swiss/knora-api-js-lib/issues/47) + +**Enhancement** + +- Missing label in ReadOntology [#139](https://github.com/dasch-swiss/knora-api-js-lib/issues/139) + +**Compatibility** + This release is compatible with knora-api [v12.0.0](https://github.com/dasch-swiss/knora-api/releases/tag/v12.0.0) ---