diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b0ab0c0..4ad3ca90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,18 @@ jobs: - run: python3 scripts/check-tree-size.py - run: python3 scripts/check-release-version.py --shared-crates + crates: + # Package and build the shared crates exactly as crates.io would, without + # uploading. cargo 1.90 fails to verify a batch whose crates depend on each + # other ("no hash listed"); 1.97.1 can. The rust job still builds them with + # the pinned 1.90 toolchain. + runs-on: ubuntu-24.04 + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + - run: rustup toolchain install 1.97.1 --profile minimal + - run: cargo +1.97.1 publish --dry-run --locked -p weft-model -p weft-expr -p weft-backend -p weft-postgresql-emit + rust: runs-on: ubuntu-24.04 timeout-minutes: 40 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 267805d7..e0be1063 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release -# Pushing a tag vX.Y.Z tests, builds, smoke-tests and publishes umf-weft. +# Pushing a tag vX.Y.Z tests, builds, smoke-tests and publishes umf-weft to +# PyPI and the shared crates to crates.io. # A manual run (workflow_dispatch) builds and smoke-tests only; it publishes # nothing unless it is started on a tag with dry_run set to false. on: @@ -172,8 +173,25 @@ jobs: with: packages-dir: dist + crates: + # Publish the shared crates (SHARED_CRATES in scripts/check-release-version.py) + # to crates.io at the release version, in dependency order. Needs the + # owner's CARGO_REGISTRY_TOKEN secret in the crates-io environment. cargo + # 1.97.1 for the reason in ci.yml's crates job. + if: ${{ github.ref_type == 'tag' && (github.event_name == 'push' || inputs.dry_run == false) }} + needs: [ci, version, wheels, sdist, wasm, smoke] + runs-on: ubuntu-24.04 + timeout-minutes: 30 + environment: crates-io + steps: + - uses: actions/checkout@v4 + - run: rustup toolchain install 1.97.1 --profile minimal + - run: cargo +1.97.1 publish --locked -p weft-model -p weft-expr -p weft-backend -p weft-postgresql-emit + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + github-release: - needs: [version, publish, wasm] + needs: [version, publish, crates, wasm] runs-on: ubuntu-24.04 timeout-minutes: 15 permissions: diff --git a/AGENTS.md b/AGENTS.md index 7645664f..37ee42dc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,6 +12,8 @@ Databricks). Rust core in `crates/`, Python bindings in `crates/weft-python`, WA Preserve unknown model content and refuse what cannot be preserved. - Python bindings share the Rust core. No JavaScript sidecar for the Python API. - Release: bump the version in `pyproject.toml`, `crates/weft-python/pyproject.toml` and - `crates/weft-python/Cargo.toml`, add a `CHANGELOG.md` section, then push tag `vX.Y.Z` - from main. `scripts/check-release-version.py` enforces agreement. + `Cargo.toml` (`[workspace.package]` and the four shared-crate pins in + `[workspace.dependencies]`), add a `CHANGELOG.md` section, then push tag `vX.Y.Z` + from main. The tag publishes the wheel to PyPI and the shared crates to crates.io. + `scripts/check-release-version.py` enforces agreement. - Only claim what CI tests; label the rest experimental. diff --git a/CHANGELOG.md b/CHANGELOG.md index fdc7290f..cc13df35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Older releases: see [GitHub Releases](https://github.com/DocumentDrivenDX/weft/r ## Unreleased -- New crate `weft-model` 0.1.0 (own semver; `crates/weft-model/README.md`): UMF +- New crate `weft-model` (published to crates.io; `crates/weft-model/README.md`): UMF 0.10 document preparation, name and identity resolution, logical types, descriptors, exact literals, exact instants and diagnostics, moved out of `weft-core` so other compilers can depend on them. `weft-core` re-exports them @@ -25,7 +25,7 @@ Older releases: see [GitHub Releases](https://github.com/DocumentDrivenDX/weft/r field-domain normalizer from `security_ontology`) moves to `weft_model::core_literal`; `weft_core::security_literals` re-exports it. Diagnostic codes are unchanged. -- New crate `weft-expr` 0.1.0 (own semver; `crates/weft-expr/README.md`): typed +- New crate `weft-expr` (published to crates.io; `crates/weft-expr/README.md`): typed `Field`/`Value` operands, comparison operators and their typing rule, exact arithmetic domains and expressions, and the `weft.update-selection/1` predicate format of CONTRACT-009. `weft-core` re-exports the operand, @@ -33,7 +33,7 @@ Older releases: see [GitHub Releases](https://github.com/DocumentDrivenDX/weft/r builds selections with it, and `inspect_selection` and the PostgreSQL mutation lowering decode them with one shared walker instead of two hand-written ones. Wire shapes and refusal messages are unchanged. -- New crate `weft-backend` 0.1.0 (own semver; `crates/weft-backend/README.md`): +- New crate `weft-backend` (published to crates.io; `crates/weft-backend/README.md`): the CONTRACT-002 backend boundary. Manifest types and validation (accepted interface versions and language pairs come from the frontend), the `Frontend` and `Backend` traits, a `TargetArtifact` emit output (`sql::Emission` for @@ -42,7 +42,7 @@ Older releases: see [GitHub Releases](https://github.com/DocumentDrivenDX/weft/r (`WeftPlans`) and keeps its `Backend` trait, `Context`, `Registry` and type paths, so backend implementations compile unchanged; check order, refusal codes and the `Compilation` wire shape are unchanged. -- New crate `weft-postgresql-emit` 0.1.0 (own semver; +- New crate `weft-postgresql-emit` (published to crates.io; `crates/weft-postgresql-emit/README.md`): PostgreSQL identifier quoting, parameter slots, string literals, typed casts with the `C` collation and exact result decoders, moved out of `weft-postgresql` (which re-exports @@ -60,8 +60,16 @@ Older releases: see [GitHub Releases](https://github.com/DocumentDrivenDX/weft/r Experimental: only unit tests exercise them. - `bun scripts/module-boundaries-update.ts` regenerates the dependency and public-declaration inventory in `docs/helix/02-design/module-boundaries.json`. - `scripts/check-release-version.py --shared-crates` (run in CI) checks that each - shared crate's README states its Cargo version. +- The shared crates are published to crates.io by the release workflow, at the + release version. The Cargo workspace version is now the release version + (0.4.58), and `weft-python` inherits it; `compilerVersion` in compile + responses stays `weft/0.1.0` (`weft_core::COMPILER_VERSION`), so responses do + not change. `scripts/check-release-version.py` checks the workspace version + against the tag and, with `--shared-crates` (run in CI), that each shared crate + inherits it and is pinned at exactly it. CI packages and builds the four crates + as crates.io would on every pull request (`cargo publish --dry-run`). The + bundled UMF 0.10 schema moves to `crates/weft-model/schema/` so the crate + carries it. ## 0.4.58 - 2026-11-11 diff --git a/Cargo.lock b/Cargo.lock index 5e997421..6b7bcb57 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "weft-backend" -version = "0.1.0" +version = "0.4.58" dependencies = [ "serde", "serde_json", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "weft-core" -version = "0.1.0" +version = "0.4.58" dependencies = [ "base64", "jsonschema", @@ -2267,7 +2267,7 @@ dependencies = [ [[package]] name = "weft-databricks" -version = "0.1.0" +version = "0.4.58" dependencies = [ "serde", "serde_json", @@ -2277,7 +2277,7 @@ dependencies = [ [[package]] name = "weft-expr" -version = "0.1.0" +version = "0.4.58" dependencies = [ "serde", "serde_json", @@ -2294,7 +2294,7 @@ dependencies = [ [[package]] name = "weft-model" -version = "0.1.0" +version = "0.4.58" dependencies = [ "base64", "jsonschema", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "weft-postgresql" -version = "0.1.0" +version = "0.4.58" dependencies = [ "base64", "jsonschema", @@ -2320,7 +2320,7 @@ dependencies = [ [[package]] name = "weft-postgresql-emit" -version = "0.1.0" +version = "0.4.58" dependencies = [ "base64", "serde_json", @@ -2338,7 +2338,7 @@ dependencies = [ [[package]] name = "weft-runtime" -version = "0.1.0" +version = "0.4.58" dependencies = [ "serde", "serde_json", @@ -2350,7 +2350,7 @@ dependencies = [ [[package]] name = "weft-wasm" -version = "0.1.0" +version = "0.4.58" dependencies = [ "js-sys", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index f234a271..9850a44e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,11 +2,20 @@ members = ["crates/weft-databricks","crates/weft-postgresql","crates/weft-runtime","crates/weft-python","crates/weft-wasm","tests/register-backend/probe","tests/frontend/wasm-probe","crates/weft-core","crates/weft-model","crates/weft-expr","crates/weft-backend","crates/weft-postgresql-emit"] resolver = "2" [workspace.package] -version = "0.1.0" +# The weft release version: the umf-weft wheel, the vX.Y.Z tag and the published +# shared crates all carry it. scripts/check-release-version.py checks agreement. +version = "0.4.58" edition = "2021" publish = false license = "MIT OR Apache-2.0" +repository = "https://github.com/DocumentDrivenDX/weft" [workspace.dependencies] +# Shared crates, published to crates.io at the workspace version. Keep each +# `version` equal to [workspace.package] version. +weft-model = { path = "crates/weft-model", version = "=0.4.58" } +weft-expr = { path = "crates/weft-expr", version = "=0.4.58" } +weft-backend = { path = "crates/weft-backend", version = "=0.4.58" } +weft-postgresql-emit = { path = "crates/weft-postgresql-emit", version = "=0.4.58" } serde = { version = "=1.0.228", features = ["derive"] } serde_json = { version = "=1.0.145", features = ["arbitrary_precision", "raw_value"] } sha2 = "=0.10.9" diff --git a/crates/weft-backend/Cargo.toml b/crates/weft-backend/Cargo.toml index 599e4710..a5ea7e5e 100644 --- a/crates/weft-backend/Cargo.toml +++ b/crates/weft-backend/Cargo.toml @@ -1,14 +1,16 @@ [package] license = "MIT OR Apache-2.0" name = "weft-backend" -# Own semver, independent of the workspace and wheel versions. See README.md. -version = "0.1.0" +# Published to crates.io at the weft release version. See README.md. +version.workspace = true edition.workspace = true -publish.workspace = true +publish = ["crates-io"] +repository.workspace = true +readme = "README.md" rust-version = "1.90" description = "Backend manifests, the assess/lower/emit boundary, registry and SQL emission carrier shared by weft and other compilers" [dependencies] -weft-model = { path = "../weft-model" } +weft-model.workspace = true serde.workspace = true serde_json.workspace = true diff --git a/crates/weft-backend/README.md b/crates/weft-backend/README.md index 826fb49a..489d47d8 100644 --- a/crates/weft-backend/README.md +++ b/crates/weft-backend/README.md @@ -1,4 +1,4 @@ -# weft-backend 0.1.0 +# weft-backend The backend boundary of CONTRACT-002, shared by weft's compiler (`weft-core`) and other compilers (Fireweed's `fireweed-compiler`): backend manifests and @@ -12,11 +12,12 @@ SQL text. ## Version -Own semver, independent of the workspace and the `umf-weft` wheel; -`weft_backend::VERSION` reports it. While the major version is 0, a minor bump -may break the public surface below; a patch bump may not. Manifest and -compilation wire shapes, refusal codes and the order of pipeline checks are -part of the surface. +Published to crates.io with every weft release, at the release version: the +`vX.Y.Z` tag, the `umf-weft` wheel and all four shared crates (`weft-model`, +`weft-expr`, `weft-backend`, `weft-postgresql-emit`) carry the same number, and +`weft_backend::VERSION` reports it. Depend on them at one exact version, for example +`weft-backend = "=0.4.58"`. While weft is 0.x any release may change the public +surface below; `CHANGELOG.md` records each change. Manifest and compilation wire shapes, refusal codes and the order of pipeline checks are part of the surface. ## Public surface diff --git a/crates/weft-backend/src/lib.rs b/crates/weft-backend/src/lib.rs index 6794a1d7..a5baeea7 100644 --- a/crates/weft-backend/src/lib.rs +++ b/crates/weft-backend/src/lib.rs @@ -16,5 +16,5 @@ pub mod boundary; pub mod manifest; pub mod sql; -/// This crate's contract version (`README.md`). +/// The weft release version this crate was built at (see `README.md`). pub const VERSION: &str = env!("CARGO_PKG_VERSION"); diff --git a/crates/weft-core/Cargo.toml b/crates/weft-core/Cargo.toml index 6e8cdc06..a6f9aa2e 100644 --- a/crates/weft-core/Cargo.toml +++ b/crates/weft-core/Cargo.toml @@ -16,9 +16,9 @@ bounded-current-string-candidate=["current-query-refinement-candidate"] current-query-refinement-candidate=[] [dependencies] -weft-model = { path = "../weft-model" } -weft-expr = { path = "../weft-expr" } -weft-backend = { path = "../weft-backend" } +weft-model.workspace = true +weft-expr.workspace = true +weft-backend.workspace = true umf-core = { git = "https://github.com/DocumentDrivenDX/umf.git", tag = "umf-v0.10.11", default-features = false, features = ["full-core"], optional = true } umf-codegen = { git = "https://github.com/DocumentDrivenDX/umf.git", tag = "umf-v0.10.11", optional = true } base64 = "=0.22.1" diff --git a/crates/weft-core/src/compile.rs b/crates/weft-core/src/compile.rs index 2fc38c05..4d2d4645 100644 --- a/crates/weft-core/src/compile.rs +++ b/crates/weft-core/src/compile.rs @@ -593,7 +593,7 @@ impl Compiler { .collect() }; Ok( - json!({"interfaceVersion":version,"status":"compiled","diagnostics":[],"dialect":dialect,"compilerVersion":concat!("weft/",env!("CARGO_PKG_VERSION")),"modelPins":catalog.pins(), + json!({"interfaceVersion":version,"status":"compiled","diagnostics":[],"dialect":dialect,"compilerVersion":crate::COMPILER_VERSION,"modelPins":catalog.pins(), "backend":{"backendId":compiled.backend_id,"backendVersion":compiled.backend_version,"targetProfile":compiled.target_profile.id,"interfaceVersion":manifest.interface_version}, "targetContext":compiled.target_profile,"bindingSha256":compiled.binding_sha256,"logicalPlan":logical_plan,"sql":compiled.emission.sql,"parameters":compiled.emission.parameters,"columns":columns,"obligations":compiled.emission.obligations, "qualification":{"status":if candidate{"candidate"}else{"conformance-verified"},"evidence":evidence,"assumptions":[],"operations":compiled.qualifications}}), diff --git a/crates/weft-core/src/compile04.rs b/crates/weft-core/src/compile04.rs index a4960e6d..4386c661 100644 --- a/crates/weft-core/src/compile04.rs +++ b/crates/weft-core/src/compile04.rs @@ -386,7 +386,7 @@ impl Compiler { .collect(); let response = json!({ "interfaceVersion":"weft-compile/0.4.0", "status":"compiled", "diagnostics":[], - "dialect":"weft-sql/0.4.0", "compilerVersion":concat!("weft/",env!("CARGO_PKG_VERSION")), + "dialect":"weft-sql/0.4.0", "compilerVersion":crate::COMPILER_VERSION, "modelPins":catalog.pins(), "logicalPlan":plan, "backend":{"backendId":compiled.backend_id,"backendVersion":compiled.backend_version, "targetProfile":compiled.target_profile.id,"interfaceVersion":"weft-backend/0.3.0"}, diff --git a/crates/weft-core/src/compile041.rs b/crates/weft-core/src/compile041.rs index 730a9bc2..342d0c98 100644 --- a/crates/weft-core/src/compile041.rs +++ b/crates/weft-core/src/compile041.rs @@ -196,7 +196,7 @@ impl Compiler { .collect(); let response = json!({ "interfaceVersion":"weft-compile/0.4.1", "status":"compiled", "diagnostics":[], - "dialect":"weft-sql/0.4.1", "compilerVersion":concat!("weft/",env!("CARGO_PKG_VERSION")), + "dialect":"weft-sql/0.4.1", "compilerVersion":crate::COMPILER_VERSION, "modelPins":catalog.pins(), "logicalPlan":plan, "backend":{"backendId":compiled.backend_id,"backendVersion":compiled.backend_version, "targetProfile":compiled.target_profile.id,"interfaceVersion":"weft-backend/0.3.0"}, diff --git a/crates/weft-core/src/compile042.rs b/crates/weft-core/src/compile042.rs index 378a73d6..46dea6ae 100644 --- a/crates/weft-core/src/compile042.rs +++ b/crates/weft-core/src/compile042.rs @@ -182,7 +182,7 @@ impl Compiler { .collect(); let response = json!({ "interfaceVersion":"weft-compile/0.4.2", "status":"compiled", "diagnostics":[], - "dialect":"weft-sql/0.4.2", "compilerVersion":concat!("weft/",env!("CARGO_PKG_VERSION")), + "dialect":"weft-sql/0.4.2", "compilerVersion":crate::COMPILER_VERSION, "modelPins":catalog.pins(), "logicalPlan":plan, "backend":{"backendId":compiled.backend_id,"backendVersion":compiled.backend_version, "targetProfile":compiled.target_profile.id,"interfaceVersion":"weft-backend/0.3.0"}, diff --git a/crates/weft-core/src/lib.rs b/crates/weft-core/src/lib.rs index 71c12ae6..dca6133b 100644 --- a/crates/weft-core/src/lib.rs +++ b/crates/weft-core/src/lib.rs @@ -1,3 +1,7 @@ +/// The `compilerVersion` every compile response reports. A wire identity, fixed +/// independently of the crate's release version so that releases do not change +/// emitted responses. +pub const COMPILER_VERSION: &str = "weft/0.1.0"; #[cfg(feature="engine-temporal")] pub mod application_temporal; // SPDX-License-Identifier: MIT OR Apache-2.0 diff --git a/crates/weft-expr/Cargo.toml b/crates/weft-expr/Cargo.toml index d5e12075..2313d8a0 100644 --- a/crates/weft-expr/Cargo.toml +++ b/crates/weft-expr/Cargo.toml @@ -1,14 +1,16 @@ [package] license = "MIT OR Apache-2.0" name = "weft-expr" -# Own semver, independent of the workspace and wheel versions. See README.md. -version = "0.1.0" +# Published to crates.io at the weft release version. See README.md. +version.workspace = true edition.workspace = true -publish.workspace = true +publish = ["crates-io"] +repository.workspace = true +readme = "README.md" rust-version = "1.90" description = "Typed field, literal, comparison and exact-arithmetic expressions and the weft.update-selection/1 predicate format" [dependencies] -weft-model = { path = "../weft-model" } +weft-model.workspace = true serde.workspace = true serde_json.workspace = true diff --git a/crates/weft-expr/README.md b/crates/weft-expr/README.md index 480b42c9..51b9c4aa 100644 --- a/crates/weft-expr/README.md +++ b/crates/weft-expr/README.md @@ -1,4 +1,4 @@ -# weft-expr 0.1.0 +# weft-expr The typed expression and predicate core shared by weft's compiler (`weft-core`) and other compilers that type programs against UMF models (Fireweed's @@ -11,10 +11,12 @@ diagnostics. It parses no source text and lowers nothing to a backend. ## Version -Own semver, independent of the workspace and the `umf-weft` wheel; -`weft_expr::VERSION` reports it. While the major version is 0, a minor bump may -break the public surface below; a patch bump may not. Wire shapes and diagnostic -codes are part of the surface. +Published to crates.io with every weft release, at the release version: the +`vX.Y.Z` tag, the `umf-weft` wheel and all four shared crates (`weft-model`, +`weft-expr`, `weft-backend`, `weft-postgresql-emit`) carry the same number, and +`weft_expr::VERSION` reports it. Depend on them at one exact version, for example +`weft-expr = "=0.4.58"`. While weft is 0.x any release may change the public +surface below; `CHANGELOG.md` records each change. Wire shapes and diagnostic codes are part of the surface. ## Public surface diff --git a/crates/weft-expr/src/lib.rs b/crates/weft-expr/src/lib.rs index f31f3e6f..44a0bc96 100644 --- a/crates/weft-expr/src/lib.rs +++ b/crates/weft-expr/src/lib.rs @@ -11,5 +11,5 @@ pub mod compare; pub mod operand; pub mod selection; -/// This crate's contract version (`README.md`). +/// The weft release version this crate was built at (see `README.md`). pub const VERSION: &str = env!("CARGO_PKG_VERSION"); diff --git a/crates/weft-model/Cargo.toml b/crates/weft-model/Cargo.toml index 13a62df5..0d93cd4d 100644 --- a/crates/weft-model/Cargo.toml +++ b/crates/weft-model/Cargo.toml @@ -1,10 +1,12 @@ [package] license = "MIT OR Apache-2.0" name = "weft-model" -# Own semver, independent of the workspace and wheel versions. See README.md. -version = "0.1.0" +# Published to crates.io at the weft release version. See README.md. +version.workspace = true edition.workspace = true -publish.workspace = true +publish = ["crates-io"] +repository.workspace = true +readme = "README.md" rust-version = "1.90" description = "UMF model loading, identity resolution, logical typing and exact values shared by weft and other compilers" diff --git a/crates/weft-model/README.md b/crates/weft-model/README.md index 859f76f2..e9c364a0 100644 --- a/crates/weft-model/README.md +++ b/crates/weft-model/README.md @@ -1,4 +1,4 @@ -# weft-model 0.1.0 +# weft-model UMF model loading, identity resolution, logical typing and exact values, shared by weft's compiler (`weft-core`) and other compilers that type programs against UMF @@ -11,10 +11,19 @@ other workspace crate. ## Version -The crate has its own semver, independent of the workspace and the `umf-weft` -wheel. `weft_model::VERSION` reports it. While the major version is 0, a minor -bump may break the public surface below; a patch bump may not. Diagnostic codes -are part of the surface. +Published to crates.io with every weft release, at the release version: the +`vX.Y.Z` tag, the `umf-weft` wheel and all four shared crates (`weft-model`, +`weft-expr`, `weft-backend`, `weft-postgresql-emit`) carry the same number, and +`weft_model::VERSION` reports it. Depend on them at one exact version, for example +`weft-model = "=0.4.58"`. While weft is 0.x any release may change the public +surface below; `CHANGELOG.md` records each change. Diagnostic codes are part of the surface. + +Two build settings of this workspace do not travel with the published crate. +weft patches `ahash` to its `no-rng` feature (`vendor/README.md`), so the schema +validator uses no runtime entropy; without the same `[patch.crates-io]` entry a +dependent gets upstream `ahash` with runtime entropy. And wasm32 builds need +`--cfg getrandom_backend="unsupported"` (`.cargo/config.toml`). The compiled-in +UMF 0.10 schema ships in the crate (`schema/`). ## Public surface diff --git a/spec/upstream/umf-0.10.0-bundled.schema.json b/crates/weft-model/schema/umf-0.10.0-bundled.schema.json similarity index 100% rename from spec/upstream/umf-0.10.0-bundled.schema.json rename to crates/weft-model/schema/umf-0.10.0-bundled.schema.json diff --git a/crates/weft-model/src/catalog.rs b/crates/weft-model/src/catalog.rs index 746b21d6..6793c2f0 100644 --- a/crates/weft-model/src/catalog.rs +++ b/crates/weft-model/src/catalog.rs @@ -169,7 +169,7 @@ fn selected010_inner(pin: &ModelPin, element: &Value, allow_raw_read_metadata: b } Ok(()) } -#[jsonschema::validator(path = "../../spec/upstream/umf-0.10.0-bundled.schema.json")] +#[jsonschema::validator(path = "schema/umf-0.10.0-bundled.schema.json")] struct Envelope10; impl Catalog { /// Immutable evidence of the trusted SDK scalar presence preparation path. diff --git a/crates/weft-model/src/lib.rs b/crates/weft-model/src/lib.rs index c396c098..37018a30 100644 --- a/crates/weft-model/src/lib.rs +++ b/crates/weft-model/src/lib.rs @@ -18,5 +18,5 @@ pub mod name; pub mod string_domain; pub mod types; -/// This crate's contract version (`README.md`). +/// The weft release version this crate was built at (see `README.md`). pub const VERSION: &str = env!("CARGO_PKG_VERSION"); diff --git a/crates/weft-postgresql-emit/Cargo.toml b/crates/weft-postgresql-emit/Cargo.toml index 83f7e54c..7760e57e 100644 --- a/crates/weft-postgresql-emit/Cargo.toml +++ b/crates/weft-postgresql-emit/Cargo.toml @@ -1,15 +1,17 @@ [package] license = "MIT OR Apache-2.0" name = "weft-postgresql-emit" -# Own semver, independent of the workspace and wheel versions. See README.md. -version = "0.1.0" +# Published to crates.io at the weft release version. See README.md. +version.workspace = true edition.workspace = true -publish.workspace = true +publish = ["crates-io"] +repository.workspace = true +readme = "README.md" rust-version = "1.90" description = "PostgreSQL emission primitives: identifier quoting, parameter slots, string literals, typed casts, collation and result decoders" [dependencies] -weft-model = { path = "../weft-model" } -weft-backend = { path = "../weft-backend" } +weft-model.workspace = true +weft-backend.workspace = true base64 = "=0.22.1" serde_json.workspace = true diff --git a/crates/weft-postgresql-emit/README.md b/crates/weft-postgresql-emit/README.md index 7a9da986..7569b166 100644 --- a/crates/weft-postgresql-emit/README.md +++ b/crates/weft-postgresql-emit/README.md @@ -1,4 +1,4 @@ -# weft-postgresql-emit 0.1.0 +# weft-postgresql-emit PostgreSQL emission primitives shared by weft's PostgreSQL backends (`weft-postgresql`) and other compilers' PostgreSQL bindings (Fireweed): quoted @@ -13,10 +13,12 @@ primitives. ## Version -Own semver, independent of the workspace and the `umf-weft` wheel; -`weft_postgresql_emit::VERSION` reports it. While the major version is 0, a -minor bump may break the public surface below; a patch bump may not. Emitted -text and refusal codes are part of the surface. +Published to crates.io with every weft release, at the release version: the +`vX.Y.Z` tag, the `umf-weft` wheel and all four shared crates (`weft-model`, +`weft-expr`, `weft-backend`, `weft-postgresql-emit`) carry the same number, and +`weft_postgresql_emit::VERSION` reports it. Depend on them at one exact version, for example +`weft-postgresql-emit = "=0.4.58"`. While weft is 0.x any release may change the public +surface below; `CHANGELOG.md` records each change. Emitted text and refusal codes are part of the surface. ## Public surface diff --git a/crates/weft-postgresql-emit/src/lib.rs b/crates/weft-postgresql-emit/src/lib.rs index e64c74c1..c8b3d793 100644 --- a/crates/weft-postgresql-emit/src/lib.rs +++ b/crates/weft-postgresql-emit/src/lib.rs @@ -11,7 +11,7 @@ use weft_model::{ types::{Family, FamilySet, LogicalType, ScalarFamily}, }; -/// This crate's contract version (`README.md`). +/// The weft release version this crate was built at (see `README.md`). pub const VERSION: &str = env!("CARGO_PKG_VERSION"); /// Exact quoted identifier in the proposed standard NAMEDATALEN=64 profile. /// Nonstandard server builds require a separately qualified identifier profile. diff --git a/crates/weft-postgresql/Cargo.toml b/crates/weft-postgresql/Cargo.toml index 0b38ba9a..093857a8 100644 --- a/crates/weft-postgresql/Cargo.toml +++ b/crates/weft-postgresql/Cargo.toml @@ -7,8 +7,8 @@ publish.workspace = true [dependencies] sqlparser.workspace = true weft-core = { path = "../weft-core" } -weft-expr = { path = "../weft-expr" } -weft-postgresql-emit = { path = "../weft-postgresql-emit" } +weft-expr.workspace = true +weft-postgresql-emit.workspace = true serde_json.workspace = true serde.workspace = true base64 = "=0.22.1" diff --git a/crates/weft-postgresql/src/truss_runtime/temporal.rs b/crates/weft-postgresql/src/truss_runtime/temporal.rs index 7e33b524..44e1ac00 100644 --- a/crates/weft-postgresql/src/truss_runtime/temporal.rs +++ b/crates/weft-postgresql/src/truss_runtime/temporal.rs @@ -623,6 +623,6 @@ pub fn compile_value( }; let checks = json!({"version":"weft.truss-temporal-domain-checks/0.2","mode":"native-validated-source","queryAbi":raw["queryAbi"],"maxScanRows":binding.maximum_scan_rows,"maxBytes":binding.maximum_bytes,"sources":[{"record":plan.record,"bindingParameter":1,"requirementsParameter":2,"sourceFunction":source_function,"selectedKey":selected.map(|(k,_)|k)}]}); let page=selected.map(|(key,_)|json!({"version":"weft.engine-temporal-page/0.2","selectedKey":key,"visibleOutputPositions":(1..=visible).collect::>(),"keyOutputPositions":key_positions,"sort":sort_slots})); - let artifact = json!({"interfaceVersion":"weft-compile/0.2.10","status":"compiled","diagnostics":[],"dialect":"weft-sql/0.2.0","compilerVersion":concat!("weft/",env!("CARGO_PKG_VERSION")),"modelPins":plan.model_pins,"bindingSha256":r.target.binding_sha256,"backend":{"backendId":BACKEND,"backendVersion":"0.4.47","targetProfile":r.target.target_profile,"interfaceVersion":"weft-backend/0.2.10"},"targetContext":{"queryAbi":raw["queryAbi"],"releaseId":binding.release_id,"releaseSha256":binding.release_sha256,"installationId":binding.installation_id,"catalogRevision":binding.catalog_revision},"logicalPlan":plan,"sql":sql,"parameters":emit.slots,"columns":columns,"sourceDomainChecks":checks,"obligations":[{"id":"truss.runtime.temporal-source/0.2","owner":"host","failureCode":"WFT-OBLIGATION","parameters":{"source":"complete-buffered-statement-snapshot","authority":"fresh-capture-and-final-recheck","maximumResultRows":binding.maximum_result_rows}}],"qualification":{"status":"candidate","evidence":[],"assumptions":[],"operations":[]}}); + let artifact = json!({"interfaceVersion":"weft-compile/0.2.10","status":"compiled","diagnostics":[],"dialect":"weft-sql/0.2.0","compilerVersion":weft_core::COMPILER_VERSION,"modelPins":plan.model_pins,"bindingSha256":r.target.binding_sha256,"backend":{"backendId":BACKEND,"backendVersion":"0.4.47","targetProfile":r.target.target_profile,"interfaceVersion":"weft-backend/0.2.10"},"targetContext":{"queryAbi":raw["queryAbi"],"releaseId":binding.release_id,"releaseSha256":binding.release_sha256,"installationId":binding.installation_id,"catalogRevision":binding.catalog_revision},"logicalPlan":plan,"sql":sql,"parameters":emit.slots,"columns":columns,"sourceDomainChecks":checks,"obligations":[{"id":"truss.runtime.temporal-source/0.2","owner":"host","failureCode":"WFT-OBLIGATION","parameters":{"source":"complete-buffered-statement-snapshot","authority":"fresh-capture-and-final-recheck","maximumResultRows":binding.maximum_result_rows}}],"qualification":{"status":"candidate","evidence":[],"assumptions":[],"operations":[]}}); Ok(json!({"artifact":artifact,"outputs":descriptors,"page":page})) } diff --git a/crates/weft-python/Cargo.toml b/crates/weft-python/Cargo.toml index 0b3c0b06..33f2f5be 100644 --- a/crates/weft-python/Cargo.toml +++ b/crates/weft-python/Cargo.toml @@ -1,6 +1,6 @@ [package] name="weft-python" -version = "0.4.58" +version.workspace = true edition.workspace=true publish.workspace=true license.workspace=true diff --git a/docs/helix/02-design/architecture.md b/docs/helix/02-design/architecture.md index 239414db..e0e35f01 100644 --- a/docs/helix/02-design/architecture.md +++ b/docs/helix/02-design/architecture.md @@ -102,10 +102,10 @@ never establishes semantic conformance. | Module | Responsibility / Owned Types | Public API | Allowed Dependencies | Forbidden Dependencies | | --- | --- | --- | --- | --- | -| `crates/weft-model` | UMF 0.10 document preparation, identity resolution, logical types and family sets, exact literals and instants (own semver; [README](../../../crates/weft-model/README.md)) | `Catalog`, `Admission`, `LogicalType`, `check_literal` | Locked serialization, digest and schema libraries; no workspace imports | weft-core, other compilers (Fireweed) | -| `crates/weft-expr` | Typed Field/Value operands, comparisons, exact arithmetic domains, `weft.update-selection/1` codec (own semver; [README](../../../crates/weft-expr/README.md)) | `operand`, `compare`, `arithmetic`, `selection` | `weft-model`; locked serialization libraries | weft-core, backends, other compilers (Fireweed) | -| `crates/weft-backend` | CONTRACT-002 manifests, `Frontend`/`Backend`/`TargetArtifact` traits, checked compile pipeline, registry, SQL emission carrier (own semver; [README](../../../crates/weft-backend/README.md)) | `manifest`, `boundary`, `sql` | `weft-model`; locked serialization libraries | weft-core, other compilers (Fireweed) | -| `crates/weft-postgresql-emit` | PostgreSQL identifier quoting, parameter slots, string literals, typed casts, `C` collation, result decoders (own semver; [README](../../../crates/weft-postgresql-emit/README.md)) | `Identifier`, `Parameters`, `typed`, `decoder` | `weft-model`, `weft-backend`; locked encoding libraries | weft-postgresql, other compilers' PostgreSQL bindings (Fireweed) | +| `crates/weft-model` | UMF 0.10 document preparation, identity resolution, logical types and family sets, exact literals and instants (published to crates.io at the release version; [README](../../../crates/weft-model/README.md)) | `Catalog`, `Admission`, `LogicalType`, `check_literal` | Locked serialization, digest and schema libraries; no workspace imports | weft-core, other compilers (Fireweed) | +| `crates/weft-expr` | Typed Field/Value operands, comparisons, exact arithmetic domains, `weft.update-selection/1` codec (published to crates.io at the release version; [README](../../../crates/weft-expr/README.md)) | `operand`, `compare`, `arithmetic`, `selection` | `weft-model`; locked serialization libraries | weft-core, backends, other compilers (Fireweed) | +| `crates/weft-backend` | CONTRACT-002 manifests, `Frontend`/`Backend`/`TargetArtifact` traits, checked compile pipeline, registry, SQL emission carrier (published to crates.io at the release version; [README](../../../crates/weft-backend/README.md)) | `manifest`, `boundary`, `sql` | `weft-model`; locked serialization libraries | weft-core, other compilers (Fireweed) | +| `crates/weft-postgresql-emit` | PostgreSQL identifier quoting, parameter slots, string literals, typed casts, `C` collation, result decoders (published to crates.io at the release version; [README](../../../crates/weft-postgresql-emit/README.md)) | `Identifier`, `Parameters`, `typed`, `decoder` | `weft-model`, `weft-backend`; locked encoding libraries | weft-postgresql, other compilers' PostgreSQL bindings (Fireweed) | | `crates/weft-core` | Dialect parsing, logical AST/IR, capability gates and compile protocol; re-exports weft-model under its historical module paths | Compiler/Registry, CONTRACT-001–003 | `weft-model`, `weft-expr`, `weft-backend`; locked external compiler and UMF semantic libraries | Backend crates, embedding crates, storage/host implementations | | `crates/weft-databricks` | Target binding, finite native representation, SQL/decoder obligations; `count_having` and `left_join` own their separate explicit profiles | Backend implementations of CONTRACT-002 | `weft-core`; locked serialization dependencies | Runtime/wrappers, PostgreSQL adapter, live storage clients | | `crates/weft-postgresql` | PostgreSQL target meanings and SQL/obligations | Backend implementations of CONTRACT-002; the Truss storage layout | `weft-core`, `weft-expr`, `weft-postgresql-emit`; locked target dependencies | Runtime/wrappers, Databricks adapter, live storage clients | diff --git a/docs/helix/02-design/module-boundaries.json b/docs/helix/02-design/module-boundaries.json index 0652e7e6..a110761a 100644 --- a/docs/helix/02-design/module-boundaries.json +++ b/docs/helix/02-design/module-boundaries.json @@ -58,7 +58,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -757,7 +757,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -769,7 +769,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -781,7 +781,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -1682,6 +1682,7 @@ { "path": "crates/weft-core/src/lib.rs", "publicDeclarations": [ + "const:COMPILER_VERSION", "mod:application_temporal", "mod:application_ir", "mod:application_lineage", @@ -3018,7 +3019,7 @@ { "name": "weft-model", "manifest": "crates/weft-model/Cargo.toml", - "responsibility": "Shared UMF model layer (own semver; see crates/weft-model/README.md)", + "responsibility": "Shared UMF model layer (published at the release version; see crates/weft-model/README.md)", "ownedTypes": "Catalog, Admission, prepared documents, identities, logical types and family sets, descriptors, diagnostics, exact literals and instants", "constructionAndIntegration": "Pure library with no workspace dependencies; weft-core and other compilers prepare catalogs and select admission explicitly", "dependencies": [ @@ -3384,7 +3385,7 @@ { "name": "weft-expr", "manifest": "crates/weft-expr/Cargo.toml", - "responsibility": "Shared typed expression and predicate core (own semver; see crates/weft-expr/README.md)", + "responsibility": "Shared typed expression and predicate core (published at the release version; see crates/weft-expr/README.md)", "ownedTypes": "Field and Value operands, CompareOp and ComparisonOperator, exact arithmetic Domain/Expression/Kind, weft.update-selection/1 Predicate", "constructionAndIntegration": "Pure library over weft-model; weft-core and backends build and decode these values, other compilers reuse them", "dependencies": [ @@ -3422,7 +3423,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -3516,7 +3517,7 @@ { "name": "weft-backend", "manifest": "crates/weft-backend/Cargo.toml", - "responsibility": "Shared backend boundary (CONTRACT-002; own semver; see crates/weft-backend/README.md)", + "responsibility": "Shared backend boundary (CONTRACT-002; published at the release version; see crates/weft-backend/README.md)", "ownedTypes": "Manifest types and validation, Frontend/Backend/TargetArtifact traits, checked compile pipeline, Registry, SQL Emission carrier", "constructionAndIntegration": "Pure library over weft-model; weft-core supplies the WeftPlans frontend and registers weft backends through it; other compilers supply their own frontend", "dependencies": [ @@ -3554,7 +3555,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -3723,7 +3724,7 @@ { "name": "weft-postgresql-emit", "manifest": "crates/weft-postgresql-emit/Cargo.toml", - "responsibility": "Shared PostgreSQL emission primitives (own semver; see crates/weft-postgresql-emit/README.md)", + "responsibility": "Shared PostgreSQL emission primitives (published at the release version; see crates/weft-postgresql-emit/README.md)", "ownedTypes": "Identifier, Parameters slots, string literals, typed casts, C collation, result decoders", "constructionAndIntegration": "Pure library over weft-model and weft-backend; weft-postgresql binds the Truss layout over it, other compilers bind their own layouts", "dependencies": [ @@ -3759,7 +3760,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -3771,7 +3772,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -3895,7 +3896,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -3907,7 +3908,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -3919,7 +3920,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5221,7 +5222,7 @@ "kind": "normal", "optional": true, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5233,7 +5234,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5245,7 +5246,7 @@ "kind": "normal", "optional": true, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5257,7 +5258,7 @@ "kind": "normal", "optional": true, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5513,7 +5514,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5567,7 +5568,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5644,7 +5645,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], @@ -5746,7 +5747,7 @@ "kind": "normal", "optional": false, "source": null, - "req": "*", + "req": null, "rename": null, "target": null, "features": [], diff --git a/scripts/check-release-version.py b/scripts/check-release-version.py index 2d68ba7c..7df4015d 100755 --- a/scripts/check-release-version.py +++ b/scripts/check-release-version.py @@ -5,10 +5,12 @@ Usage: check-release-version.py vX.Y.Z check-release-version.py --shared-crates (only the shared-crate check; CI runs it on every PR) -Checks that the tag, both pyproject.toml files and crates/weft-python/Cargo.toml +Checks that the tag, both pyproject.toml files and the Cargo workspace version carry the same version, that no Cargo.toml pins UMF by commit (`rev =`), that CHANGELOG.md has a section for the version, and that each shared compiler crate -(SHARED_CRATES, versioned on its own) states its Cargo version in its README title. +(SHARED_CRATES, published to crates.io) inherits the workspace version, is +publishable only to crates.io, and is pinned at exactly that version in +[workspace.dependencies]. """ import re import sys @@ -16,19 +18,29 @@ from pathlib import Path ROOT = Path(__file__).resolve().parents[1] -# Crates other compilers depend on. Each has its own semver and a README whose -# first line is "# ". +# Crates other compilers depend on, published to crates.io at the workspace +# version by the release workflow, in this (dependency) order. SHARED_CRATES = ("weft-model", "weft-expr", "weft-backend", "weft-postgresql-emit") +def workspace() -> dict: + return tomllib.loads((ROOT / "Cargo.toml").read_text())["workspace"] + + def shared_crate_errors() -> list[str]: errors = [] + root = workspace() + version = root["package"]["version"] + pins = root.get("dependencies", {}) for name in SHARED_CRATES: - crate = ROOT / "crates" / name - version = tomllib.loads((crate / "Cargo.toml").read_text())["package"]["version"] - title = (crate / "README.md").read_text().splitlines()[0] - if title != f"# {name} {version}": - errors.append(f"crates/{name}/README.md title {title!r} does not state Cargo version {version}") + package = tomllib.loads((ROOT / "crates" / name / "Cargo.toml").read_text())["package"] + if package.get("version") != {"workspace": True}: + errors.append(f"crates/{name}/Cargo.toml must use version.workspace = true") + if package.get("publish") != ["crates-io"]: + errors.append(f"crates/{name}/Cargo.toml must set publish = [\"crates-io\"]") + pin = pins.get(name, {}) + if pin.get("path") != f"crates/{name}" or pin.get("version") != f"={version}": + errors.append(f"Cargo.toml [workspace.dependencies] {name} must be path crates/{name}, version ={version}") return errors @@ -42,9 +54,7 @@ def main(tag: str) -> int: "crates/weft-python/pyproject.toml": tomllib.loads( (ROOT / "crates/weft-python/pyproject.toml").read_text() )["project"]["version"], - "crates/weft-python/Cargo.toml": tomllib.loads( - (ROOT / "crates/weft-python/Cargo.toml").read_text() - )["package"]["version"], + "Cargo.toml [workspace.package]": workspace()["package"]["version"], } for name, value in fields.items(): if value != version: @@ -71,7 +81,7 @@ def shared_only() -> int: for error in errors: print(f"error: {error}", file=sys.stderr) if not errors: - print("shared crates: " + ", ".join(SHARED_CRATES) + " README titles match Cargo versions") + print("shared crates: " + ", ".join(SHARED_CRATES) + " inherit and pin the workspace version") return 1 if errors else 0 diff --git a/scripts/module-boundaries.ts b/scripts/module-boundaries.ts index 87c93c87..ad1c5fdd 100644 --- a/scripts/module-boundaries.ts +++ b/scripts/module-boundaries.ts @@ -1,8 +1,10 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 import {readFile, readdir, realpath} from 'node:fs/promises'; import {resolve, dirname} from 'node:path'; +// A workspace path dependency's version requirement is the release version +// (checked by scripts/check-release-version.py), not a boundary fact. export function edgeIdentity(d:any, root:string) { - return {name:d.name,kind:d.kind ?? 'normal',optional:d.optional,source:d.source ?? null,req:d.req ?? null,rename:d.rename ?? null,target:d.target ?? null,features:[...(d.features ?? [])].sort(),defaultFeatures:d.uses_default_features ?? true,path:d.path ? resolve(d.path).slice(root.length+1) : null}; + return {name:d.name,kind:d.kind ?? 'normal',optional:d.optional,source:d.source ?? null,req:d.path ? null : (d.req ?? null),rename:d.rename ?? null,target:d.target ?? null,features:[...(d.features ?? [])].sort(),defaultFeatures:d.uses_default_features ?? true,path:d.path ? resolve(d.path).slice(root.length+1) : null}; } export function checkGraph(metadata: any, map: any, root:string='') { const expected = new Map(map.packages.map((p: any) => [p.name,p])); diff --git a/scripts/upstream/bundle-umf010-schema.py b/scripts/upstream/bundle-umf010-schema.py index 9ef99d23..a3ca99ab 100644 --- a/scripts/upstream/bundle-umf010-schema.py +++ b/scripts/upstream/bundle-umf010-schema.py @@ -7,7 +7,7 @@ ROOT = Path(__file__).resolve().parents[2] SOURCE_MANIFEST = ROOT / "spec/upstream/actions-plan-010/owner-pins.json" -BUNDLE_PATH = ROOT / "spec/upstream/umf-0.10.0-bundled.schema.json" +BUNDLE_PATH = ROOT / "crates/weft-model/schema/umf-0.10.0-bundled.schema.json" PROVENANCE_PATH = ROOT / "spec/upstream/umf-0.10.0-bundled.source.json" SEMANTIC_URI = "urn:umf:core:semantic-type-reference:1.0.0" SEMANTIC_LOCAL = "#/$defs/semanticTypeReference" diff --git a/spec/upstream/README.md b/spec/upstream/README.md index c0556817..b9ee1433 100644 --- a/spec/upstream/README.md +++ b/spec/upstream/README.md @@ -5,7 +5,9 @@ upstream core schema is `umf-0.10.0.schema.json`; source provenance and the semantic-type reference resource are pinned under `actions-plan-010/owner-pins.json`. -`umf-0.10.0-bundled.schema.json` is the compile-time validator input. Recreate +`crates/weft-model/schema/umf-0.10.0-bundled.schema.json` is the compile-time +validator input; it lives in the `weft-model` crate so the published crate +carries it. Recreate it with `python3 scripts/upstream/bundle-umf010-schema.py`. The generator checks the owner-pinned source hashes and writes provenance to `umf-0.10.0-bundled.source.json`. The bundle resolves the pinned semantic-type diff --git a/spec/upstream/umf-0.10.0-bundled.source.json b/spec/upstream/umf-0.10.0-bundled.source.json index a91aa2ab..35018d1b 100644 --- a/spec/upstream/umf-0.10.0-bundled.source.json +++ b/spec/upstream/umf-0.10.0-bundled.source.json @@ -20,7 +20,7 @@ "sha256": "12daea86d95b60f280e74e0f9c3240ba297bc3e8407003bdb1601a53cd7b78ce" } ], - "bundlePath": "spec/upstream/umf-0.10.0-bundled.schema.json", + "bundlePath": "crates/weft-model/schema/umf-0.10.0-bundled.schema.json", "bundleSha256": "ebcb381df0cd673db5593a4769b63e3ec1e0db0c34e920ea51f3bd83c4eaa3c3", "generation": "Inline the owner-pinned semanticType reference resource at its exact external $ref sites; preserve all schema assertions and recursive self-reference semantics." }