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
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,22 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [0.29.1] - 2026-02-21
6
+
7
+
### Features
8
+
-**Tool call hooks** — `onBeforeToolCall()` and `onAfterToolCall()` middleware for logging, access control, metrics, and auditing. Before-hook can reject calls; after-hook receives timing and error info via `ToolCallContext`.
9
+
-**Structured JSON-RPC error data** — `jsonRpcErrorWithData()` public API for returning errors with an optional `data` field per JSON-RPC spec.
10
+
11
+
### Fixes
12
+
-**Fix parameter shadowing** in `_handleResourcesRead()` — local `params` variable renamed to `templateVars` to avoid shadowing the function parameter (could cause issues on strict compilers).
13
+
-**Fix version mismatch in tests** — 4 tests were checking for "0.28.0" instead of the current version.
14
+
15
+
### Tests
16
+
- Added **11 new tests** for tool call hooks (8) and structured error data (3):
0 commit comments