From 48343ad19445527799b83a519fc2072a352cfd05 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 12 Oct 2019 23:20:28 +0200 Subject: [PATCH] 1.5.0 changelog and version bumps --- CHANGELOG.rst | 22 ++++++++++++++++++++++ README.rst | 2 +- docs/conf.py | 4 ++-- docs/index.rst | 2 +- setup.py | 2 +- 5 files changed, 27 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4d3cdb4..3ae485b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,28 @@ 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. +v1.5.0 +------ +* BREAKING CHANGE: the search_v1 API is now gone from Mastodon, Mastodon.py will still let you use it where available / use it where needed if you call search() +* Support for new 3.0.0 features + * Added profile directory API: directory() + * Added featured and suggested tags API: featured_tags(), featured_tag_suggestions(), featured_tag_create(), featured_tag_delete() (Thanks Gargron for the advice) + * Added read-markers API: markers_get(), markers_set() + * Re-added trends API: trends() + * Added health api: instance_health() + * Added nodeinfo support: instance_nodeinfo() + * Added new parameters to search (exclude_unreviewed) and create_account (reason) +* Added ability to persist base URLs together with access token and client id / secret files +* Documented that status_card endpoint has been removed, switched to alternate method of retrieving cards if function is still used +* Added blurhash as a core dependency, since it is now licensed permissively again +* Added me() function as synonym for account_verify_credentials() to lessen confusion +* Fixed notification-dismiss to use new API endpoint where the old one is not available (Thanks kensanata) +* Fixed status_reply to match status_post +* Add basic support for non-mainline featuresvia the feature_set parameter + * Added support for fedibirds quote_id parameter in status_post +* Future-proofed webpush cryptography api while trying to remain very backwards compatible so that it can hopefully in the future become part of the core +* Clarified and updated the documentation and improved the tests in various ways + v1.4.6 ------ * Fix documentation for list_accounts() diff --git a/README.rst b/README.rst index 6fa4beb..b23a0c9 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Mastodon.py =========== Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API. -Feature complete for public API as of Mastodon version 2.9.2 and easy to get started with: +Feature complete for public API as of Mastodon version 3.0.1 and easy to get started with: .. code-block:: python diff --git a/docs/conf.py b/docs/conf.py index 2705ce6..15c27b6 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.4' +version = u'1.5' # The full version, including alpha/beta/rc tags. -release = u'1.4.6' +release = u'1.5.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 1e64927..2826301 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -54,7 +54,7 @@ node running Mastodon by setting `api_base_url` when creating the api object (or creating an app). Mastodon.py aims to implement the complete public Mastodon API. As -of this time, it is feature complete for Mastodon version 2.9.2. Pleromas +of this time, it is feature complete for Mastodon version 3.0.1. Pleromas Mastodon API layer, while not an official target, should also be basically compatible, and Mastodon.py does make some allowances for behaviour that isn't strictly like Mastodons. diff --git a/setup.py b/setup.py index f0b9985..4aed898 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ extras = { } setup(name='Mastodon.py', - version='1.4.6', + version='1.5.0', description='Python wrapper for the Mastodon API', packages=['mastodon'], install_requires=[