From 17d33fbcf9c105e7f782de0f93d5edc2a4aa699b Mon Sep 17 00:00:00 2001 From: Phrase Date: Wed, 18 Dec 2024 08:13:03 +0000 Subject: [PATCH] Deploying from phrase/openapi@4e0f6d0f --- CHANGELOG.md | 17 +++++++++++++++++ README.md | 2 +- phrase_api/__init__.py | 2 +- phrase_api/api_client.py | 2 +- phrase_api/configuration.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 7 files changed, 23 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc63511..d1510e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [3.0.0](https://github.com/phrase/openapi/compare/python-v2.6.1...python-v3.0.0) (2024-12-18) + + +### ⚠ BREAKING CHANGES + +* Remove old Git sync endpoints. Replaced with new repo sync ([#735](https://github.com/phrase/openapi/issues/735)) + +### Features + +* **API:** Add 'default_encoding' documentation ([#733](https://github.com/phrase/openapi/issues/733)) ([0139c51](https://github.com/phrase/openapi/commit/0139c51da747fbe7bc9929bcf3534aad7f22f39a)) +* Remove old Git sync endpoints. Replaced with new repo sync ([#735](https://github.com/phrase/openapi/issues/735)) ([c3bd8ec](https://github.com/phrase/openapi/commit/c3bd8eccaabcfa1b1066ea4438971ac59833af46)) + + +### Bug Fixes + +* **API:** Add missing branch parameter to job comment endpoints #STRINGS-988 ([#724](https://github.com/phrase/openapi/issues/724)) ([64d399c](https://github.com/phrase/openapi/commit/64d399ced0980ac2a48366f91110047287a0c590)) + ## [2.6.1](https://github.com/phrase/openapi/compare/python-v2.6.0...python-v2.6.1) (2024-11-27) diff --git a/README.md b/README.md index b47d977..ab7f10a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Phrase Strings is a translation management platform for software projects. You c This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 2.0.0 -- Package version: 2.6.1 +- Package version: 3.0.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/) diff --git a/phrase_api/__init__.py b/phrase_api/__init__.py index dda95ac..6176d89 100644 --- a/phrase_api/__init__.py +++ b/phrase_api/__init__.py @@ -13,7 +13,7 @@ from __future__ import absolute_import -__version__ = "2.6.1" +__version__ = "3.0.0" # import apis into sdk package from phrase_api.api.accounts_api import AccountsApi diff --git a/phrase_api/api_client.py b/phrase_api/api_client.py index 171ccde..374b452 100644 --- a/phrase_api/api_client.py +++ b/phrase_api/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2.6.1/python' + self.user_agent = 'OpenAPI-Generator/3.0.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/phrase_api/configuration.py b/phrase_api/configuration.py index e6745c1..9b4c755 100644 --- a/phrase_api/configuration.py +++ b/phrase_api/configuration.py @@ -370,7 +370,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2.0.0\n"\ - "SDK Package Version: 2.6.1".\ + "SDK Package Version: 3.0.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/pyproject.toml b/pyproject.toml index 9211419..aff8085 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "phrase_api" -version = "2.6.1" +version = "3.0.0" description = "Phrase Strings API Reference" authors = ["Phrase Support "] license = "MIT" diff --git a/setup.py b/setup.py index f27de35..92729ac 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "phrase-api" -VERSION = "2.6.1" +VERSION = "3.0.0" # To install the library, run the following # # python setup.py install