From 04f63978cbb5b1b48d3d4f28707a8ff17f701e43 Mon Sep 17 00:00:00 2001 From: "devopsarr[bot]" <127950054+devopsarr[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:24:39 +0000 Subject: [PATCH] chore(main): release 1.0.1 --- CHANGELOG.md | 7 +++++++ README.md | 2 +- pyproject.toml | 2 +- setup.py | 2 +- sonarr/__init__.py | 2 +- sonarr/api_client.py | 2 +- sonarr/configuration.py | 2 +- 7 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75feef4..8267e7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.0.1](https://github.com/devopsarr/sonarr-py/compare/v1.0.0...v1.0.1) (2024-02-21) + + +### Bug Fixes + +* map Field to ContractField to avoid pydantic issue ([73829ad](https://github.com/devopsarr/sonarr-py/commit/73829adcd102d9fdbb6fd10c719da33ee28cdfdb)) + ## [1.0.0](https://github.com/devopsarr/sonarr-py/compare/v1.0.0...v1.0.0) (2024-02-20) diff --git a/README.md b/README.md index 0d071d9..86206a6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. So This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: v4.0.1.929 -- Package version: 1.0.0 +- Package version: 1.0.1 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/pyproject.toml b/pyproject.toml index 528dae5..fca00a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sonarr" -version = "1.0.0" # x-release-please-version +version = "1.0.1" # x-release-please-version description = "Sonarr" authors = ["OpenAPI Generator Community "] license = "GPL-3.0" diff --git a/setup.py b/setup.py index e550de4..d354f05 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "sonarr-py" -VERSION = "1.0.0" # x-release-please-version +VERSION = "1.0.1" # x-release-please-version PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "urllib3 >= 1.25.3, < 2.1.0", diff --git a/sonarr/__init__.py b/sonarr/__init__.py index faeb67d..aae9bd7 100644 --- a/sonarr/__init__.py +++ b/sonarr/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "1.0.0" # x-release-please-version +__version__ = "1.0.1" # x-release-please-version # import apis into sdk package from sonarr.api.api_info_api import ApiInfoApi diff --git a/sonarr/api_client.py b/sonarr/api_client.py index 0cdf2bb..9de47a3 100644 --- a/sonarr/api_client.py +++ b/sonarr/api_client.py @@ -87,7 +87,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'sonarr-py/v1.0.0' # x-release-please-version + self.user_agent = 'sonarr-py/v1.0.1' # x-release-please-version self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/sonarr/configuration.py b/sonarr/configuration.py index 3f52ab6..d7db544 100644 --- a/sonarr/configuration.py +++ b/sonarr/configuration.py @@ -409,7 +409,7 @@ def to_debug_report(self): "Python Version: {pyversion}\n"\ "Version of the API: v4.0.1.929\n"\ "SDK Package Version: {v}".\ - format(env=sys.platform, pyversion=sys.version, v="1.0.0") # x-release-please-version + format(env=sys.platform, pyversion=sys.version, v="1.0.1") # x-release-please-version def get_host_settings(self): """Gets an array of host settings