Skip to content

Commit 0d006e2

Browse files
authored
Merge branch 'main' into test/databricks-temp-function-type
2 parents bb2e719 + a0a6a89 commit 0d006e2

35 files changed

Lines changed: 603 additions & 103 deletions

‎.github/workflows/build-distributions.yml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ on:
3434
required: false
3535
type: number
3636
default: 0
37+
cargo-profile:
38+
description: "Cargo profile of the native builds: dist for released wheels, release for quicker checks"
39+
required: false
40+
type: string
41+
default: dist
3742
outputs:
3843
sha:
3944
description: "Commit the distributions were built from"
@@ -88,7 +93,8 @@ jobs:
8893
name: Build wheel (${{ matrix.platform.name }})
8994
needs: source
9095
runs-on: ${{ matrix.platform.runner }}
91-
timeout-minutes: 75
96+
# Cold dist builds take up to about 2x the 17-31 minute release-profile jobs on Windows and macOS.
97+
timeout-minutes: 120
9298
strategy:
9399
fail-fast: false
94100
matrix:
@@ -141,7 +147,7 @@ jobs:
141147
command: build
142148
# One platform records a cargo build timing report for build time work.
143149
args: >-
144-
--release --out dist --features extension-module
150+
--profile ${{ inputs.cargo-profile }} --out dist --features extension-module
145151
${{ matrix.platform.name == 'linux-x86_64' && '--timings' || '' }}
146152
target: ${{ matrix.platform.target }}
147153
manylinux: auto
@@ -159,7 +165,7 @@ jobs:
159165
with:
160166
command: build
161167
args: >-
162-
--release --out dist --manifest-path crates/sqlbuild-cli/Cargo.toml --features ui
168+
--profile ${{ inputs.cargo-profile }} --out dist --manifest-path crates/sqlbuild-cli/Cargo.toml --features ui
163169
${{ matrix.platform.name == 'linux-x86_64' && '--timings' || '' }}
164170
target: ${{ matrix.platform.target }}
165171
manylinux: auto

‎.github/workflows/release-performance.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ jobs:
6666
run: uv python install 3.12
6767
- name: Install dependencies
6868
run: uv sync --locked --all-groups --all-extras
69+
# The candidate uses the released wheels' cargo profile, so both sides of the comparison match.
6970
- name: Build candidate wheel
71+
env:
72+
MATURIN_PEP517_ARGS: --profile dist
7073
run: |
7174
uv build --wheel --out-dir "${RUNNER_TEMP}/candidate"
7275
uv build --wheel crates/sqlbuild-cli --out-dir "${RUNNER_TEMP}/candidate"

‎.github/workflows/verify.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,8 @@ jobs:
10991099
sdist: false
11001100
upload: true
11011101
retention-days: 3
1102+
# Release Distributions builds and smoke tests the slower dist profile for every release.
1103+
cargo-profile: release
11021104

11031105
compose:
11041106
name: Packaged Compose lifecycle

‎.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.195.0"
2+
".": "0.196.1"
33
}

‎CHANGELOG.md‎

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

3+
## [0.196.1](https://github.com/sqlstack-io/sqlbuild/compare/v0.196.0...v0.196.1) (2026-11-07)
4+
5+
6+
### Bug Fixes
7+
8+
* **bigquery:** render GoogleSQL column type changes and escapes ([#1341](https://github.com/sqlstack-io/sqlbuild/issues/1341)) ([18f2ac3](https://github.com/sqlstack-io/sqlbuild/commit/18f2ac3ed0edd93b599794640371227c6c324bfd))
9+
10+
## [0.196.0](https://github.com/sqlstack-io/sqlbuild/compare/v0.195.0...v0.196.0) (2026-11-07)
11+
12+
13+
### Features
14+
15+
* **ui:** wire the checks pages to the live control API ([#1338](https://github.com/sqlstack-io/sqlbuild/issues/1338)) ([d7ebacb](https://github.com/sqlstack-io/sqlbuild/commit/d7ebacbccfa6b7ab4b9145471fc88ffecff0042a))
16+
317
## [0.195.0](https://github.com/sqlstack-io/sqlbuild/compare/v0.194.0...v0.195.0) (2026-11-07)
418

519

‎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.

‎Cargo.toml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,14 @@ debug = false
203203
[profile.release]
204204
strip = "symbols"
205205

206+
# Released wheels: one codegen unit per crate keeps one copy of generic code that parallel units
207+
# each instantiate, so the native binaries are about an eighth smaller and build in about 2x time.
208+
[profile.dist]
209+
inherits = "release"
210+
codegen-units = 1
211+
206212
# Local iteration: release-level optimisation with incremental builds, so rebuilding after a
207-
# focused change does not recompile the whole binding crate. CI and wheels use `release`.
213+
# focused change does not recompile the whole binding crate. CI uses `release`.
208214
[profile.fast]
209215
inherits = "release"
210216
incremental = true

‎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.195.0"
3+
version = "0.196.1"
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.195.0"
3+
version = "0.196.1"
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.195.0"
10+
version = "0.196.1"
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.195.0", # x-release-please-version
21+
"sqlbuild-cli==0.196.1", # x-release-please-version
2222
]
2323

2424
[project.optional-dependencies]

0 commit comments

Comments
 (0)