From 26f14f1036636e9635044911c932bd5257d879f5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 02:11:55 +0000 Subject: [PATCH 1/2] chore(internal): detect missing future annotations with ruff --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 411fc01..b195ddb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -224,6 +224,8 @@ select = [ "B", # remove unused imports "F401", + # check for missing future annotations + "FA102", # bare except statements "E722", # unused arguments @@ -246,6 +248,8 @@ unfixable = [ "T203", ] +extend-safe-fixes = ["FA102"] + [tool.ruff.lint.flake8-tidy-imports.banned-api] "functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead" From 72b07a6710ad5061975bea543bc92a644e2c28f4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 02:12:10 +0000 Subject: [PATCH 2/2] release: 0.16.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/perplexity/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b4e9013..dc93a58 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.16.0" + ".": "0.16.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c68ce9c..2789f6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.16.1 (2025-10-11) + +Full Changelog: [v0.16.0...v0.16.1](https://github.com/perplexityai/perplexity-py/compare/v0.16.0...v0.16.1) + +### Chores + +* **internal:** detect missing future annotations with ruff ([26f14f1](https://github.com/perplexityai/perplexity-py/commit/26f14f1036636e9635044911c932bd5257d879f5)) + ## 0.16.0 (2025-10-10) Full Changelog: [v0.15.0...v0.16.0](https://github.com/perplexityai/perplexity-py/compare/v0.15.0...v0.16.0) diff --git a/pyproject.toml b/pyproject.toml index b195ddb..b67c8ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "perplexityai" -version = "0.16.0" +version = "0.16.1" description = "The official Python library for the perplexity API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/perplexity/_version.py b/src/perplexity/_version.py index 808bbd5..125bd9d 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.16.0" # x-release-please-version +__version__ = "0.16.1" # x-release-please-version