Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zitadel/client-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.1.0-beta.5
Choose a base ref
...
head repository: zitadel/client-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.0-beta.6
Choose a head ref
  • 2 commits
  • 241 files changed
  • 2 contributors

Commits on Sep 16, 2025

  1. feat(sdk): generate SDK for version v4.2.0 (#69)

    * feat(sdk): generate SDK for version v4.2.0
    
    * chore: bumped the containers to match the corresponding server version
    
    * fix(api): Ensure error responses are deserialized
    
    The ApiClient failed to handle the body of non-2xx (error) API responses. The code generator did not create the necessary logic to deserialize the default error type defined in the OpenAPI specification. This caused the `response_body` in a caught `ApiError` to always be `None`, making it impossible to debug API failures through the SDK.
    
    This patch modifies the `response_deserialize` method to intelligently process error bodies. It now checks the `Content-Type` header of the response. If the content is JSON, it is decoded into a dictionary. If the content is not JSON or if parsing fails, it gracefully falls back to using the raw text of the body.
    
    This ensures that the `ApiError` exception always contains a useful payload (either a structured dictionary or raw text), significantly improving the debugging experience by making API errors transparent.
    mridang authored Sep 16, 2025
    Configuration menu
    Copy the full SHA
    eab286e View commit details
    Browse the repository at this point in the history
  2. chore(release): 4.1.0-beta.6 [skip ci]

    # [4.1.0-beta.6](v4.1.0-beta.5...v4.1.0-beta.6) (2025-09-16)
    
    ### Features
    
    * **sdk:** generate SDK for version v4.2.0 ([#69](#69)) ([eab286e](eab286e))
    semantic-release-bot committed Sep 16, 2025
    Configuration menu
    Copy the full SHA
    4ac80c7 View commit details
    Browse the repository at this point in the history
Loading