Skip to content

Commit 6a7ba45

Browse files
committed
Update CHANGELOG
1 parent 13ae562 commit 6a7ba45

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Breaking Changes
1111

12-
- **`showSecrets()` has been removed.** Replace all calls with `getSecrets()`.
13-
- **`usePost` default changed from `False` to `None`** in `runInstalledQuery()`. The transport is now auto-selected based on `params` type (dict → POST, string → GET). Code that relied on dict params always going through POST is unaffected; code that passed a raw query string and expected POST will now use GET instead.
14-
- **`usePost=True` with a string `params` now raises `TigerGraphException`** instead of silently sending a malformed request body. Convert the string to a dict or drop `usePost=True` instead.
12+
- **`showSecrets()` removed.** Use `getSecrets()` instead.
13+
- **`runInstalledQuery()` now auto-selects GET or POST** based on `params` type (`dict` → POST, `str` → GET). Passing a raw query string with `usePost=True` raises `TigerGraphException`.
14+
- **MCP tools moved to [`pytigergraph-mcp`](https://github.com/tigergraph/pytigergraph-mcp).** Do not import from `pyTigerGraph.mcp` directly.
1515

1616
### New Features
1717

18-
- **Unified vertex parameter syntax for `runInstalledQuery()`.** The same tuple notation now works correctly for both GET and POST — no need to format params differently depending on `usePost`:
19-
- `(id,)` — typed vertex `VERTEX<T>`
20-
- `(id, "type")` — untyped vertex `VERTEX`
21-
- `[(id,), ...]` — typed vertex set `SET<VERTEX<T>>`
22-
- `[(id, "type"), ...]` — untyped vertex set `SET<VERTEX>`
23-
- **MAP query parameter support.** Pass a Python `dict` directly for a `MAP` parameter; it is converted to TigerGraph's wire format automatically. A dict with an `"id"` key is treated as a pre-formatted vertex object and passed through unchanged.
18+
- **Unified vertex parameter syntax for `runInstalledQuery()`.** Use `(id,)` for `VERTEX<T>`, `(id, "type")` for untyped `VERTEX`, and lists of tuples for sets. Works identically for both GET and POST.
19+
- **MAP parameter support.** Pass a Python `dict` for a `MAP` query parameter; it is converted to TigerGraph's wire format automatically.
20+
- **`getVectorIndexStatus()`** — poll vector index build status without writing raw GSQL.
21+
- **`runSchemaChange()`** — run GSQL DDL as a schema-change job via a single API call.
22+
- **Data-source management APIs**`createDataSource()`, `updateDataSource()`, `getDataSource()`, `getDataSources()`, `dropDataSource()`, `dropAllDataSources()`.
23+
- **Improved performance for parallel workloads.** Sync connections use per-thread HTTP sessions; async connections use `aiohttp`. Both reduce contention and improve throughput under concurrent load.
24+
- **TigerGraph 3.x compatibility.** Queries, loading jobs, and schema operations automatically fall back to 3.x `gsqlserver` endpoints, so the same client code works on both 3.x and 4.x.
2425

25-
### Compatibility Notes
26+
### Fixed
2627

27-
- **Old-style plain IDs for typed vertex params still work**, but at a cost. If you pass `{"p": 1}` instead of `{"p": (1,)}` for a `VERTEX<T>` parameter, `runInstalledQuery()` catches the server-side rejection and retries transparently via GET, logging a warning. Each such call incurs one extra HTTP round-trip. Migrate to `(id,)` tuples to eliminate the overhead.
28-
- **`(id, "")` (empty type string) now raises immediately** on the client instead of forwarding to TigerGraph. Update any code relying on the server-side error to handle the client-side `TigerGraphException` instead.
29-
- **MCP tools have moved to [`pytigergraph-mcp`](https://github.com/tigergraph/pytigergraph-mcp).** Do not import from `pyTigerGraph.mcp` directly; install and use the dedicated `pytigergraph-mcp` package instead.
28+
- **Edge upsert `vertexMustExist`** flag now correctly forwarded to TigerGraph in all code paths.
29+
- **Edge upsert attribute payloads** serialized correctly for all attribute types.
3030

3131
---
3232

0 commit comments

Comments
 (0)