diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 762bfff4..0cbefce6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 10 name: lint runs-on: ${{ github.repository == 'stainless-sdks/retell-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} - if: github.event_name == 'push' || github.event.pull_request.head.repo.fork + if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') steps: - uses: actions/checkout@v6 @@ -38,7 +38,7 @@ jobs: run: ./scripts/lint build: - if: github.event_name == 'push' || github.event.pull_request.head.repo.fork + if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') timeout-minutes: 10 name: build permissions: diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c17e0b97..09aab9a4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.22.2" + ".": "5.23.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e9e256ed..13ed2f37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 5.23.0 (2026-03-27) + +Full Changelog: [v5.22.2...v5.23.0](https://github.com/RetellAI/retell-python-sdk/compare/v5.22.2...v5.23.0) + +### Features + +* **internal:** implement indices array format for query and form serialization ([47b841a](https://github.com/RetellAI/retell-python-sdk/commit/47b841a1bf585620190b69e685d5f6e01a36cd55)) + + +### Chores + +* **ci:** skip lint on metadata-only changes ([73e065b](https://github.com/RetellAI/retell-python-sdk/commit/73e065b3bc7d6cd7a85356dd4856efd3883d0a84)) + ## 5.22.2 (2026-03-24) Full Changelog: [v5.22.1...v5.22.2](https://github.com/RetellAI/retell-python-sdk/compare/v5.22.1...v5.22.2) diff --git a/pyproject.toml b/pyproject.toml index 9ea47bad..a1a21e07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "retell-sdk" -version = "5.22.2" +version = "5.23.0" description = "The official Python library for the retell API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/retell/_qs.py b/src/retell/_qs.py index ada6fd3f..de8c99bc 100644 --- a/src/retell/_qs.py +++ b/src/retell/_qs.py @@ -101,7 +101,10 @@ def _stringify_item( items.extend(self._stringify_item(key, item, opts)) return items elif array_format == "indices": - raise NotImplementedError("The array indices format is not supported yet") + items = [] + for i, item in enumerate(value): + items.extend(self._stringify_item(f"{key}[{i}]", item, opts)) + return items elif array_format == "brackets": items = [] key = key + "[]" diff --git a/src/retell/_version.py b/src/retell/_version.py index 189b047f..26761ae3 100644 --- a/src/retell/_version.py +++ b/src/retell/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "retell" -__version__ = "5.22.2" # x-release-please-version +__version__ = "5.23.0" # x-release-please-version