> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.39.1

**`(fix):`** Fix OAuth token endpoint to use application/x-www-form-urlencoded content type.
Per RFC 6749 §4.4.2, the OAuth 2.0 client credentials token request must be
form-encoded. The generated raw\_client.go now emits the correct Content-Type
header for the token endpoint instead of application/json.

**`(fix):`** Fix wire test generation for endpoints with service-level base-path parameters.
The wiremock mapping now includes service and root path parameters alongside
endpoint path parameters, so test verification URLs use actual example values
instead of URL-encoded placeholder syntax.

## 1.39.0

**`(feat):`** Add `retryStatusCodes` config with `"legacy"` and `"recommended"` modes. Legacy (default)
preserves current behavior (408, 429, >= 500). Recommended retries only transient
codes (408, 429, 502, 503, 504), avoiding idempotency issues with 500. A 1.0.0
migration auto-pins legacy for upgrading users.

## 1.38.3

**`(chore):`** Only generate `EncodeQueryValues` on undiscriminated unions that are reachable from a query parameter position, instead of on every union.

## 1.38.2

**`(fix):`** Generate an `EncodeQueryValues` method on undiscriminated unions so they are no longer silently dropped when used as query parameters.