Skip to content

Commit 4c43bda

Browse files
magifd2claude
andcommitted
chore: update CHANGELOG for v2.0.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 897248d commit 4c43bda

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.1] - 2026-03-27
9+
10+
### Fixed
11+
12+
- Fixed a resource leak where `resp.Body` was deferred inside the results
13+
pagination loop, preventing response bodies from being closed until the
14+
entire `Results()` call returned. Extracted `fetchResultsPage()` helper.
15+
- Fixed empty results marshalling as `{"results": null}` instead of
16+
`{"results": []}` when a completed job has zero results.
17+
- Eliminated a redundant `GetJobStatus` API call: `Results()` previously
18+
fetched job status internally even though the caller had already done so.
19+
The function now accepts `totalResults int` from the caller.
20+
821
## [2.0.0] - 2026-03-27
922

1023
### Breaking

0 commit comments

Comments
 (0)