From 82ef3dff9ab1e44ac9208c3c4466f79feca27a81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Chr=C3=A1stek?= Date: Tue, 10 Mar 2026 17:49:09 +0100 Subject: [PATCH] chore: Bump version to 1.0.0 and update README with Pydantic v2 notice --- README.md | 2 ++ phrasetms_client/__init__.py | 2 +- phrasetms_client/configuration.py | 6 ++---- pyproject.toml | 4 ++-- setup.py | 2 +- uv.lock | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9cc2d3a1..d3eabb66 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ This Python package was initially automatically generated by the [OpenAPI Genera Python 3.9+ +> Note: Starting with version `1.0.0`, this client uses [Pydantic v2](https://docs.pydantic.dev/2.12/). If your project requires [Pydantic v1](https://docs.pydantic.dev/1.10/), please remain on a `0.x.x` release of this client. + ## Installation & Usage ### pip install diff --git a/phrasetms_client/__init__.py b/phrasetms_client/__init__.py index 9d12c3c1..69a32e56 100644 --- a/phrasetms_client/__init__.py +++ b/phrasetms_client/__init__.py @@ -13,7 +13,7 @@ Do not edit the class manually. """ -__version__ = "0.3.14" +__version__ = "1.0.0" # import apis into sdk package from phrasetms_client.api.additional_workflow_step_api import AdditionalWorkflowStepApi diff --git a/phrasetms_client/configuration.py b/phrasetms_client/configuration.py index 48420e24..8e5a6949 100644 --- a/phrasetms_client/configuration.py +++ b/phrasetms_client/configuration.py @@ -15,7 +15,7 @@ import logging import multiprocessing import sys -import urllib3 +import urllib3.util import http.client as httplib from phrasetms_client.exceptions import ApiValueError @@ -422,9 +422,7 @@ def to_debug_report(self): "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: Latest\n" - "SDK Package Version: 0.3.14".format( - env=sys.platform, pyversion=sys.version - ) + "SDK Package Version: 1.0.0".format(env=sys.platform, pyversion=sys.version) ) def get_host_settings(self): diff --git a/pyproject.toml b/pyproject.toml index 9dcd3aff..18f3b7ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "phrasetms_client" -version = "0.3.14" +version = "1.0.0" description = "Phrase TMS API" authors = ["Martin Chrástek"] license = "LGPL-3.0" @@ -30,7 +30,7 @@ aenum = ">=3.1.11" [project] name = "phrasetms_client" -version = "0.3.14" +version = "1.0.0" description = "Phrase TMS API" readme = "README.md" requires-python = ">=3.9" diff --git a/setup.py b/setup.py index b54cd4c2..0c479d2c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "phrasetms-client" -VERSION = "0.3.14" +VERSION = "1.0.0" PYTHON_REQUIRES = ">=3.9" REQUIRES = [ "python-dateutil >= 2.5.3", diff --git a/uv.lock b/uv.lock index ae3a0a15..5858cc3c 100644 --- a/uv.lock +++ b/uv.lock @@ -160,7 +160,7 @@ wheels = [ [[package]] name = "phrasetms-client" -version = "0.3.14" +version = "1.0.0" source = { editable = "." } dependencies = [ { name = "pydantic" },