Releases: halcy/Mastodon.py
1.4.4
- Added support for moderation API (Thanks Gargron for the clarifications and dotUser for helping with testing)
- Made status_delete return the deleted status (With "source" attribute)
- Added account_id parameter to notifications
- Added streaming_health
- Added support for local hashtag streams
- Made blurhash an optional dependency (Thanks limburgher)
- Fixed some things related to error handling (Thanks lefherz)
- Fixed various small documentation issues (Thanks lefherz)
Docs: https://mastodonpy.readthedocs.io/en/1.4.4/
PyPi: https://pypi.org/project/Mastodon.py/1.4.4/
1.4.3
- BREAKING BUT ONLY FOR YOUR DEPLOY, POTENTIALLY: http_ece and cryptography are now optional dependencies, if you need full webpush crypto support add the "webpush" feature to your Mastodon.py requirements or require one or both manually in your own setup.py.
- Fixed a bug in create_account (Thanks csmall for the report)
- Allowed and documented non-authenticated access to streaming API (Thanks webwurst)
- Fixed MastodonServerError not being exported (Thanks lefherz)
- Fixed various small documentation issues (Thanks julianaito)
Docs: https://mastodonpy.readthedocs.io/en/1.4.3/
PyPi: https://pypi.org/project/Mastodon.py/1.4.3/
1.4.2
- Fixed date parsing in hashtag dicts.
Docs: https://mastodonpy.readthedocs.io/en/1.4.2/
PyPi: https://pypi.org/project/Mastodon.py/1.4.2/
1.4.1
- Fixed search not working on Mastodon versions before 2.8.0. search now dynamically selects search_v1 or search_v2 and adjusts valid parameters depending on the detected Mastodon version.
- Added blurhash decoding.
Docs: https://mastodonpy.readthedocs.io/en/1.4.1/
PyPi: https://pypi.org/project/Mastodon.py/1.4.1/
1.4.0
Fixes some bugs and adds support for everything up to Mastodon version 2.8.0.
There are some breaking changes in this release, though less than you might think, considering
this goes all the way from version 2.4.3 to 2.8.0.
- BREAKING CHANGE: Changed streaming API behaviour to make the initial connection asynchronous (Thanks to Shura0 for the detailed report)
- Old behaviour: The initial connection could fail, the stream functions would then throw an exception.
- New behaviour: The initial connection function just returns immediately. If there is a connection error, the listeners on_abort handler is called to inform the user and the connection is retried.
- BREAKING CHANGE: search() now calls through to search_v2. The old behaviour is available as search_v1.
- Added support for polls (Added in 2.8.0)
- Added support for preferences API (Added in 2.8.0)
- Added support for the boost visibility parameter (Added in 2.8.0)
- Added support for type, limit, offset, min_id, max_id, account_id on the search API (Added in 2.8.0)
- Added support for scheduled statuses (Added in 2.7.0)
- Added support for account creation via the API (Thanks gargron for clarifying many things here and in other places. Added in 2.7.0)
- Added support for conversation streaming / stream_direct (Added in 2.6.0)
- Added support for conversations (Added in 2.6.0)
- Added support for report forwarding (Added in 2.5.0)
- Added support for multiple OAuth redirect URIs and forcing the user to re-login in OAuth flows.
- Added support for app_verify_credentials endpoint (Added in 2.7.2).
- Added support for min_id based backwards pagination (Added in 2.6.0). The old method is still supported for older installs.
- Added support for account pins / endorsements (Added in 2.5.0).
- Updated documentation for changes to entities.
- Added the ability to access non-authenticated endpoints with no app credentials (Thanks to cerisara for the report and codl).
- Fixed the streaming API not working with gzip encoding (Thanks to bitleks for the report).
- Added more explicitly caught error classes (Thanks to lefherz).
- Improved Pleroma support including content-type and pagination fixes (Thanks to jfmcbrayer for the report and codl).
- Added better session support (Thanks to jrabbit).
- Fixed dependencies (Thanks to jrabbit).
- Fixed variousmime type issues (Thanks to errbufferoverfl and jfmcbrayer).
- Improved the example code (Thanks to MarkEEaton).
- Fixed various small documentation issues (Thanks to allo-).
Docs: https://mastodonpy.readthedocs.io/en/1.4.0/
PyPi: https://pypi.org/project/Mastodon.py/1.4.0/
1.3.1
- Mastodon v2.4.3 compatibility:
- Keyword filter support: filters(), filter(), filters_apply(), filter_create(), filter_update(), filter_delete()
- Follow suggestions support: suggestions(), suggestion_delete()
- account_follow() now has "reblogs" parameter
- account_mute() now has "notifications" parameter
- Support for granular scopes
- Added status_reply() convenience function
- First attempt at basic Pleroma compatibility (Thanks deeunderscore)
- Several small fixes
Docs: https://mastodonpy.readthedocs.io/en/1.3.1/
PyPi: https://pypi.org/project/Mastodon.py/1.3.1/
1.3.0
!!!!! There are several potentially breaking changes in here, and a lot
of things changed, since this release covers two Mastodon versions and
then some !!!!!
- Several small bug fixes (Thanks goldensuneur, bowlercaptain, joyeusenoelle)
- Improved stream error handling (Thanks codl)
- Improvements to streaming:
- Added on_abort() handler to streams
- Added automatic reconnecting
- POTENTIALLY BREAKING CHANGE: Added better error catching to make sure
streaming functions do not just crash
- Mastodon v2.3 compatibility (sorry for the late release)
- only_media parameter in timeline functions
- focus support for media_upload()
- Added media_update()
- Mastodon v2.4 compatibility
- Added fields to account_update_credentials()
- WebPush support:
- Added push_subscription(), push_subscription_set(), push_subscription_update(),
push_subscription_delete() - Added webpush crypto utilities: push_subscription_generate_keys(),
push_subscription_decrypt_push()
- Added push_subscription(), push_subscription_set(), push_subscription_update(),
- Added support for pinned toots, an oversight from 2.1.0: status_pin(), status_unpin()
- POTENTIALLY BREAKING CHANGE: Changed pagination attributes to not be part of the dict keys
of paginated return values. - Many internal improvements, more tests
Docs: https://mastodonpy.readthedocs.io/en/1.3.0/
PyPi: https://pypi.org/project/Mastodon.py/1.3.0
1.2.2
Changelog:
- Several small bugfixes (thanks codl)
- Mastodon v2.1.2 compatibility
- Added instance_activity()
- Added instance_peers()
- Fixed StreamListener breaking when listening to more than one stream (again thanks, codl)
- POTENTIALLY BREAKING CHANGE: Remvoved handle_line, which should have been an internal helper to begin with
Documentation: http://mastodonpy.readthedocs.io/en/1.2.2/
PyPi: https://pypi.python.org/pypi/Mastodon.py/1.2.2
1.2.1
Maintenance release. Fixes problems with the streaming API and code.
Documentation: http://mastodonpy.readthedocs.io/en/1.2.1/
PyPi: https://pypi.python.org/pypi/Mastodon.py/1.2.1
1.2.0
This version brings compatibility with 2.1.0, several quality-of-life improvements and tests. Includes breaking changes.
Documentation: http://mastodonpy.readthedocs.io/en/1.2.0/
On PyPi: https://pypi.python.org/pypi/Mastodon.py/1.2.0
Detailed changelog:
- BREAKING CHANGE: Renamed streaming functions to be more in line with the rest
- POTENTIALLY BREAKING CHANGE: Added attribute-style access for returned dicts
- Mastodon v2.1.0 compatibility
- Added custom_emojis()
- Added list(), lists(), list_accounts()
- Added list_create(), list_update(), list_delete()
- Added list_accounts_add(), list_accounts_delete()
- Added account_lists()
- Added timeline_list()
- Added stream_list()
- Added automatic id unpacking
- Added api versioning
- Added a large amount of tests (MASSIVE thanks to codl)
- Added asynchronous mode to streaming api (Thanks Kjwon15)
- Added CallbackStreamListener
- Improved documentation for the streaming API
- Various fixes, clarifications, et cetera (Thanks Dryusdan, codl)