Mastodonplus.py/CHANGELOG.rst

269 líneas
12 KiB
ReStructuredText

A note on versioning: This librarys major version will grow with the APIs
2017-12-14 15:09:54 +01:00
version number. Breaking changes will be indicated by a change in the minor
2018-07-30 23:33:34 +02:00
(or major) version number, and will generally be avoided.
2017-12-14 15:09:54 +01:00
2020-03-14 19:05:11 +01:00
v1.5.1
2020-02-16 17:25:39 +01:00
--------------------------------
* 3.1 support
2020-02-22 20:43:50 +01:00
* Added `discoverable` parameter to account_update_credentials (Thanks gdunstone)
* Added new notification type "follow_request"
* Added bookmarks support:
* New functions: `status_bookmark`, `status_unbookmark`, `bookmarks`
* New fine-grained oauth scopes: read:bookmarks and write:bookmarks.
2020-02-29 18:52:20 +01:00
* Added announcement support
* New functions: `announcements`, `announcement_dismiss`
* Added announcement reaction support
* New functions: `announcement_reaction_create`, `announcement_reaction_delete`
2020-02-16 17:25:39 +01:00
* Fixed missing notification type "poll" in push notification API and documentation.´
2020-02-29 18:48:01 +01:00
* Fixed a token loading bug
2020-02-16 17:25:39 +01:00
* Fix header upload in account_update_credentials (Thanks gdunstone)
* Commented blocklist code (Thanks marnanel for the report)
* Added fallback for when magic is not available (Thanks limburgher)
* Added missing "mentions_only" parameter to notifications (Thanks adbenitez for the report)
* Moved "content_type" parameter into "pleroma" feature set. This is a breaking change.
2019-10-12 23:20:28 +02:00
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
2020-02-16 17:25:59 +01:00
* Add basic support for non-mainline features via the feature_set parameter
2019-10-12 23:20:28 +02:00
* 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
2019-07-23 13:37:27 +02:00
v1.4.6
------
* Fix documentation for list_accounts()
* Add note about block lists to documentation
* Add note that 2.7 support is being sunset
2019-06-23 12:13:44 +02:00
v1.4.5
------
* Small fix to be friendlier to hosted apps
2019-06-22 16:41:32 +02:00
v1.4.4
------
2019-06-22 21:07:52 +02:00
* Added support for moderation API (Thanks Gargron for the clarifications and dotUser for helping with testing)
2019-06-22 17:33:12 +02:00
* Made status_delete return the deleted status (With "source" attribute)
* Added account_id parameter to notifications
2019-06-22 16:41:32 +02:00
* 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)
2019-05-31 14:36:22 +02:00
v1.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.
2019-05-31 14:57:39 +02:00
* Fixed a bug in create_account (Thanks csmall for the report)
2019-05-31 14:36:22 +02:00
* 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)
2019-05-11 12:59:58 +02:00
v1.4.2
------
* Fixed date parsing in hashtag dicts.
2019-05-11 01:22:18 +02:00
v1.4.1
------
2019-05-11 01:26:10 +02:00
* 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.
2019-05-11 01:22:18 +02:00
* Added blurhash decoding.
2019-04-28 23:22:09 +02:00
v1.4.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-).
2018-07-30 23:28:21 +02:00
v1.3.1
------
2018-07-30 23:31:20 +02:00
* Mastodon v2.4.3 compatibility:
2018-07-30 23:28:21 +02:00
* 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
2018-07-30 23:31:20 +02:00
* Support for granular scopes
* Added status_reply() convenience function
2018-07-30 23:28:21 +02:00
* First attempt at basic Pleroma compatibility (Thanks deeunderscore)
* Several small fixes
2018-06-05 19:01:29 +02:00
v1.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 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
2018-01-29 15:10:28 +01:00
v1.2.2
------
* 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
2017-12-21 11:19:03 +01:00
v1.2.1
2017-12-21 11:07:56 +01:00
------
* Internal stability changes and fixes to streaming code
* Fixed async parameter being ignored in two streaming methods
2017-12-15 20:13:51 +01:00
v1.2.0
------
2017-12-14 15:09:54 +01:00
* BREAKING CHANGE: Renamed streaming functions to be more in line with the rest
* POTENTIALLY BREAKING CHANGE: Added attribute-style access for returned dicts
2017-12-15 20:13:51 +01:00
* Mastodon v2.1.0 compatibility
2017-12-14 15:09:54 +01:00
* 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
2017-12-15 21:27:43 +01:00
* Various fixes, clarifications, et cetera (Thanks Dryusdan, codl)
2017-11-21 14:53:32 +01:00
v1.1.2
------
* 2.0 id compatibility (thanks codl)
2017-11-21 14:56:30 +01:00
* Added emoji support
2017-11-21 14:53:32 +01:00
* Media alt-text support (thanks foozmeat)
* Python2 fixes (thanks ragingscholar)
* General code cleanup and small fixes (thanks codl)
* Beginnings of better error handling (thanks Elizafox)
* Various documentation updates
2017-09-10 23:27:35 +02:00
v1.1.1
------
2017-12-14 13:44:23 +01:00
* Emergency fix to allow logging in to work (thanks codl)
2017-09-10 23:27:35 +02:00
2017-09-08 16:34:18 +02:00
v1.1.0
------
2017-12-14 13:44:23 +01:00
* BREAKING CHANGE: Added date parsing to the response parser
* Added notification dismissal
* Added conversation muting
* Updated documentation
* Added asynchronous mode for the streaming API
* Fixed several bugs (thanks ng-0, LogalDeveloper, Chronister, Elizafox, codl, lambadalambda)
* Improved code style (thanks foxmask)
2017-09-08 16:34:18 +02:00
2017-06-16 01:46:00 +02:00
v1.0.8
------
2017-12-14 13:44:23 +01:00
* Added support for domain blocks
* Updated the documentation to reflect API changes
* Added support for pagination (Thanks gled-rs, azillion)
* Fixed various bugs (Thanks brrzap, fumi-san)
2017-06-16 01:46:00 +02:00
2017-04-27 10:55:57 +02:00
v1.0.7
------
2017-12-14 13:44:23 +01:00
* Added support for OAuth2 (Thanks to azillon)
* Added support for several new endpoints (Thanks phryk, aeonofdiscord, naoyat)
* Fixed various bugs (Thanks EliotBerriot, csu, edsu)
* Added support for streaming API (Thanks wjt)
2017-04-27 10:55:57 +02:00
2017-04-05 14:03:28 +02:00
v1.0.6
------
2017-12-14 13:44:23 +01:00
* Fixed several bugs (Thanks to Psycojoker, wjt and wxcafe)
* Added support for spoiler text (Thanks to Erin Congden)
* Added support for mute functionality (Thanks to Erin Congden)
* Added support for getting favourites (Thanks to Erin Congden)
* Added support for follow requests (Thanks to Erin Congden, again)
* Added MANIFEST.in to allow for conda packaging (Thanks, pmlandwehr)
2017-04-05 14:03:28 +02:00
2017-03-15 11:17:51 +01:00
v1.0.5
------
2017-12-14 13:44:23 +01:00
* Fixed previous fix (Thank you, @tylerb@mastodon.social)
2017-03-15 11:17:51 +01:00
2017-03-03 17:18:27 +01:00
v1.0.4
------
2017-12-14 13:44:23 +01:00
* Fixed an app creation bug (Thank you, @tylerb@mastodon.social)
2017-03-03 17:18:27 +01:00
2017-02-13 13:58:20 +01:00
v1.0.3
------
2017-12-14 13:44:23 +01:00
* Added support for toot privacy (thanks fpietsche)
2017-02-13 13:58:20 +01:00
2016-11-26 00:11:22 +01:00
v1.0.2
------
2017-12-14 13:44:23 +01:00
* Removed functions and documentation for APIs that have been removed
* Documentation is now vastly improved thanks to @lydia@mastodon.social / girlsim
* Rate limiting code - Mastodon.py can now attempt to respect rate limits
* Several small bug fixes, consistency fixes, quality-of-life improvements
2016-11-26 00:11:22 +01:00
v.1.0.1
-------
2017-12-14 13:44:23 +01:00
* Added timeline_*() functions for consistency. timeline() functions as before.
* Clarified documentation in various places.
* Added previously-undocumented notifications() - API that gets a users notifications.
v.1.0.0
-------
2017-12-14 13:44:23 +01:00
* Initial Release
2017-04-27 11:04:53 +02:00