diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3f63a67..79df23f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.22.1" + ".": "0.22.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b665547..0db0027 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.22.2 (2025-12-17) + +Full Changelog: [v0.22.1...v0.22.2](https://github.com/perplexityai/perplexity-py/compare/v0.22.1...v0.22.2) + +### Bug Fixes + +* use async_to_httpx_files in patch method ([87aa45b](https://github.com/perplexityai/perplexity-py/commit/87aa45bc26f1b60b0e8aab33b11ecbf0ee88d380)) + ## 0.22.1 (2025-12-16) Full Changelog: [v0.22.0...v0.22.1](https://github.com/perplexityai/perplexity-py/compare/v0.22.0...v0.22.1) diff --git a/pyproject.toml b/pyproject.toml index 8a6f075..c588e88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "perplexityai" -version = "0.22.1" +version = "0.22.2" description = "The official Python library for the perplexity API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/perplexity/_base_client.py b/src/perplexity/_base_client.py index 94e3a65..420a27f 100644 --- a/src/perplexity/_base_client.py +++ b/src/perplexity/_base_client.py @@ -1774,7 +1774,7 @@ async def patch( options: RequestOptions = {}, ) -> ResponseT: opts = FinalRequestOptions.construct( - method="patch", url=path, json_data=body, files=to_httpx_files(files), **options + method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options ) return await self.request(cast_to, opts) diff --git a/src/perplexity/_version.py b/src/perplexity/_version.py index 16c4414..f6a41ea 100644 --- a/src/perplexity/_version.py +++ b/src/perplexity/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "perplexity" -__version__ = "0.22.1" # x-release-please-version +__version__ = "0.22.2" # x-release-please-version