From 21882c4b7914f980b40bda24257e548fccee70cf Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 17 Aug 2025 23:49:01 +0300 Subject: [PATCH] Bump all the version numbers --- README.rst | 2 +- TODO.md | 14 -------------- docs/conf.py | 4 ++-- docs/index.rst | 2 +- mastodon/Mastodon.py | 4 ++-- pyproject.toml | 2 +- 6 files changed, 7 insertions(+), 21 deletions(-) diff --git a/README.rst b/README.rst index cff22ad..4b810fa 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Mastodon.py =========== Python wrapper for the Mastodon ( https://github.com/mastodon/mastodon/ ) API. -Feature complete for public API as of Mastodon version 4.3.0 and easy to get started with: +Feature complete for public API as of Mastodon version 4.4.3 and easy to get started with: .. code-block:: python diff --git a/TODO.md b/TODO.md index 5a95fec..21a118e 100644 --- a/TODO.md +++ b/TODO.md @@ -1,17 +1,3 @@ API relevant changes since last release / "to implement" list: Refer to mastodon changelog and API docs for details when implementing, add or modify tests where needed - -4.4.0 TODOs ------------ -* [x] Fix all the issues -* [x] New endpoints for endorsements, replacing "pin" api, which is now deprecated: accounts_endorsements(id), account_endorse(id), account_unendorse(id) -* [x] New endpoints for featured tags: tag_feature(name), tag_unfeature(name) -* [x] New endpoint: instance_terms, with or without date (format?) -* [x] Some oauth stuff (userinfo? capability discovery? see issue for that) -* [x] status_delete now has a media delete param -* [x] push_subscribe now has a "standard" parameter to switch between two versions. may also need to update crypto impls? -* [x] account_register now has a date of birth param (as above: format?) -* [x] update_credentials now has an attribution_domains param for link attribution (list) -* [x] Various updates to return values (automatable, hopefully, other than docs) -* [x] There is a "Deprecation" http header now, expose that to users? diff --git a/docs/conf.py b/docs/conf.py index bce36b4..c70cb51 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'2.0' +version = u'2.1' # The full version, including alpha/beta/rc tags. -release = u'2.0.1' +release = u'2.1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/index.rst b/docs/index.rst index fecd46d..7fc8c96 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -59,7 +59,7 @@ every aspect. This is a simple Python wrapper for that API, provided as a single Python module. Mastodon.py aims to implement the complete public Mastodon API. As -of this time, it is feature complete for Mastodon version 4.3.0. The +of this time, it is feature complete for Mastodon version 4.4.3. The Mastodon compatible API layers of various other pieces of software as well as forks, while not an official target, should also be basically compatible, and Mastodon.py does make some allowances for behaviour that isn't diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 3c1e84b..3f847e1 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -72,8 +72,8 @@ class Mastodon(MastoUtility, MastoAuthentication, MastoAccounts, MastoInstance, Main class, imports most things from modules """ # Support level - __SUPPORTED_MASTODON_VERSION = "4.3.0" - __MASTODON_PY_VERSION = "2.0.1" + __SUPPORTED_MASTODON_VERSION = "4.4.3" + __MASTODON_PY_VERSION = "2.1.0" @staticmethod def get_supported_version() -> str: diff --git a/pyproject.toml b/pyproject.toml index 212e75b..eeb2a13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend= "setuptools.build_meta" [project] name = "Mastodon.py" -version = "2.0.1" +version = "2.1.0" description = "Python wrapper for the Mastodon API" readme = "README.rst" authors = [