release: 0.4.0#45
Conversation
c7c7d1f to
84dc151
Compare
84dc151 to
90fc16d
Compare
|
🧪 Testing To try out this version of the SDK, run: Expires at: Thu, 15 Jan 2026 21:07:47 GMT |
90fc16d to
3b45d43
Compare
11fb9be to
7fa5e52
Compare
| yield process_data(data=sse.json(), cast_to=cast_to, response=response) | ||
| finally: | ||
| # Ensure the response is closed even if the consumer doesn't read all data | ||
| await response.aclose() |
There was a problem hiding this comment.
Bug: AsyncStream lost error handling and event differentiation logic
The AsyncStream.__stream__ method was refactored to remove critical functionality that still exists in the synchronous Stream.__stream__ method. The async version no longer handles: (1) [DONE] termination signals, (2) error events that raise APIError when sse.event == "error" or when data.get("error") is present, and (3) differentiation between unnamed events (yielding data) vs named events (yielding {"data": data, "event": sse.event}). This causes async streams to silently process error responses as normal data instead of raising exceptions, and incorrectly formats named events.
7fa5e52 to
6ac4e84
Compare
6ac4e84 to
7423dcc
Compare
|
🤖 Release is at https://github.com/DatagridAI/datagrid-python/releases/tag/v0.4.0 🌻 |
Automated Release PR
0.4.0 (2025-12-16)
Full Changelog: v0.3.0...v0.4.0
Features
Bug Fixes
Chores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Note
Adds DataViews API (with service accounts), knowledge sync config support, enum updates, and streaming cleanup, releasing v0.4.0.
client.data_viewswithcreate,list,delete; nestedservice_accountswithcreate,list,delete,credentials. New types (DataView*,ServiceAccount*). Wired intoDatagrid(raw/streaming, exports) and documented inapi.md.updatenow acceptssyncconfiguration (cron trigger, enable/disable) in multipart payloads."gemini-3-pro-preview"; new tools"planner","trimble","content_writer".DATAGRID_API_KEYenv var; aiohttp snippet updated.0.4.0; update changelog. Add Python 3.14 classifier; pinmypy==1.17; refresh requirement locks.Written by Cursor Bugbot for commit 7423dcc. This will update automatically on new commits. Configure here.