Minor Changes
- Added three request-hardening options to generated clients:
timeoutaborts slow attempts (a fresh budget per retry attempt, composable with your ownAbortSignal; failures surface as a structuredTimeoutErrorcarrying the operation, budget, and attempt),idempotencyKeystamps POST/PATCH requests with a stableIdempotency-Keyheader and makes their retries safe under the default policy, and anX-Redocly-Clientidentification header is sent outside browsers (override or disable it withclientHeader). The default retry predicate is now exported asdefaultRetryOnso customretryOnrules can compose with it instead of replacing it.
Patch Changes
- Fixed request bodies to be sent with the operation's declared content type (for example
application/merge-patch+json) instead of alwaysapplication/json, and pagination pointers (items,nextCursor,hasMore) to resolve throughallOfresponse schemas, so collection schemas composed from a shared base no longer need flattening. - Updated @redocly/openapi-core to v2.43.2.