From 8c7a535423af56a399f31ba15a8f0c79e5ab8796 Mon Sep 17 00:00:00 2001 From: "chio-labs-delivery[bot]" <320578061+chio-labs-delivery[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 09:32:46 +0000 Subject: [PATCH 1/2] chore(main): release 0.258.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 50 +++++++++++++++++++++++++++++++ crates/sqlbuild-cli/Cargo.toml | 2 +- crates/sqlbuild-python/Cargo.toml | 2 +- pyproject.toml | 4 +-- uv.lock | 2 +- 6 files changed, 56 insertions(+), 6 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8b78800696..5e9b38f182 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.257.0" + ".": "0.258.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index bfbeec38ec..ef87212682 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,55 @@ # Changelog +## [0.258.0](https://github.com/sqlstack-io/sqlbuild/compare/v0.257.0...v0.258.0) (2026-11-22) + + +### ⚠ BREAKING CHANGES + +* sensors as functions, provider secrets and a reworked sqb dev ([#1615](https://github.com/sqlstack-io/sqlbuild/issues/1615)) +* **deps:** This release changes sensors, provider settings, sqb dev, the control API and custom Rules. + - Sensors: `@sensor(description=..., when=...)` is always a decorator on the function it runs. The `sensor(..., run=...)` form, `run=` and the positional name are removed. The sensor is named after the function (or `name=`), returns `RunRequest(job=...)`, and its `SensorContext` carries `event`. Every sensor needs a serving location. + - Sensors: migration 0005 deletes old-form sensors' tick history and pending work, hides them until their location publishes again, and makes run keys unique per job. + - Provider settings: a default `.env` the parser rejects fails every command with exit 1. A provider field without a default counts as a required secret, whatever its type. Secret-typed fields with a default no longer appear in `sqb debug`. + - Location health: reports require the provider list, so the server rejects a report from an older location. + - Ad-hoc runs: run requests and plan work carry the named job's settings. An older location refuses those plans and runs such builds without the job's settings. + - Job concurrency: a published job's `resolved_concurrency` is `{limit}`. Its `source` and the `ConcurrencySource` schema are removed, and `sqb build --verbose` no longer names the source. Until a location publishes again, its job pages, group runs and ad-hoc runs fail. + - sqb dev: stopping cancels runs in flight, which can take up to 30 seconds. A second Ctrl+C or Ctrl+\ forces the stop. Ctrl+Z is unsupported. Exit statuses are 0 for q, 130 for Ctrl+C, 143 for SIGTERM, 129 for SIGHUP, 2 when it didn't start (including a failed first warehouse connection) and 1 when a service failed after it was ready. + - sqb dev: plain output uses the live screen's step, problem and event lines. NO_COLOR only turns colour off; use --plain for plain output. Typed sign-in input isn't echoed. + - sqb server: local workers run in their own process groups. A terminal's Ctrl+C reaches only the server, which stops them, and SIGHUP stops the server and scheduler like SIGTERM. + - Custom Rules: the syntax tree's kinds are snake_case, such as `cte`, `join`, `subquery` and `star`, `nodes(kind=...)` matches them exactly, and clause nodes are new parents of their contents. + - SQLClean: PostgreSQL, BigQuery and Databricks SQL nested more than 512 levels is reported as rules-unevaluated. + +### Features + +* **dev:** rework the sqb dev terminal, with prompt stops and full errors ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **location:** resume dynamic models whose build went silent after each completed sync ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **providers:** load provider settings from the project .env and stop runs that miss required secrets before they reach the warehouse ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **rules:** add clause nodes to the custom-rule syntax tree ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* sensors as functions, provider secrets and a reworked sqb dev ([#1615](https://github.com/sqlstack-io/sqlbuild/issues/1615)) ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **sensors:** sensors are decorated functions, with operator skip, a trial command, masked provider secrets and per-sensor failure isolation ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **server:** apply a job's settings and permissions to ad-hoc builds and plan previews that name it ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **ui:** add people who sign in with passwords, edit roles inline, title every page and quiet the lineage hover ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) + + +### Bug Fixes + +* **format:** format models whose whole body is one macro call on Snowflake ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **functions:** let Rules read partitioned Python table function calls ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **scheduler:** isolate unreadable snapshots, triggers and requests so each fails on its own ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **test:** test a function's current code or fail with T006, and read a partitioned call's fixture once ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **ui:** draw a plan's graph and fit the Checks list ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) +* **worker:** refuse a run request the worker can't fully read and keep the JSON report out of run output ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) + + +### Performance Improvements + +* **ui:** share and revalidate one check list per location ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) + + +### Build System + +* **deps:** pin SQLQuack 0.22.1 and SQLClean 0.11.1 ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa)) + ## [0.257.0](https://github.com/sqlstack-io/sqlbuild/compare/v0.256.0...v0.257.0) (2026-11-21) diff --git a/crates/sqlbuild-cli/Cargo.toml b/crates/sqlbuild-cli/Cargo.toml index d1ed760d66..0e647f7ea9 100644 --- a/crates/sqlbuild-cli/Cargo.toml +++ b/crates/sqlbuild-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlbuild-cli" -version = "0.257.0" +version = "0.258.0" description = "The native `sqb` executable: reused compiles and Python-free commands served without Python, every other command handed to the Python CLI." edition.workspace = true license-file = "LICENSE" diff --git a/crates/sqlbuild-python/Cargo.toml b/crates/sqlbuild-python/Cargo.toml index 9fd8d51bbb..58e8f666aa 100644 --- a/crates/sqlbuild-python/Cargo.toml +++ b/crates/sqlbuild-python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlbuild-python" -version = "0.257.0" +version = "0.258.0" description = "The sqlbuild._native Python extension module." edition.workspace = true license.workspace = true diff --git a/pyproject.toml b/pyproject.toml index 0b9696542c..12de15ae04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "maturin" [project] name = "sqlbuild" -version = "0.257.0" +version = "0.258.0" description = "Typed, test-first SQL pipelines with local E2E testing" readme = "README.md" requires-python = ">=3.12,<3.15" @@ -18,7 +18,7 @@ dependencies = [ "polyglot-sql-chio==0.13.10", "pydantic-settings>=2,<3", "PyYAML>=6.0.2", - "sqlbuild-cli==0.257.0", # x-release-please-version + "sqlbuild-cli==0.258.0", # x-release-please-version ] [project.optional-dependencies] diff --git a/uv.lock b/uv.lock index e4a87a1bb7..fd1345f360 100644 --- a/uv.lock +++ b/uv.lock @@ -3704,7 +3704,7 @@ wheels = [ [[package]] name = "sqlbuild" -version = "0.257.0" +version = "0.258.0" source = { editable = "." } dependencies = [ { name = "duckdb" }, From 256f911c851695d324f69a8bcb8cdb77af982f87 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 09:33:27 +0000 Subject: [PATCH 2/2] chore: refresh release lockfiles --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 490cdde3e4..90b8301ea4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4279,7 +4279,7 @@ dependencies = [ [[package]] name = "sqlbuild-cli" -version = "0.257.0" +version = "0.258.0" dependencies = [ "blake3", "chrono", @@ -4447,7 +4447,7 @@ dependencies = [ [[package]] name = "sqlbuild-python" -version = "0.257.0" +version = "0.258.0" dependencies = [ "chrono", "fensu-policy",