Update dependency Mastodon.py to v2 #64

Open
renovate_bot wants to merge 1 commit from renovate/mastodon.py-2.x into main
Collaborator

This PR contains the following updates:

Package Update Change
Mastodon.py major ==1.8.1 -> ==2.0.0

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [Mastodon.py](https://github.com/halcy/Mastodon.py) | major | `==1.8.1` -> `==2.0.0` | --- ### Release Notes <details> <summary>halcy/Mastodon.py (Mastodon.py)</summary> ### [`v2.0.0`](https://github.com/halcy/Mastodon.py/blob/HEAD/CHANGELOG.rst#v200) [Compare Source](https://github.com/halcy/Mastodon.py/compare/1.8.1...2.0.0) - 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 [@&#8203;leahoswald](https://github.com/leahoswald)) - Removed six dependency, since we don't care about 2.x anymore (Thanks [@&#8203;a-detiste](https://github.com/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 [@&#8203;lasseedfast](https://github.com/lasseedfast)) - Improved docstring for visibility (Thanks [@&#8203;ashwinvis](https://github.com/ashwinvis)) - Added `offset` parameter to `trending_statuses` (Thanks [@&#8203;Teqed](https://github.com/Teqed)) - We're now using space age technology (pyproject.toml - thanks [@&#8203;codl](https://github.com/codl)) - Add py.typed marker (Thanks [@&#8203;ZeeD](https://github.com/ZeeD) for the suggestion) - Added CITATION.cff (Thanks [@&#8203;hauschke](https://github.com/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`) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4zMS40IiwidXBkYXRlZEluVmVyIjoiMzkuMzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate_bot added 1 commit 2025-02-15 13:00:13 -08:00
Update dependency Mastodon.py to v2
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
2883a9bf99
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
Required
Details
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/mastodon.py-2.x:renovate/mastodon.py-2.x
git checkout renovate/mastodon.py-2.x
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: buckbanzai/kuow-mastodon-bot#64
No description provided.