4.22.0

(feat): Support wrapped aliases in python for pydantic v2.

4.21.5

(fix): Generate README for github output mode.

4.21.3

(fix): Fix an issue where the websocket connect method did not correctly yield the websocket client.

4.21.2

(chore): Handle HEAD HTTP method gracefully by treating it as a POST method when constructing the snippet registry, rather than failing.

4.21.1

(chore): Make sure to generate README and Reference even when generating in local mode (if self hosting is enabled).

4.21.0

(chore): Bump to v58 of IR.

4.20.3

(fix): Fix handling of optional and unknown response types by not throwing errors when the response is empty.

4.20.2

(fix): Support formatting the generated README.md and python code snippets.

4.20.1

(fix): Add support for the custom introduction setting in the generated README.md.

4.20.0

(feat): Generate standalone Pydantic models for each class definition for models that utilize the Fern extends keyword, as opposed to generating Pydantic models that implement inheritance.

4.19.7

(fix): Fix mypy errors related to type-shadowing data variables in generated streaming endpoints.

4.19.6

(fix): Fix mypy errors related to automatic pagination in the python client.

4.19.5

(fix): Fix naming conflicts in streaming endpoints by renaming the stream method to _stream in raw clients, preventing collisions with endpoint parameters that might also be named “stream”, while maintaining proper functionality for streaming responses.

4.19.4

(feat): Fix handling of optional file parameters in multipart form data requests with httpx by properly checking for None values before attempting to include them in the request, preventing errors when optional file parameters are not provided.

4.19.3

(fix): Fix pagination support in raw clients by properly indexing into response data, ensuring that raw client endpoints with pagination correctly iterate through paginated results.

4.19.2

(fix): Fix SSE streaming response handling by adding proper type casting to sse.data, ensuring correct data type conversion during stream processing.

4.19.1

(fix): Fix a mypy error in pydantic_utilities.py by properly handling type annotations for Pydantic v1 and v2 compatibility, ensuring type checking passes correctly across different Pydantic versions.

4.19.0

(feat): Add support for generating proper Pydantic models that contain forward references wrapped in containers (e.g. list, optional, etc.)

4.18.6

(fix): Fix string enum generation to properly handle enum values containing quotes by automatically escaping them, ensuring valid Python syntax for both single and double quoted string literals.

4.18.5

(fix): Support application/x-www-form-urlencoded content type for requests, allowing proper encoding of form data in API calls.

4.18.4

(fix): Fix requirements.txt generation to properly handle dependency version constraints, ensuring compatibility markers are correctly formatted.

4.18.2

(fix): Fix README g

4.18.1

(fix): Update python-v2 generator invocation so that all relevant files like pyproject.toml and poetry.lock are pushed to the GitHub repository.

4.18.0

(fix): Add support for self-hosted mode, allowing users to push generated SDKs to their own GitHub repositories. This feature enables organizations to maintain private SDK repositories with custom configurations.