Skip to content

Commit f8db8bf

Browse files
Update to NDC Spec v0.2.0 final, bump version to v0.6.0 (#42)
Updates the NDC Spec to the final v0.2.0 release version, and bumps the version of the package to v0.6.0. Also pins the version of cargo machete used in CI so that it is compatible with the Rust version used here.
1 parent e501aae commit f8db8bf

File tree

4 files changed

+17
-22
lines changed

4 files changed

+17
-22
lines changed

.github/workflows/machete.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: install tools
1717
run: |
1818
rustup show
19-
cargo install cargo-machete
19+
cargo install cargo-machete@0.7.0 # version 0.8.0 requires Rust 1.85.0
2020
2121
- uses: Swatinem/rust-cache@v2
2222
with:

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ This changelog documents the changes between release versions.
66

77
Changes to be included in the next upcoming release
88

9-
**Breaking changes** ([#38](https://github.com/hasura/ndc-sdk-rs/pull/38), [#40](https://github.com/hasura/ndc-sdk-rs/pull/40), [#41](https://github.com/hasura/ndc-sdk-rs/pull/41)):
9+
## [0.6.0]
10+
11+
**Breaking changes** ([#38](https://github.com/hasura/ndc-sdk-rs/pull/38), [#40](https://github.com/hasura/ndc-sdk-rs/pull/40), [#41](https://github.com/hasura/ndc-sdk-rs/pull/41), [#42](https://github.com/hasura/ndc-sdk-rs/pull/42)):
1012

1113
- Updated to support [v0.2.0 of the NDC Spec](https://hasura.github.io/ndc-spec/specification/changelog.html#020). This is a very large update which adds new features and some breaking changes.
1214
- If the [`X-Hasura-NDC-Version`](https://hasura.github.io/ndc-spec/specification/versioning.html) header is sent, the SDK will validate that the connector supports the incoming request's version and reject it if it does not. If no header is sent, no action is taken.

Cargo.lock

+10-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[workspace]
22
resolver = "2"
33

4-
package.version = "0.5.0"
4+
package.version = "0.6.0"
55
package.edition = "2021"
66
package.license = "Apache-2.0"
77

88
members = ["crates/*"]
99

1010
[workspace.dependencies]
1111
ndc-sdk-core = { path = "../sdk-core" }
12-
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.2.0-rc.3" }
13-
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.2.0-rc.3" }
12+
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.2.0" }
13+
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.2.0" }
1414

1515
anyhow = "1"
1616
async-trait = "0.1"

0 commit comments

Comments
 (0)