Skip to content

Releases: mutablelogic/go-client

v1.4.3

04 Mar 15:18

Choose a tag to compare

  • Fixed discovery for servers which don't have all the correct metadata available (ie, github)

Full Changelog: v1.4.2...v1.4.3

v1.4.2

04 Mar 14:52
567c7f9

Choose a tag to compare

What's Changed

  • Added Token transport and OAuth discovery by @djthorpe in #59
  • Added additional unit tests

Full Changelog: v1.4.1...v1.4.2

v1.4.1

03 Mar 17:29
530edb3

Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

02 Mar 12:13
fd73fea

Choose a tag to compare

What's Changed

  • Added oauth package by @djthorpe in #57
  • Updated Otel to use a transport rather than a method
  • Now requires go 1.25 to align with go-server

Full Changelog: v1.3.8...v1.4.0

v1.3.8

27 Feb 09:05

Choose a tag to compare

Full Changelog: v1.3.7...v1.3.8

v1.3.7

27 Feb 07:51

Choose a tag to compare

Full Changelog: v1.3.6...v1.3.7

v1.3.6

27 Feb 07:41
7c563ab

Choose a tag to compare

What's Changed

Full Changelog: v1.3.5...v1.3.6

v1.3.5

26 Jan 09:00
55a7b50

Choose a tag to compare

What's Changed

Core Client Enhancements and Testing:

  • Added streaming multipart payloads for large file upload support (without loading the file into memory)
  • Added tests for multipart payloads, including scenarios for large files, partial reads, and proper resource cleanup (payload_test.go).

Documentation Updates:

  • Updated the README.md to document the new client.NewStreamingMultipartRequest method, including usage recommendations for large file uploads.
  • Removed the third-party dependencies section and associated license clarifications from the README.md, streamlining the documentation.

Cleanup:

  • Removed the entire pkg/newsapi directory, including all source files
  • Removed the WeatherAPI client implementation (pkg/weatherapi/client.go).
  • Removed references to the NewsAPI and WeatherAPI clients from the main README.md.

Full Changelog: v1.3.4...v1.3.5

v1.3.4

25 Jan 11:38
03d710a

Choose a tag to compare

What's Changed

Error handling improvements: Replaced usage of custom error types (e.g., ErrBadParameter, ErrUnexpectedResponse) with standardized errors from the httpresponse package throughout client.go, resulting in more consistent and HTTP-aware error reporting. [1] [2] [3] [4] [5]

Redirects: Implemented manual redirect handling in the do function: follows up to 10 redirects, preserves method and headers for GET/HEAD, and strips sensitive headers (Authorization, Cookie) when redirecting to a different host for improved security. [1] [2]

Tracing and observability: Updated tracing logic to use the otel package instead of pkgotel, ensuring spans are created and finished correctly for each HTTP request and redirect. [1] [2] [3]

Content type and unmarshaling: Enhanced content type validation and error reporting, returning specific HTTP errors when unsupported media types are encountered. Improved custom unmarshaler handling to fall back to default decoding if "not implemented" is returned. [1] [2] [3]

Full Changelog: v1.3.3...v1.3.4

v1.3.3

17 Jan 10:11
f890f64

Choose a tag to compare

What's Changed

  • Added support for multipart form data with multiple field values by @djthorpe in #52

Full Changelog: v1.3.2...v1.3.3