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: switch managed databases to /databases API (hotdata>=0.2.3)
- Use DatabasesApi instead of ConnectionsApi for all managed database ops
- Rename create_managed_database first param from name to description (kw-only)
- Add expires_at param to create_managed_database
- ManagedDatabase: replace name/source_type with description/default_connection_id
- resolve_managed_database: ID lookup first, description scan as fallback
- list_managed_databases: fetch all databases, no source_type filter
- list_managed_tables, load_managed_table, delete_managed_table: use default_connection_id
- Remove MANAGED_SOURCE_TYPE, build_managed_config, create_connection_request from public API
Copy file name to clipboardExpand all lines: CHANGELOG.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.2.0] - 2026-05-24
11
+
12
+
### Changed
13
+
14
+
- Switch managed database operations from the connections API to the dedicated `/databases` API (`hotdata>=0.2.3` required).
15
+
-`create_managed_database` first parameter renamed from `name` to `description` (keyword-only).
16
+
-`ManagedDatabase` dataclass: replace `name`/`source_type` fields with `description`/`default_connection_id`.
17
+
-`resolve_managed_database` tries direct ID lookup first, then falls back to a description scan.
18
+
-`list_managed_databases` now fetches all databases regardless of source type.
19
+
-`list_managed_tables`, `load_managed_table`, and `delete_managed_table` use `default_connection_id` instead of database `id` for connection-scoped operations.
20
+
21
+
### Added
22
+
23
+
-`create_managed_database` accepts an optional `expires_at` parameter.
24
+
25
+
### Removed
26
+
27
+
-`MANAGED_SOURCE_TYPE`, `build_managed_config`, and `create_connection_request` removed from the public API.
-`resolve_managed_database(name_or_id)` resolves a managed database by name or id.
63
-
-`create_managed_database(name, schema=..., tables=...)` creates a managed database and optionally declares tables up front.
64
-
-`delete_managed_database(name_or_id)` deletes a managed database connection.
58
+
-`list_managed_databases()` returns all databases via the `/databases` API.
59
+
-`resolve_managed_database(name_or_id)` resolves a database by id (direct lookup) or description (list scan).
60
+
-`create_managed_database(description=..., schema=..., tables=..., expires_at=...)` creates a database via the `/databases` API and optionally declares tables up front.
61
+
-`delete_managed_database(name_or_id)` deletes a database via the `/databases` API.
65
62
-`list_managed_tables(database, schema=...)` lists tables in a managed database.
66
63
-`upload_parquet(path)` uploads a local parquet file and returns an upload id.
67
64
-`load_managed_table(database, table, schema=..., upload_id=..., file=...)` publishes parquet data into a declared managed table.
0 commit comments