|
1 | 1 | # Changelog |
2 | 2 |
|
| 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 | + |
3 | 34 | ## 0.51.1 (2026-11-12) |
4 | 35 |
|
5 | 36 | ### Fixes |
|
0 commit comments