Skip to content

Commit 02662b5

Browse files
chore(release): v0.1.95-rc.1 [skip ci]
1 parent f9666c9 commit 02662b5

6 files changed

Lines changed: 33 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
66

77
<!-- changelog:entries -->
88

9+
## [0.1.95-rc.1] - 2026-06-25
10+
11+
12+
### Fixed
13+
14+
- Fix(go-sdk): surface json.Marshal errors in memory backend requests (#679)
15+
16+
* fix(go-sdk): surface json.Marshal errors in memory backend requests
17+
18+
mustJSONReader discarded the json.Marshal error and returned a reader
19+
over a nil byte slice. When a value could not be serialized (unsupported
20+
type, cyclic struct, channel, func), the control-plane POST was sent with
21+
an empty body — silently storing nothing or overwriting with an empty
22+
value — and the real error never reached the caller.
23+
24+
Replace it with jsonReader(v any) (io.Reader, error) and propagate the
25+
error at each call site (Set, Get, Delete, SetVector, SearchVector), all
26+
of which already return an error.
27+
28+
Adds a test asserting an unserializable value yields an error instead of
29+
an empty reader. Fixes #434.
30+
31+
* test(go-sdk): avoid dead marshal path in get/delete
32+
33+
---------
34+
35+
Co-authored-by: santoshkumarradha <santosh@agentfield.ai> (f9666c9)
36+
937
## [0.1.94] - 2026-06-25
1038

1139
## [0.1.94-rc.3] - 2026-06-25

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.94
1+
0.1.95-rc.1

control-plane/internal/templates/go/go.mod.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module {{.GoModule}}
22

33
go 1.23
44

5-
require github.com/Agent-Field/agentfield/sdk/go v0.1.94
5+
require github.com/Agent-Field/agentfield/sdk/go v0.1.95-rc.1

sdk/python/agentfield/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@
177177
"reasoner",
178178
]
179179

180-
__version__ = "0.1.94"
180+
__version__ = "0.1.95-rc.1"

sdk/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/typescript/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)