Skip to content

Commit fe93619

Browse files
rustyconoverclaude
andcommitted
release: 0.52.2
Inherited on_bind() Setting/Secret annotations, scalar overloads by column count, and Attach() for a scalar's compute(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 53ee8ce commit fe93619

4 files changed

Lines changed: 25 additions & 4 deletions

File tree

‎CHANGELOG.md‎

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

3+
## 0.52.2 (2026-11-16)
4+
5+
### Fixes
6+
7+
- **A `Secret()` or `Setting()` on a shared base class's `on_bind()` now reaches its subclasses.** An abstract or
8+
generic base skips the annotation scan, and a subclass that did not redefine `on_bind()` copied the base's empty
9+
result, so the secret was never requested and arrived as `None` with no warning. Table and aggregate functions now
10+
read the `on_bind()` they actually resolve to. Workers that declared `Meta.required_secrets` on every subclass to
11+
get around this can declare the secret once on the base.
12+
- **Scalar overloads that differ only in their number of column arguments are no longer ambiguous.**
13+
`f(a)` and `f(a, b)` both matched a one-column call because a missing column scored as a wildcard. The call's
14+
column count must now fit the overload's column `Param`s (column varargs still take N or more).
15+
16+
### New
17+
18+
- **`Attach()` gives a scalar's `compute()` its ATTACH options.** Annotate a parameter
19+
`Annotated[dict[str, Any], Attach()]` to receive `attach_options()` of the call's attach (secret options
20+
included, `{}` outside an attached catalog), as `Auth()` receives the `AuthContext`. Until now only `bind()` could
21+
read them; overriding the final `process()` to reach `init_call.bind_call.attach_opaque_data` also read the
22+
wire value, which can still be sealed (HTTP with a signing key). No wire or protocol change.
23+
324
## 0.52.1 (2026-11-16)
425

526
### Fixtures

‎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.52.1"
11+
version = "0.52.2"
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.52.1"
3+
version = "0.52.2"
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)