From 45eddf7079dbb3e938b7c17356285e07e48fe882 Mon Sep 17 00:00:00 2001 From: halcy Date: Mon, 1 Sep 2025 22:40:55 +0300 Subject: [PATCH] prep 2.1.3 --- CHANGELOG.rst | 6 ++++++ docs/conf.py | 2 +- mastodon/Mastodon.py | 2 +- pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7b32b25..5c4dea4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ A note on versioning: This librarys major version will grow with the APIs version number. Breaking changes will be indicated by a change in the minor (or major) version number, and will generally be avoided. +v2.1.3 +------- +* Fix the library throwing a deprecation warning during some internal operations due to the v1 version of the instance API being deprecated, add a fallback to the v1 API in case Mastodon actually removes the v1 endpoint in the future. (Thanks @andrew-codechimp +for the report) +* Fix "Everything" page in the docs + v2.1.2 ------- * Fix broken login when instance_v2 is present but has no api_versions attribute, such as on e.g. GoToSocial. (Thank you @bfordham for the report and fix!) diff --git a/docs/conf.py b/docs/conf.py index 43ff380..d1fead2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,7 +68,7 @@ author = u'Lorenz Diener' # The short X.Y version. version = u'2.1' # The full version, including alpha/beta/rc tags. -release = u'2.1.2' +release = u'2.1.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index f8ed5ec..4598eb4 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -73,7 +73,7 @@ class Mastodon(MastoUtility, MastoAuthentication, MastoAccounts, MastoInstance, """ # Support level __SUPPORTED_MASTODON_VERSION = "4.4.3" - __MASTODON_PY_VERSION = "2.1.2" + __MASTODON_PY_VERSION = "2.1.3" @staticmethod def get_supported_version() -> str: diff --git a/pyproject.toml b/pyproject.toml index f4e084e..0e14950 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend= "setuptools.build_meta" [project] name = "Mastodon.py" -version = "2.1.2" +version = "2.1.3" description = "Python wrapper for the Mastodon API" readme = "README.rst" authors = [