File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and 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
You can’t perform that action at this time.
0 commit comments