1.20.2
(fix): Fix OAuth token fetching to use GetOrFetch instead of GetToken.
1.20.1
(fix): Improve OAuth token fetching with concurrency protection and better error handling.
Multiple concurrent requests now share a single token fetch instead of each triggering
their own. Added nil pointer checks for OAuth responses and a 1-hour default expiry
fallback when the server doesn’t provide an expires_in value.
1.20.0
(feat): Add errorCodes config option with values per-endpoint or global. The global mode (default)
generates a shared error_codes.go file for all errors. The per-endpoint mode generates error
handling code inline for each endpoint, which is more robust for namespaced APIs or APIs where
different endpoints have different error schemas for the same status code.
1.19.0
(feat): Add OAuth token fetching support. The SDK now automatically fetches and caches OAuth tokens
using client credentials when configured. Tokens are refreshed automatically when expired.
1.18.4
(fix): Fix snippet generation for object types with optional fields that have no example value.
Previously, these fields would generate invalid Go code with <nil> instead of being omitted.
1.18.3
(fix): Fix handling of reserved identifiers in field names and make dynamic snippets match.
1.18.2
(fix): QueryValuesWithDefaults now handles nil inputs safely.
1.18.1
(fix): Fix linting in test files
1.18.0
(feat): Add support for custom pagination (with particular implementation)
Fix dynamic snippets handling for alias of collection literals.
1.17.1
(fix): Remove using generator-cli to push to GitHub for self-hosted SDKs; this is now handled in the local workspace runner.
1.17.0
(feat): Provide Page.Response for accessing the full response type returned by the call to the relevant endpoint.
Pagination now automatically includes the following fields on each page:
where Results is the standard slice of results, sufficient for most use cases; Response is the full
response type of the HTTP call, which includes the Results as a sub-attribute; RawResponse, which
exposes the underlying pagination mechanism if need; and StatusCode and Header, raw HTTP response
metadata corresponding to the data returned by withRawResponse() on non-paginated endpoints.
1.16.5
(fix): Fix Basic auth header formatting to remove erroneous whitespace between username and password.
Passwords with colons are now properly supported per RFC 7617 specification.
1.16.4
(chore): Reasonable default for empty request bodies in wiremock json mappings.
1.16.3
(chore): Bump generator CLI version to publish new Docker image.
1.16.2
(fix): Ensure wire tests run in CI correctly with docker compose strategy.
1.16.1
(chore): Update documentation on retrieving the raw response for paginated/non-paginated endpoints.
1.16.0
(feat): Provide Page.Header and Page.StatusCode for accessing the headers and status codes of paginated responses;
unlike for non-paginated responses, this raw data is always included in the response.
1.15.2
(fix): Fix dynamic snippets behavior to use same defaults for inline request parameters.