You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feat: Sync SDK with v2 Platform API + add route-drift guard
Brings the SDK back in line with compute/pkg/platform/v2/routes.go (26 routes):
- Fix sandbox resource path /v2/sandboxes -> /v2/sandcastles (the backend
renamed it with no alias; every sandbox call was 404ing). Verified live
against staging.
- Sandbox: add list/executions (cursor-paginated), optional sandbox_id on
start, and tql_path/params/max_rows on query (exactly-one-of guard).
- Connectors: add types/create/test/update/delete (config passed through as
proto-JSON; types() is self-describing).
- Bump 2.0.0 -> 2.1.0; CHANGELOG entry + backfilled 2.0.0 entry.
Drift prevention (SDK half of Tier 1):
- # v2:covers comment on all 26 methods + tests/test_route_coverage.py asserting
SDK coverage == vendored tests/routes.manifest.json (byte-identical to the
canonical manifest generated by the backend's TestRouteManifest golden test).
- Scheduled route-sync workflow opens a PR when the backend manifest drifts.
- respx unit tests for sandbox + connectors; live-staging coverage for the new
read endpoints.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,23 @@ All notable changes to the `textql` Python SDK will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [2.1.0] — 2026-06-18
9
+
10
+
### Fixed
11
+
- Sandbox resource now targets `/v2/sandcastles`; the backend renamed the path from `/v2/sandboxes` with no alias, so every sandbox call was 404ing.
12
+
13
+
### Added
14
+
- Sandbox: `list` and `executions` (both cursor-paginated), and an optional `sandbox_id` on `start` to restart a specific sandbox.
15
+
- Sandbox `query`: `tql_path` (run a saved library `.tql`), `params`, and `max_rows`; enforces exactly one of `query`/`tql_path` client-side.
16
+
- Connectors: `types`, `create`, `test`, `update`, `delete` — `config` is passed through as proto-JSON; call `connectors.types()` for per-type fields.
17
+
- Route-drift guard: `tests/test_route_coverage.py` + vendored `tests/routes.manifest.json`, and a scheduled `route-sync` workflow that opens a PR when the backend route set changes.
18
+
19
+
## [2.0.0] — 2026-05-14
20
+
21
+
### Changed
22
+
- Version realigned to 2.x to track the v2 Platform API surface.
23
+
- Releases publish to PyPI via Trusted Publishing.
0 commit comments