Skip to content

Release 0.26.0#73

Merged
AHGIJMKLKKZNPJKQR merged 10 commits intomainfrom
release-0.26.0
Apr 10, 2026
Merged

Release 0.26.0#73
AHGIJMKLKKZNPJKQR merged 10 commits intomainfrom
release-0.26.0

Conversation

@AHGIJMKLKKZNPJKQR
Copy link
Copy Markdown
Member

Description

Describe your changes.

Motivation and Context

Why is this change required? What problem does it solve? If it fixes an open
issue, please link to the issue here.

Documentation impact

  • Documentation update required
  • Documentation updated in another PR
  • No documentation update required

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the SDK to release 0.26.0 and updates the generated OpenAPI client code (via openapi-python-client), including modernized typing and safer URL construction for path parameters.

Changes:

  • Bump package version to 0.26.0 and update lockfile accordingly.
  • Upgrade openapi-python-client (dev dependency) and refresh generated client/models for newer typing style (| unions, __future__ annotations).
  • URL-encode path parameters in generated API endpoints and allow some request bodies to be omitted via UNSET.

Reviewed changes

Copilot reviewed 59 out of 60 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
uv.lock Updates locked versions for the 0.26.0 release and new dev tooling constraints.
pyproject.toml Bumps project version to 0.26.0 and updates dev dependency range for openapi-python-client.
fishjam/_openapi_client/types.py Modernizes typing (PEP 604 unions) for shared OpenAPI client types.
fishjam/_openapi_client/models/web_rtc_metadata.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/viewer.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/viewer_token.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/viewer_details_response.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/track.py Updates typing style and narrows exception handling in parsing helpers.
fishjam/_openapi_client/models/track_metadata.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/track_forwarding.py Updates typing style for optional fields.
fishjam/_openapi_client/models/track_forwarding_info.py Updates typing style for optional/nullable fields.
fishjam/_openapi_client/models/subscriptions.py Adds __future__ annotations and simplifies imports.
fishjam/_openapi_client/models/subscribe_tracks_body.py Adds __future__ annotations and simplifies imports.
fishjam/_openapi_client/models/streams_listing_response.py Adds __future__ annotations and updates type hints for list elements.
fishjam/_openapi_client/models/streamer.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/streamer_token.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/streamer_details_response.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/stream.py Adds __future__ annotations and modernizes union typing for optional fields.
fishjam/_openapi_client/models/stream_details_response.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/stream_config.py Adds __future__ annotations and modernizes typing for config fields.
fishjam/_openapi_client/models/rooms_listing_response.py Adds __future__ annotations and updates type hints for list elements.
fishjam/_openapi_client/models/room.py Adds __future__ annotations and modernizes typing for optional fields.
fishjam/_openapi_client/models/room_details_response.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/room_create_details_response.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/room_create_details_response_data.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/room_config.py Adds __future__ annotations and modernizes typing for config fields.
fishjam/_openapi_client/models/peer.py Adds __future__ annotations, modernizes typing, and narrows exception handling in parsing helpers.
fishjam/_openapi_client/models/peer_refresh_token_response.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/peer_refresh_token_response_data.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/peer_options_web_rtc.py Adds __future__ annotations and modernizes union typing.
fishjam/_openapi_client/models/peer_options_vapi.py Adds __future__ annotations and modernizes union typing.
fishjam/_openapi_client/models/peer_options_agent.py Adds __future__ annotations and modernizes union typing.
fishjam/_openapi_client/models/peer_metadata.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/peer_details_response.py Adds __future__ annotations and updates type hints to non-quoted forms.
fishjam/_openapi_client/models/peer_details_response_data.py Adds __future__ annotations and modernizes union typing for optional fields.
fishjam/_openapi_client/models/peer_config.py Adds __future__ annotations and modernizes union typing for variant options.
fishjam/_openapi_client/models/error.py Adds __future__ annotations to support unquoted forward references.
fishjam/_openapi_client/models/composition_info.py Adds __future__ annotations and updates type hints for list elements.
fishjam/_openapi_client/models/agent_output.py Adds __future__ annotations and modernizes union typing for optional fields.
fishjam/_openapi_client/client.py Modernizes typing (PEP 604 unions) and clarifies timeout-related docstrings.
fishjam/_openapi_client/api/viewer/generate_viewer_token.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/viewer/delete_viewer.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/viewer/create_viewer.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/track_forwarding/create_track_forwarding.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/streamer/generate_streamer_token.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/streamer/delete_streamer.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/streamer/create_streamer.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/stream/get_stream.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/stream/get_all_streams.py Modernizes return type hints.
fishjam/_openapi_client/api/stream/delete_stream.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/stream/create_stream.py Allows omitting body via UNSET and modernizes return type hints.
fishjam/_openapi_client/api/room/subscribe_tracks.py URL-encodes path params and allows omitting body via UNSET.
fishjam/_openapi_client/api/room/subscribe_peer.py URL-encodes path params and modernizes union typing for optional query param.
fishjam/_openapi_client/api/room/refresh_token.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/room/get_room.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/room/get_all_rooms.py Modernizes return type hints.
fishjam/_openapi_client/api/room/delete_room.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/room/delete_peer.py URL-encodes path params and modernizes return type hints.
fishjam/_openapi_client/api/room/create_room.py Allows omitting body via UNSET and modernizes return type hints.
fishjam/_openapi_client/api/room/add_peer.py URL-encodes path params and allows omitting body via UNSET.
Comments suppressed due to low confidence (4)

fishjam/_openapi_client/api/room/create_room.py:30

  • When body is UNSET, this request omits the JSON payload but still sets Content-Type: application/json. Consider only setting the Content-Type header when a JSON body is actually included (or explicitly send an empty JSON body) to avoid misrepresenting the request payload.
    if not isinstance(body, Unset):
        _kwargs["json"] = body.to_dict()

    headers["Content-Type"] = "application/json"

    _kwargs["headers"] = headers

fishjam/_openapi_client/api/stream/create_stream.py:30

  • When body is UNSET, this request omits the JSON payload but still sets Content-Type: application/json. Consider only setting the Content-Type header when a JSON body is actually included (or explicitly send an empty JSON body) to avoid misrepresenting the request payload.
    if not isinstance(body, Unset):
        _kwargs["json"] = body.to_dict()

    headers["Content-Type"] = "application/json"

    _kwargs["headers"] = headers

fishjam/_openapi_client/api/room/add_peer.py:34

  • When body is UNSET, this request omits the JSON payload but still sets Content-Type: application/json. Consider only setting the Content-Type header when a JSON body is actually included (or explicitly send an empty JSON body) to avoid misrepresenting the request payload.
    if not isinstance(body, Unset):
        _kwargs["json"] = body.to_dict()

    headers["Content-Type"] = "application/json"

    _kwargs["headers"] = headers

fishjam/_openapi_client/api/room/subscribe_tracks.py:35

  • When body is UNSET, this request omits the JSON payload but still sets Content-Type: application/json. Consider only setting the Content-Type header when a JSON body is actually included (or explicitly send an empty JSON body) to avoid misrepresenting the request payload.
    if not isinstance(body, Unset):
        _kwargs["json"] = body.to_dict()

    headers["Content-Type"] = "application/json"

    _kwargs["headers"] = headers

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PiotrWodecki PiotrWodecki self-requested a review April 10, 2026 13:56
@AHGIJMKLKKZNPJKQR AHGIJMKLKKZNPJKQR merged commit 2f18378 into main Apr 10, 2026
13 of 14 checks passed
@AHGIJMKLKKZNPJKQR AHGIJMKLKKZNPJKQR deleted the release-0.26.0 branch April 10, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants