From e9b66c3ceb6d90abdcdad1c4d8efe3534d34cbdf Mon Sep 17 00:00:00 2001 From: Christine Chen <10511452+christineschen@users.noreply.github.com> Date: Mon, 20 Jul 2026 11:08:05 -0400 Subject: [PATCH] chore: prepare v1.0.0 release --- .speakeasy/gen.lock | 2 +- .speakeasy/gen.yaml | 2 +- OVERVIEW.md | 4 +++- README-PYPI.md | 6 ++++-- README.md | 6 ++++-- RELEASES.md | 12 +++++++++++- pyproject.toml | 3 +-- src/openrouter/_version.py | 4 ++-- uv.lock | 2 +- 9 files changed, 28 insertions(+), 13 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 283c1301..1c578f7e 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -5,7 +5,7 @@ management: docVersion: 1.0.0 speakeasyVersion: 1.787.0 generationVersion: 2.914.0 - releaseVersion: 0.11.46 + releaseVersion: 1.0.0 configChecksum: a98327d105a9b554ecf6667b75c4cdea repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4f30b89c..40710a35 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -36,7 +36,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 0.11.46 + version: 1.0.0 additionalDependencies: dev: {} main: {} diff --git a/OVERVIEW.md b/OVERVIEW.md index 87d0a4ad..bd3d45a7 100644 --- a/OVERVIEW.md +++ b/OVERVIEW.md @@ -2,6 +2,8 @@ The OpenRouter Python SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API. +The SDK is stable as of v1.0. + ## Why use the OpenRouter SDK? Integrating AI models into applications involves handling different provider APIs, managing model-specific requirements, and avoiding common implementation mistakes. The OpenRouter SDK standardizes these integrations and protects you from footguns. @@ -103,7 +105,7 @@ pip install openrouter poetry add openrouter ``` -**Requirements:** Python 3.9 or higher +**Requirements:** Python 3.10 or higher Get your API key from [openrouter.ai/settings/keys](https://openrouter.ai/settings/keys). diff --git a/README-PYPI.md b/README-PYPI.md index 633da1b5..22336dd8 100644 --- a/README-PYPI.md +++ b/README-PYPI.md @@ -2,6 +2,8 @@ The [OpenRouter SDK](https://openrouter.ai/docs/sdks/python) is a Python toolkit designed to help you build AI-powered features and solutions. Giving you easy access to 400+ models across providers in an easy and type-safe way. +The OpenRouter Python SDK is stable as of v1.0. + To learn more about how to use the OpenRouter SDK, check out our [API Reference](https://openrouter.ai/docs/sdks/python/reference) and [Documentation](https://openrouter.ai/docs/sdks/python). @@ -77,7 +79,7 @@ Once that is saved to a file, you can run it with `uv run script.py` where ## Requirements -This SDK requires Python 3.9 or higher. For Python version support policy, see the SDK Installation section above. +This SDK requires Python 3.10 or higher. For Python version support policy, see the SDK Installation section above. @@ -309,4 +311,4 @@ To run the test suite, you'll need to set up your environment with an OpenRouter ```bash pytest - ``` \ No newline at end of file + ``` diff --git a/README.md b/README.md index 633da1b5..22336dd8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ The [OpenRouter SDK](https://openrouter.ai/docs/sdks/python) is a Python toolkit designed to help you build AI-powered features and solutions. Giving you easy access to 400+ models across providers in an easy and type-safe way. +The OpenRouter Python SDK is stable as of v1.0. + To learn more about how to use the OpenRouter SDK, check out our [API Reference](https://openrouter.ai/docs/sdks/python/reference) and [Documentation](https://openrouter.ai/docs/sdks/python). @@ -77,7 +79,7 @@ Once that is saved to a file, you can run it with `uv run script.py` where ## Requirements -This SDK requires Python 3.9 or higher. For Python version support policy, see the SDK Installation section above. +This SDK requires Python 3.10 or higher. For Python version support policy, see the SDK Installation section above. @@ -309,4 +311,4 @@ To run the test suite, you'll need to set up your environment with an OpenRouter ```bash pytest - ``` \ No newline at end of file + ``` diff --git a/RELEASES.md b/RELEASES.md index 14283c3e..601e8070 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -568,4 +568,14 @@ Based on: ### Generated - [python v0.11.46] . ### Releases -- [PyPI v0.11.46] https://pypi.org/project/openrouter/0.11.46 - . \ No newline at end of file +- [PyPI v0.11.46] https://pypi.org/project/openrouter/0.11.46 - . + +## 2026-07-20 17:00:00 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.0.0] . +### Releases +- [PyPI v1.0.0] https://pypi.org/project/openrouter/1.0.0 - . diff --git a/pyproject.toml b/pyproject.toml index f2fa4d79..1b9a95c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "0.11.46" +version = "1.0.0" description = "Official Python Client SDK for OpenRouter." authors = [{ name = "OpenRouter" },] readme = "README-PYPI.md" @@ -52,4 +52,3 @@ ignore_missing_imports = true venvPath = "." venv = ".venv" - diff --git a/src/openrouter/_version.py b/src/openrouter/_version.py index ee5610f9..d3357427 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "openrouter" -__version__: str = "0.11.46" +__version__: str = "1.0.0" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.914.0" -__user_agent__: str = "speakeasy-sdk/python 0.11.46 2.914.0 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.0.0 2.914.0 1.0.0 openrouter" try: if __package__ is not None: diff --git a/uv.lock b/uv.lock index 01adc640..285ff756 100644 --- a/uv.lock +++ b/uv.lock @@ -213,7 +213,7 @@ wheels = [ [[package]] name = "openrouter" -version = "0.11.46" +version = "1.0.0" source = { editable = "." } dependencies = [ { name = "httpcore" },