diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 816df2d..2537c1f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.1" + ".": "0.4.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index cc2d818..53e48c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.4.0](https://github.com/tableau/hyper-api-rust/compare/v0.3.1...v0.4.0) (2026-06-02) + + +### Features + +* streaming FromRow mapping (stream_as) — constant-memory struct-mapped queries ([#91](https://github.com/tableau/hyper-api-rust/issues/91)) ([#94](https://github.com/tableau/hyper-api-rust/issues/94)) ([3327fc0](https://github.com/tableau/hyper-api-rust/commit/3327fc0fd8d61faaa55b8d5ae2922ff7284348c5)) +* opt-in compile-time SQL validation — `query_as!` / `query_scalar!` validate SQL against `#[derive(Table)]` structs at build time, with VS Code diagnostics ([#93](https://github.com/tableau/hyper-api-rust/issues/93)) ([73f9b0f](https://github.com/tableau/hyper-api-rust/commit/73f9b0f)) + + +### Bug Fixes + +* **release:** wrap hyperdb-compile-check pin in release-please markers ([#97](https://github.com/tableau/hyper-api-rust/issues/97)) ([1f07015](https://github.com/tableau/hyper-api-rust/commit/1f07015d9c26cd85fe1f722b8ef5d7c52464cd8c)) + ## [0.3.1](https://github.com/tableau/hyper-api-rust/compare/v0.3.0...v0.3.1) (2026-05-29) Patch release that fixes two related but distinct bugs surfaced by [#84](https://github.com/tableau/hyper-api-rust/issues/84) — wrong NUMERIC values in MCP query results and Node bindings. diff --git a/Cargo.lock b/Cargo.lock index 448308e..54af4ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1845,7 +1845,7 @@ dependencies = [ [[package]] name = "hyperdb-api" -version = "0.3.1" +version = "0.4.0" dependencies = [ "arrow", "async-stream", @@ -1870,7 +1870,7 @@ dependencies = [ [[package]] name = "hyperdb-api-core" -version = "0.3.1" +version = "0.4.0" dependencies = [ "arrow", "base64", @@ -1910,7 +1910,7 @@ dependencies = [ [[package]] name = "hyperdb-api-derive" -version = "0.3.1" +version = "0.4.0" dependencies = [ "hyperdb-api", "hyperdb-compile-check", @@ -1922,7 +1922,7 @@ dependencies = [ [[package]] name = "hyperdb-api-node" -version = "0.3.1" +version = "0.4.0" dependencies = [ "hyperdb-api", "napi", @@ -1934,7 +1934,7 @@ dependencies = [ [[package]] name = "hyperdb-api-salesforce" -version = "0.3.1" +version = "0.4.0" dependencies = [ "arrow", "base64", @@ -1955,7 +1955,7 @@ dependencies = [ [[package]] name = "hyperdb-bootstrap" -version = "0.3.1" +version = "0.4.0" dependencies = [ "anyhow", "clap", @@ -1973,7 +1973,7 @@ dependencies = [ [[package]] name = "hyperdb-compile-check" -version = "0.3.1" +version = "0.4.0" dependencies = [ "hyperdb-api", "parking_lot", @@ -1982,7 +1982,7 @@ dependencies = [ [[package]] name = "hyperdb-mcp" -version = "0.3.1" +version = "0.4.0" dependencies = [ "arrow", "base64", @@ -3829,7 +3829,7 @@ dependencies = [ [[package]] name = "sea-query-hyperdb" -version = "0.3.1" +version = "0.4.0" dependencies = [ "sea-query", ] diff --git a/Cargo.toml b/Cargo.toml index d510906..a2aa335 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ exclude = ["hyperdb-compile-check"] # `cargo build --manifest-path hyperdb-compile-check/Cargo.toml`. [workspace.package] -version = "0.3.1" +version = "0.4.0" edition = "2021" rust-version = "1.81" license = "MIT OR Apache-2.0" diff --git a/hyperdb-api-core/Cargo.toml b/hyperdb-api-core/Cargo.toml index 9187f41..47bdc38 100644 --- a/hyperdb-api-core/Cargo.toml +++ b/hyperdb-api-core/Cargo.toml @@ -65,7 +65,7 @@ serde_json = { workspace = true } # Salesforce OAuth authentication (optional, via standalone crate) # x-release-please-start-version -hyperdb-api-salesforce = { path = "../hyperdb-api-salesforce", version = "=0.3.1", optional = true } +hyperdb-api-salesforce = { path = "../hyperdb-api-salesforce", version = "=0.4.0", optional = true } # x-release-please-end # Arrow parsing for catalog operations (optional, used by authenticated_client) diff --git a/hyperdb-api-derive/Cargo.toml b/hyperdb-api-derive/Cargo.toml index 24f7225..1857c3a 100644 --- a/hyperdb-api-derive/Cargo.toml +++ b/hyperdb-api-derive/Cargo.toml @@ -27,12 +27,12 @@ syn = { version = "2", features = ["full"] } quote = "1" proc-macro2 = "1" # x-release-please-start-version -hyperdb-compile-check = { path = "../hyperdb-compile-check", version = "=0.3.1", optional = true } +hyperdb-compile-check = { path = "../hyperdb-compile-check", version = "=0.4.0", optional = true } # x-release-please-end [dev-dependencies] # x-release-please-start-version -hyperdb-api = { path = "../hyperdb-api", version = "=0.3.1" } +hyperdb-api = { path = "../hyperdb-api", version = "=0.4.0" } # x-release-please-end trybuild = { version = "1", features = ["diff"] } diff --git a/hyperdb-api/Cargo.toml b/hyperdb-api/Cargo.toml index b243bf2..4be319c 100644 --- a/hyperdb-api/Cargo.toml +++ b/hyperdb-api/Cargo.toml @@ -14,7 +14,7 @@ autobenches = false [dependencies] # x-release-please-start-version -hyperdb-api-core = { path = "../hyperdb-api-core", version = "=0.3.1" } +hyperdb-api-core = { path = "../hyperdb-api-core", version = "=0.4.0" } # x-release-please-end # NOTE: hyperdb-api-derive is intentionally NOT a dep of hyperdb-api. # Adding it creates a cycle: @@ -49,7 +49,7 @@ workspace = true [dev-dependencies] # x-release-please-start-version -hyperdb-api-derive = { path = "../hyperdb-api-derive", version = "=0.3.1" } +hyperdb-api-derive = { path = "../hyperdb-api-derive", version = "=0.4.0" } # x-release-please-end tempfile = { workspace = true } libc = "0.2" diff --git a/hyperdb-compile-check/Cargo.toml b/hyperdb-compile-check/Cargo.toml index 415039a..b1003bc 100644 --- a/hyperdb-compile-check/Cargo.toml +++ b/hyperdb-compile-check/Cargo.toml @@ -7,7 +7,7 @@ [package] name = "hyperdb-compile-check" # x-release-please-start-version -version = "0.3.1" +version = "0.4.0" # x-release-please-end edition = "2021" rust-version = "1.81" @@ -25,7 +25,7 @@ categories = ["database", "development-tools"] [dependencies] # x-release-please-start-version -hyperdb-api = { path = "../hyperdb-api", version = "=0.3.1" } +hyperdb-api = { path = "../hyperdb-api", version = "=0.4.0" } # x-release-please-end parking_lot = "0.12" tempfile = "3.20" diff --git a/hyperdb-mcp/Cargo.toml b/hyperdb-mcp/Cargo.toml index 0189004..d565630 100644 --- a/hyperdb-mcp/Cargo.toml +++ b/hyperdb-mcp/Cargo.toml @@ -21,7 +21,7 @@ path = "src/main.rs" [dependencies] # x-release-please-start-version -hyperdb-api = { path = "../hyperdb-api", version = "=0.3.1" } +hyperdb-api = { path = "../hyperdb-api", version = "=0.4.0" } # x-release-please-end rmcp = { version = "1.7", features = ["server", "transport-io"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std", "signal", "time"] } diff --git a/version.txt b/version.txt index 9e11b32..1d0ba9e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.3.1 +0.4.0