Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency mastodon-py to v2 #157

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 15, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mastodon-py ==1.8.1 -> ==2.0.0 age adoption passing confidence

Release Notes

halcy/Mastodon.py (mastodon-py)

v2.0.0

Compare Source

  • 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)
  • We're now using space age technology (pyproject.toml - thanks @​codl)
  • Add py.typed marker (Thanks @​ZeeD for the suggestion)
  • Added CITATION.cff (Thanks @​hauschke for the suggestion)
  • Fixed a potential issue with modification to locals (Thanks Konano)
  • Added support for 4.3.0 accounts endpoint (Thanks AlexKalopsia)
  • Fix version parsing for GoToSocial (Thanks gmemstr)
  • Updated docs to reflect the fact that startign with 4.4.0, the password grant type is no longer supported.
  • Added support for following tags (followed_tags, tag_follow, tag_unfollow, tag)
  • Fix library not working with -O2 (Thanks mirabilos for the report)
  • Version check mode now defaults to "none", since it keeps causing more problems than it solves.
  • Document media (Thanks LunarLambda for the report)
  • Added json serialization and deserialization for returned entities
  • Added missing event types and a catch-all event for streaming API
  • Add v1 and v2 variants for instance
  • Add canonical domain block support (admin_canonical_email_blocks, admin_canonical_email_block, admin_canonical_email_block_create, admin_canonical_email_block_delete)
  • Add trending link timeline (timeline_link)
  • Update suggestions endpoint and return value
  • Add with_suspended parameter to account_relationships
  • Add forward_to_domains parameter to reports
  • Add account_delete_avatar and account_delete_header
  • Add statuses method to retrieve multiple statuses at once
  • Add automatic conversion of datetime objects to flake IDs for min/max/since_id fields where appropriate
  • Add notifications_unread_count
  • Add media attachment editing
  • Add email domain blocking support (admin_email_domain_blocks, admin_email_domain_block, admin_email_domain_block_create, admin_email_domain_block_delete)
  • Add instance_extended_description
  • Add instance_translation_languages, translation support (status_translate)
  • Add trend admin functions (admin_trending_tags, admin_trending_statuses, admin_trending_links, admin_approve_trending_link, admin_reject_trending_link, admin_approve_trending_status, admin_reject_trending_status, admin_approve_trending_tag, admin_reject_trending_tag)
  • Add admin IP block functions (admin_ip_blocks, admin_ip_block, admin_ip_block_create, admin_ip_block_delete)
  • Add instance_domain_blocks
  • Add notification policy and requests (notifications_policy, update_notifications_policy, notifications_requests, notification_request, accept_notification_request, reject_notification_request, notifications_merged, accept_multiple_notification_requests, dismiss_multiple_notification_requests)
  • Add instance_languages
  • Add notification grouping (grouped_notifications, grouped_notification, dismiss_grouped_notification, grouped_notification_accounts, unread_grouped_notifications_count)
  • Add v2 filer API (filters_v2, filter_v2, create_filter_v2, update_filter_v2, delete_filter_v2, filter_keywords_v2, add_filter_keyword_v2, delete_filter_keyword_v2, filter_statuses_v2, add_filter_status_v2, filter_status_v2, delete_filter_status_v2)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@toelke toelke merged commit 2c35983 into main Feb 17, 2025
1 check failed
@renovate renovate bot deleted the renovate/mastodon-py-2.x branch February 17, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant