From 55fc2efd1d648041a78587cb6ae8dac8b84a9a46 Mon Sep 17 00:00:00 2001 From: Phrase Date: Wed, 20 Nov 2024 10:25:00 +0000 Subject: [PATCH] Deploying from phrase/openapi@f90370f0 --- CHANGELOG.md | 13 +++++++++++++ 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, 19 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2835b6b..332e80c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [2.6.0](https://github.com/phrase/openapi/compare/python-v2.5.0...python-v2.6.0) (2024-11-20) + + +### Features + +* **API:** Add Pagination header to POST search endpoints [[#457](https://github.com/phrase/openapi/issues/457)] ([#706](https://github.com/phrase/openapi/issues/706)) ([9a79fa3](https://github.com/phrase/openapi/commit/9a79fa31bb3b9d58272fa2f4e82d72d0d44a93a0)) +* **API:** autotranslate param in key creation [STRINGS-786] ([#713](https://github.com/phrase/openapi/issues/713)) ([581d0ff](https://github.com/phrase/openapi/commit/581d0ff5f1d06757e5ddd9603b78fc8d435d68ee)) + + +### Bug Fixes + +* **Python:** Correctly encode nested upload parameters #STRINGS-864 ([#717](https://github.com/phrase/openapi/issues/717)) ([446fd60](https://github.com/phrase/openapi/commit/446fd60ba007a8761b994ed6bd07ccd625a263fd)) + ## [2.5.0](https://github.com/phrase/openapi/compare/python-v2.4.0...python-v2.5.0) (2024-10-02) diff --git a/README.md b/README.md index b06f090..dc39635 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.5.0 +- Package version: 2.6.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 4121055..00a871d 100644 --- a/phrase_api/__init__.py +++ b/phrase_api/__init__.py @@ -13,7 +13,7 @@ from __future__ import absolute_import -__version__ = "2.5.0" +__version__ = "2.6.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 8fe9568..a227837 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.5.0/python' + self.user_agent = 'OpenAPI-Generator/2.6.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 ec77a02..8cfe04d 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.5.0".\ + "SDK Package Version: 2.6.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/pyproject.toml b/pyproject.toml index d0cacfc..db22481 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "phrase_api" -version = "2.5.0" +version = "2.6.0" description = "Phrase Strings API Reference" authors = ["Phrase Support "] license = "MIT" diff --git a/setup.py b/setup.py index 105f4e6..e36fdfd 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "phrase-api" -VERSION = "2.5.0" +VERSION = "2.6.0" # To install the library, run the following # # python setup.py install