1.57.8
(fix): Honor endpoint-level retry configuration (x-fern-retries: { disabled: true }, or retries: { disabled: true }
in a Fern definition). Endpoints that disable retries are now issued exactly once, regardless of the
client-level and per-request retry options.
1.57.7
(fix): Fixed generated WireMock stubs for OAuth client credentials APIs whose token endpoint is
itself marked as authenticated: the token (and refresh) endpoint stub no longer requires
an Authorization header, since the token request is made to obtain the token and cannot
carry one yet.
1.57.6
(fix): An empty string terminates cursor pagination when the cursor is a named type that resolves to an
optional string (e.g. type Cursor = *string), matching an inline optional string. Optionality
is now resolved through aliases, so both spellings of the same type generate the same
termination check. Required string, uuid, int, and datetime cursors are unchanged.
1.57.5
(fix): Fixed generated wire tests for OAuth client credentials APIs: the test client is now
constructed with client credentials so requests carry the Authorization header the
WireMock stubs require, instead of failing with Header is not present.
1.57.4
(fix): Fix several issues in the generated README:
- The Request Options example now renders the auth options the SDK actually
generates (e.g.,
option.WithSecretfor header auth,option.WithBasicAuthfor basic auth) instead of always assumingoption.WithToken. - The Errors example now passes a pointer to
errors.Asso the snippet compiles and doesn’t panic. - The Pagination section is now emitted whenever the API has an endpoint with a generated paginated client, by selecting such an endpoint for the example, rather than relying on the default endpoint being paginated. The section is omitted entirely when no paginated client is generated (e.g. custom, URI, and path pagination), so the example no longer references an iterator that doesn’t exist.
- The Request Options section now documents the environment variables the generated client reads credentials from when they aren’t explicitly provided.