Skip to content

Commit e70d26f

Browse files
authored
chore: Bump version to 1.0.0 and update README with Pydantic v2 notice (#32)
1 parent 0b617b1 commit e70d26f

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This Python package was initially automatically generated by the [OpenAPI Genera
88

99
Python 3.9+
1010

11+
> 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.
12+
1113
## Installation & Usage
1214

1315
### pip install

phrasetms_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Do not edit the class manually.
1414
"""
1515

16-
__version__ = "0.3.14"
16+
__version__ = "1.0.0"
1717

1818
# import apis into sdk package
1919
from phrasetms_client.api.additional_workflow_step_api import AdditionalWorkflowStepApi

phrasetms_client/configuration.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import logging
1616
import multiprocessing
1717
import sys
18-
import urllib3
18+
import urllib3.util
1919

2020
import http.client as httplib
2121
from phrasetms_client.exceptions import ApiValueError
@@ -422,9 +422,7 @@ def to_debug_report(self):
422422
"OS: {env}\n"
423423
"Python Version: {pyversion}\n"
424424
"Version of the API: Latest\n"
425-
"SDK Package Version: 0.3.14".format(
426-
env=sys.platform, pyversion=sys.version
427-
)
425+
"SDK Package Version: 1.0.0".format(env=sys.platform, pyversion=sys.version)
428426
)
429427

430428
def get_host_settings(self):

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "phrasetms_client"
3-
version = "0.3.14"
3+
version = "1.0.0"
44
description = "Phrase TMS API"
55
authors = ["Martin Chrástek"]
66
license = "LGPL-3.0"
@@ -30,7 +30,7 @@ aenum = ">=3.1.11"
3030

3131
[project]
3232
name = "phrasetms_client"
33-
version = "0.3.14"
33+
version = "1.0.0"
3434
description = "Phrase TMS API"
3535
readme = "README.md"
3636
requires-python = ">=3.9"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# prerequisite: setuptools
2525
# http://pypi.python.org/pypi/setuptools
2626
NAME = "phrasetms-client"
27-
VERSION = "0.3.14"
27+
VERSION = "1.0.0"
2828
PYTHON_REQUIRES = ">=3.9"
2929
REQUIRES = [
3030
"python-dateutil >= 2.5.3",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)