Mastodon.py

Latest version: v1.8.1

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 14

1.6.3

Not secure
------
* Add server rules API (`instance_rules`)
* Add confirmation email resend API (`email_resend_confirmation`)
* Add account lookup API (`account_lookup`)
* Add `policy` param to control notification sources for `push_subscription_set`
* Add ability to get detailed signup error to `create_account`
* Fix version check for limited federation instances (Thanks to ulysseus-eu for the report)

1.6.2

Not secure
------
* Fix some issues with datetime conversion (thanks to various people for reporting it)

1.6.1

Not secure
------
* BREAKING CHANGE: Change behaviour of streaming api handlers to no longer raise an exception when an unknown event is received and change the contract of the unknown event handler to explicitly state that it will not receive events once Mastodon.py updates.
* 3.1.3 support
* Added v2 media_post api
* 3.1.4 support
* Added "remote", "local" and "only_media" parameter for timelines more broadly
* Documented updates to instance information api return value
* 3.2.0 support
* Added account notes API
* Added thumbnail support to media_post / media_update
* Documented new keys in media API
* 3.3.0 support
* Added "notify" parameter for following.
* Added support for timed mutes
* Added support for getting an accounts features tags via account_featured_tags
* Miscelaneous additions
* Added support for paginating by date via converting dates to snowflake IDs (on Mastodon only - thanks to edent for the suggestion)
* Added a method to revoke oauth tokens (thanks fluffy-critter)
* Fixes
* Various small and big fixes, improving reliablity and test coverage
* Changed health APIs to work with newer Mastodon versions
* Changed URLs from "tootsuite" to "mastodon" in several places (thanks andypiper)
* Fixed some fields not converting to datetimes (thanks SouthFox-D)
* Improved oauth web flow support
* Improved documentation consistency (thanks andypiper)

1.5.2

Not secure
------
* BREAKING CHANGE (but to a representation that was intended to be internal): Greatly improve how pagination info is stored (arittner)
* Added "unknown event" handler for streaming (arittner)
* Added support for exclude_types in notifications api (MicroCheapFx)
* Added pagination to bookmarks (arittner)
* Made connecting for streaming more resilient (arittner)
* Allowed specifying a user agent header (arittner)
* Addeded support for tagged and exclude_reblogs on account_statuses api (arittner)
* Added support for reports without attached statuses (arittner)
* General fixes
* Fixed a typo in __json_fruefalse_parse (zen-tools)
* Some non-mastodon related fixes
* Fixed a typo in error message for content_type (rinpatch
* Added support for specifying file name when uploading (animeavi)
* Fixed several crashes related to gotosocials version string (fwaggle)
* Fixed an issue related to hometowns version string

1.5.1

Not secure
------
* 3.1 support
* 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.
* Added announcement support
* New functions: `announcements`, `announcement_dismiss`
* Added announcement reaction support
* New functions: `announcement_reaction_create`, `announcement_reaction_delete`
* Fixed missing notification type "poll" in push notification API and documentation.´
* Fixed a token loading bug
* 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.

1.5.0

Not secure
------
* 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 features via 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

Page 10 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.