-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add changelog and a release pipeline
- Loading branch information
1 parent
8954156
commit 12e9679
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: release | ||
on: | ||
push: | ||
tags: | ||
- v** | ||
|
||
jobs: | ||
release-sdk: | ||
name: Release SDK | ||
runs-on: ubuntu-latest | ||
if: ${{ startsWith(github.ref, 'refs/tags/v') }} | ||
|
||
steps: | ||
- name: Get version from tag | ||
id: get-version | ||
run: | | ||
echo "tagged_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- uses: mindsers/changelog-reader-action@v2 | ||
id: changelog-reader | ||
with: | ||
version: ${{ steps.get-version.outputs.tagged_version }} | ||
path: ./CHANGELOG.md | ||
|
||
- uses: softprops/action-gh-release@v2 | ||
with: | ||
draft: false | ||
tag_name: v${{ steps.get-version.outputs.tagged_version }} | ||
body: ${{ steps.changelog-reader.outputs.changes }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# NDC TypeScript SDK Changelog | ||
This changelog documents the changes between release versions. | ||
|
||
## [Unreleased] | ||
Changes to be included in the next upcoming release | ||
|
||
## [0.4.0] - 2024-08-30 | ||
- update ndc-spec to v0.1.6 by @soupi in https://github.com/hasura/ndc-sdk-rs/pull/28 | ||
|
||
## [0.3.0] - 2024-08-12 | ||
- Health checks are now readiness checks; they should not make requests to any external services. We will revisit liveness and connectedness checks in a future release. | ||
- The `/health` endpoint is now unsecured. | ||
|
||
## [0.2.2] - 2024-07-30 | ||
- listen on all ipv4 and ipv6 interfaces by default (https://github.com/hasura/ndc-sdk-rs/pull/22) | ||
|
||
## [0.2.1] - 2024-07-11 | ||
- Fix dynamic error types not being thread-safe | ||
|
||
## [0.2.0] - 2024-07-09 | ||
- Update to `ndc-spec` v0.1.5 | ||
- Changed `get_capabilities` method in `Connector` trait so that `ndc-spec` version is obtained directly from the `ndc-spec` package instead of requiring the connector to specify it. |