From 0cf7cfa8e69fcc92845d697e1b458fbdac46d9c3 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 2 Mar 2025 11:33:34 +0200 Subject: [PATCH] get ready to tag release --- CHANGELOG.rst | 8 ++++++++ docs/conf.py | 4 ++-- mastodon/Mastodon.py | 2 +- pyproject.toml | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 764be77..40dca5f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ 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.0.1 +------ +Maintenance release. Fixes a few minor, but important, issues +* Remove spurious debug prints (Thanks aitorres) +* Fix pagination fetch_remaining being broken due to typing changes (Thanks jikamens) +* Fix pagination result parsing due to typing changes (Thanks hashier for the report) +* Fix pagination information not being saved with to/from_json functions + v2.0.0 ------ * Absolutely massive rework of entities and typing. There are now proper classes for all entities, and typing is now used throughout the library. There is an attempt here to be backwards compatible, and none of my *tests* break. diff --git a/docs/conf.py b/docs/conf.py index d8e801b..bce36b4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,9 +66,9 @@ author = u'Lorenz Diener' # built documents. # # The short X.Y version. -version = u'1.8' +version = u'2.0' # The full version, including alpha/beta/rc tags. -release = u'1.8.1' +release = u'2.0.1' # 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 1472f4d..3c1e84b 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.3.0" - __MASTODON_PY_VERSION = "2.0.0" + __MASTODON_PY_VERSION = "2.0.1" @staticmethod def get_supported_version() -> str: diff --git a/pyproject.toml b/pyproject.toml index 8380431..09d0824 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend= "setuptools.build_meta" [project] name = "Mastodon.py" -version = "2.0.0" +version = "2.0.1" description = "Python wrapper for the Mastodon API" readme = "README.rst" authors = [