diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 434e4dc..1b77f50 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.6.6" + ".": "0.7.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5af29b4..024d883 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.7.0 (2026-03-27) + +Full Changelog: [v0.6.6...v0.7.0](https://github.com/anthalehq/anthale-python/compare/v0.6.6...v0.7.0) + +### Features + +* **internal:** implement indices array format for query and form serialization ([d1fb858](https://github.com/anthalehq/anthale-python/commit/d1fb858621ca3e8eedc647706d6c69bb6dfd336a)) + ## 0.6.6 (2026-03-25) Full Changelog: [v0.6.5...v0.6.6](https://github.com/anthalehq/anthale-python/compare/v0.6.5...v0.6.6) diff --git a/pyproject.toml b/pyproject.toml index de29b71..0fcaa37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "anthale" -version = "0.6.6" +version = "0.7.0" description = "The official Python library for the anthale API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/anthale/_qs.py b/src/anthale/_qs.py index ada6fd3..de8c99b 100644 --- a/src/anthale/_qs.py +++ b/src/anthale/_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/anthale/_version.py b/src/anthale/_version.py index 6ac288a..3b0ccb0 100644 --- a/src/anthale/_version.py +++ b/src/anthale/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "anthale" -__version__ = "0.6.6" # x-release-please-version +__version__ = "0.7.0" # x-release-please-version