Skip to content

Commit 9245cba

Browse files
chore(main): release 0.258.0 (#1616)
* chore(main): release 0.258.0 * chore: refresh release lockfiles --------- Co-authored-by: chio-labs-delivery[bot] <320578061+chio-labs-delivery[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 061df0f commit 9245cba

7 files changed

Lines changed: 58 additions & 8 deletions

File tree

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.257.0"
2+
".": "0.258.0"
33
}

‎CHANGELOG.md‎

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# Changelog
22

3+
## [0.258.0](https://github.com/sqlstack-io/sqlbuild/compare/v0.257.0...v0.258.0) (2026-11-22)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* sensors as functions, provider secrets and a reworked sqb dev ([#1615](https://github.com/sqlstack-io/sqlbuild/issues/1615))
9+
* **deps:** This release changes sensors, provider settings, sqb dev, the control API and custom Rules.
10+
- 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.
11+
- 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.
12+
- 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`.
13+
- Location health: reports require the provider list, so the server rejects a report from an older location.
14+
- 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.
15+
- 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.
16+
- 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.
17+
- 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.
18+
- 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.
19+
- 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.
20+
- SQLClean: PostgreSQL, BigQuery and Databricks SQL nested more than 512 levels is reported as rules-unevaluated.
21+
22+
### Features
23+
24+
* **dev:** rework the sqb dev terminal, with prompt stops and full errors ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
25+
* **location:** resume dynamic models whose build went silent after each completed sync ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
26+
* **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))
27+
* **rules:** add clause nodes to the custom-rule syntax tree ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
28+
* 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))
29+
* **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))
30+
* **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))
31+
* **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))
32+
33+
34+
### Bug Fixes
35+
36+
* **format:** format models whose whole body is one macro call on Snowflake ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
37+
* **functions:** let Rules read partitioned Python table function calls ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
38+
* **scheduler:** isolate unreadable snapshots, triggers and requests so each fails on its own ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
39+
* **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))
40+
* **ui:** draw a plan's graph and fit the Checks list ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
41+
* **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))
42+
43+
44+
### Performance Improvements
45+
46+
* **ui:** share and revalidate one check list per location ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
47+
48+
49+
### Build System
50+
51+
* **deps:** pin SQLQuack 0.22.1 and SQLClean 0.11.1 ([061df0f](https://github.com/sqlstack-io/sqlbuild/commit/061df0fb09a7b8f1c10f0be089d3f5d406b8d7aa))
52+
353
## [0.257.0](https://github.com/sqlstack-io/sqlbuild/compare/v0.256.0...v0.257.0) (2026-11-21)
454

555

‎Cargo.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎crates/sqlbuild-cli/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlbuild-cli"
3-
version = "0.257.0"
3+
version = "0.258.0"
44
description = "The native `sqb` executable: reused compiles and Python-free commands served without Python, every other command handed to the Python CLI."
55
edition.workspace = true
66
license-file = "LICENSE"

‎crates/sqlbuild-python/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlbuild-python"
3-
version = "0.257.0"
3+
version = "0.258.0"
44
description = "The sqlbuild._native Python extension module."
55
edition.workspace = true
66
license.workspace = true

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "maturin"
77

88
[project]
99
name = "sqlbuild"
10-
version = "0.257.0"
10+
version = "0.258.0"
1111
description = "Typed, test-first SQL pipelines with local E2E testing"
1212
readme = "README.md"
1313
requires-python = ">=3.12,<3.15"
@@ -18,7 +18,7 @@ dependencies = [
1818
"polyglot-sql-chio==0.13.10",
1919
"pydantic-settings>=2,<3",
2020
"PyYAML>=6.0.2",
21-
"sqlbuild-cli==0.257.0", # x-release-please-version
21+
"sqlbuild-cli==0.258.0", # x-release-please-version
2222
]
2323

2424
[project.optional-dependencies]

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)