Releases: goark/fetch
Releases · goark/fetch
v0.5.3
What's Changed
- refactor: use local body variables in response handling by @spiegel-im-spiegel in #14
- docs: improve API comments and update copyright years by @spiegel-im-spiegel in #15
Full Changelog: v0.5.2...v0.5.3
v0.5.2
What's Changed
- chore: refresh docs and workflows by @spiegel-im-spiegel in #11
- fix: harden request error handling by @spiegel-im-spiegel in #12
- test: remove network dependencies and extend coverage by @spiegel-im-spiegel in #13
Full Changelog: v0.5.1...v0.5.2
v0.5.1
What's Changed
- chore: update GitHub Actions and Go version; add govulncheck task by @spiegel-im-spiegel in #10
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- refactor!: fetch.Response.Close now returns error (BREAKING CHANGE) by @spiegel-im-spiegel in #9
Note: This version contains a breaking change. The signature of fetch.Response.Close has been changed to return an error, so call sites must be updated.
BREAKING CHANGE section:
- Change: the Response Close method now returns an error (previously it did not).
- Impact: code that calls defer resp.Close() or calls resp.Close() directly.
- How to handle: as described in the Migration section above, when calling directly handle the returned error; when using defer, handle the error inside an anonymous function.
Full Changelog: v0.4.2...v0.5.0
v0.4.2
What's Changed
- Bump Go version in go.mod by @spiegel-im-spiegel in #8
Full Changelog: v0.4.1...v0.4.2
v0.4.0
What's Changed
Deprecated Client.Get() and Client.Post(). Should use Client.GetWithContext() and Client.PostWithContext().
- Add Client.GetWithContext() and Client.PostWithContext() method by @spiegel-im-spiegel in #6
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Full Changelog: v0.2.5...v0.3.0