4.54.1

(fix): Switch from poetry install to poetry lock after SDK generation. This performs dependency resolution and saves the lockfile without installing packages, which avoids failures when transitive dependencies require custom build tools.

4.54.0

(feat): Add status_code property to HttpResponse and AsyncHttpResponse classes. This allows users to access the HTTP status code when using with_raw_response.




4.53.0

(feat): Add import_paths config option to auto-load user-defined files when the SDK is imported. This enables custom integrations (e.g., Sentry, logging) without modifying generated code. Files specified in the array (e.g., ["sentry_integration", "custom_logging"]) are imported from the package root if they exist, using try/except to gracefully handle missing files.

4.52.0

(feat): Add support for inferred authentication. Fixes for wire test generation with inferred auth.

4.51.2

(fix): Skip generating raw client and with_raw_response property for intermediate clients that only have nested clients but no direct endpoints. This reduces unnecessary code generation and makes the SDK cleaner by only including raw client functionality where it’s actually useful.

4.51.1

(fix): Fix WebSocket connections to merge additional_query_parameters from request_options into the connection URL. Query params now use the same encoding pattern as HTTP endpoints.

4.51.0

(feat): Add intelligent SSE parsing for discriminated unions via parse_sse_obj(). This function handles both data-level discrimination (discriminator inside JSON data payload) and event-level discrimination (discriminator at SSE envelope level). For event-level unions, it correctly parses the data field based on what the matching variant expects (string vs. complex object), enabling proper handling of streaming responses with mixed data types.


4.50.0

(feat): Add wire_tests config group with enabled and exclusions options. The exclusions option allows excluding specific endpoints/services from wire test generation using definition-level selectors. The existing enable_wire_tests option is now deprecated in favor of wire_tests.enabled.


4.49.0

(feat): Add mypy_exclude custom config option to exclude directories from mypy type checking. This is useful when .fernignore preserves directories (like legacy/ or tests/integration/) that contain code incompatible with the generated SDK.


4.48.1

(fix): Fix WireMock stub generation for streaming endpoints. When an endpoint has both streaming and non-streaming variants (via x-fern-streaming with stream-condition), the generated WireMock stubs now include request body matching criteria to differentiate between them. SSE stubs match on stream: true in the request body and have higher priority, ensuring wire tests correctly route streaming requests to the SSE stub.


4.47.1

(chore): Update Dockerfile to use the latest generator-cli with improve reference.md generation.

4.47.0

(feat): Add X-Fern-Runtime (e.g. python/3.12.7) and X-Fern-Platform (e.g. darwin/25.2.0) telemetry headers to all requests for better runtime/platform observability.


4.46.14

(fix): Fix Python wire test generation/runtime robustness for missing examples, OMIT handling, client setup, and multipart file uploads.


4.46.13

(fix): Fixes Python SDK import generation to avoid invalid ._ module segments by deriving type paths from canonical declarations.

4.46.12

(fix): Support bytes as a response type for websocket channel methods.

4.46.11

(fix): Wire test generator now skips undefined example values and injects X-Test-Id in a constructor-compatible way via headers or httpx_client.