Skip to content

Commit 57c3f04

Browse files
rustyconoverclaude
andcommitted
release: 0.52.0
The embedded engine and the vgi.duckdb.standard.v1 filter oracle move to DuckDB 2.0.0 / Haybarn 2.0.0rc11, the engine line the vgi extension runs on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent cfb9450 commit 57c3f04

4 files changed

Lines changed: 35 additions & 4 deletions

File tree

‎CHANGELOG.md‎

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

3+
## 0.52.0 (2026-11-16)
4+
5+
### Engine: DuckDB 2.0
6+
7+
- **The embedded engine moves to DuckDB 2.0.0 / Haybarn 2.0.0rc11**, the engine line the DuckDB `vgi` extension is
8+
built on. The `[haybarn]` extra now pins `haybarn==2.0.0rc11` and `[duckdb]` pins `duckdb==2.0.0`. Until now both
9+
pinned 1.5.5, and an environment that also held haybarn 2.0 (to drive the extension in tests) refused every
10+
pushed-down filter with `vgi.duckdb.standard.v1 requires DuckDB 1.5.5 or Haybarn 1.5.5-rc1; found haybarn
11+
2.0.0rc11`.
12+
- **The `vgi.duckdb.standard.v1` filter oracle is now upstream DuckDB v2.0.0** (`d54cbbe3df`), with Haybarn
13+
v2.0.0-rc11 as reference distribution (filter encoding spec section 6). The full filter conformance corpus passes
14+
unchanged on both 2.0 builds. Engine builds other than these two are refused, as before.
15+
- **CHECK-constraint and generated-column validation read DuckDB 2.0's parsed-expression JSON**, which no longer types
16+
constants (`literal` {kind, text}), passes function `arguments` instead of `children`, and names cast targets with
17+
`type_expr`. Literal and cast types are resolved through the engine, as the extension's `ToValue()` /
18+
`TryDefaultBind` do; named function arguments are rejected, as the extension does. Under 0.51.x with a 2.0 engine
19+
every table declaring a CHECK or generated column failed at construction with `KeyError: 'value'`.
20+
- `vgi._duckdb.arrow_table()` / `arrow_reader()` wrap `to_arrow_table()` / `to_arrow_reader()`, which DuckDB 2.0 types
21+
as optional.
22+
23+
### Migrating a worker
24+
25+
Workers that call the engine directly may need the same changes: DuckDB 2.0 relations have no `fetchone()` (use
26+
`connection.execute(...).fetchone()`), and `json_serialize_sql` output changed shape as above. A worker that pins a
27+
1.5 engine (`haybarn==1.5.5rc1`, `duckdb==1.5.5`) cannot install 0.52.0; drop that pin.
28+
29+
### CI
30+
31+
- A new `Engine drift` workflow fails when the `[haybarn]`/`[duckdb]` pins are on a different DuckDB major.minor line
32+
from the Haybarn tag in the extension's distribution workflow. It runs on every push and weekly.
33+
334
## 0.51.1 (2026-11-12)
435

536
### Fixes

‎packages/vgi-fixtures/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# and the conformance suite import it by its normal `vgi._test_fixtures` path.
99
[project]
1010
name = "vgi-fixtures"
11-
version = "0.51.1"
11+
version = "0.52.0"
1212
description = "Example/test VGI worker modules and entry points (not for production use)"
1313
readme = "README.md"
1414
# Local copy of the repo-root LICENSE (kept in sync): the build can't reach

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "vgi-python"
3-
version = "0.51.1"
3+
version = "0.52.0"
44
description = "Vector Gateway Interface - Connect DuckDB to external programs via Apache Arrow"
55
readme = "README.md"
66
keywords = [

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

0 commit comments

Comments
 (0)