diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 42a90a8..764be77 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,12 +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.0 (IN PROGRESS) --------------------- +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. * Documentation fixes based on the new entities and typing. * Added information that streaming API access is now auth mandatory (Thanks @leahoswald) * Removed six dependency, since we don't care about 2.x anymore (Thanks @a-detiste) +* Support level is now 4.3.0 +* Note that logging in with passwords is deprecated and to be removed in 4.4.0 * Clarify the use of `code` (Thanks @lasseedfast) * Improved docstring for visibility (Thanks @ashwinvis) * Added `offset` parameter to `trending_statuses` (Thanks @Teqed) diff --git a/README.rst b/README.rst index 8070539..cff22ad 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 3.5.5 and easy to get started with: +Feature complete for public API as of Mastodon version 4.3.0 and easy to get started with: .. code-block:: python @@ -28,7 +28,6 @@ Feature complete for public API as of Mastodon version 3.5.5 and easy to get sta to_file="pytooter_usercred.secret" ) - # Note that this won't work when using 2FA - you'll have to use OAuth, in that case. # To post, create an actual API instance: mastodon = Mastodon(access_token = 'pytooter_usercred.secret') mastodon.toot('Tooting from Python using #mastodonpy !') diff --git a/docs/index.rst b/docs/index.rst index 1c64217..fecd46d 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 3.5.5. The +of this time, it is feature complete for Mastodon version 4.3.0. 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 5b11785..1472f4d 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -72,7 +72,7 @@ class Mastodon(MastoUtility, MastoAuthentication, MastoAccounts, MastoInstance, Main class, imports most things from modules """ # Support level - __SUPPORTED_MASTODON_VERSION = "3.5.5" + __SUPPORTED_MASTODON_VERSION = "4.3.0" __MASTODON_PY_VERSION = "2.0.0" @staticmethod diff --git a/pyproject.toml b/pyproject.toml index 6883fff..8380431 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend= "setuptools.build_meta" [project] name = "Mastodon.py" -version = "1.8.1" +version = "2.0.0" description = "Python wrapper for the Mastodon API" readme = "README.rst" authors = [