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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+110Lines changed: 110 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,116 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [2.0.1] - 2026-03-23
9
+
10
+
### Breaking Changes
11
+
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.
15
+
16
+
### New Features
17
+
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.
24
+
25
+
### Compatibility Notes
26
+
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.
30
+
31
+
---
32
+
33
+
## [2.0.0] - 2025-03-04
34
+
35
+
### Added
36
+
37
+
-**MCP (Model Context Protocol) tools.** pyTigerGraph now ships with built-in MCP tool definitions, enabling integration with MCP-compatible AI frameworks.
38
+
39
+
---
40
+
41
+
## [1.9.1] - 2024-11-04
42
+
43
+
### Changed
44
+
45
+
- API enhancements.
46
+
47
+
---
48
+
49
+
## [1.9.0] - 2025-06-30
50
+
51
+
### Changed
52
+
53
+
- Multiple API enhancements.
54
+
55
+
---
56
+
57
+
## [1.8.4] - 2025-01-20
58
+
59
+
### Fixed
60
+
61
+
- Fixed URL construction when `gsPort` and `restppPort` are set to the same value.
62
+
63
+
---
64
+
65
+
## [1.8.3] - 2024-12-04
66
+
67
+
### Fixed
68
+
69
+
- Fixed `httpx` timeout during async function calls, most notably when installing a query via `.gsql()`.
70
+
71
+
---
72
+
73
+
## [1.8.1] - 2024-11-19
74
+
75
+
### Fixed
76
+
77
+
- Fixed import error of `TigerGraphException` in the GDS submodule.
78
+
79
+
---
80
+
81
+
## [1.8.0] - 2024-11-04
82
+
83
+
### Added
84
+
85
+
-**`AsyncTigerGraphConnection`** — full async communication with TigerGraph using the new `AsyncTigerGraphConnection` class.
86
+
-**`delVerticesByType()`** — delete all vertices of a given type in one call.
87
+
-**`limit` parameter for `getEdgesByType()`** — cap the number of edges returned. Note: the limit is applied client-side after retrieval.
88
+
-**Upsert atomicity configuration** — new parameters to control atomicity behaviour of upsert operations.
89
+
-**`runLoadingJobWithDataFrame()`** — run a GSQL loading job directly from a Pandas DataFrame.
90
+
-**`runLoadingJobWithData()`** — run a GSQL loading job from a raw data string.
91
+
92
+
---
93
+
94
+
## [1.7.4] - 2024-10-16
95
+
96
+
### Fixed
97
+
98
+
- Fixed error when generating a token via `getToken()` with a secret key.
99
+
100
+
---
101
+
102
+
## [1.7.3] - 2024-10-14
103
+
104
+
### Fixed
105
+
106
+
- Fixed error when generating a token via `getToken()` on TigerGraph Cloud v3.x instances.
107
+
108
+
---
109
+
110
+
## [1.7.2] - 2024-10-01
111
+
112
+
### Added
113
+
114
+
-**`delVerticesByType()`** — delete all vertices of a specified type. Supports `permanent` (prevent re-insertion of the same IDs) and `ack` (`"all"` or `"none"`) parameters.
0 commit comments