danmassarano / chatbot

GNU General Public License v3.0
1 stars 0 forks source link

Bump tweepy from 4.10.1 to 4.12.0 #109

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps tweepy from 4.10.1 to 4.12.0.

Release notes

Sourced from tweepy's releases.

4.12.0

New Features / Improvements

  • Add support for Direct Messages with Twitter API v2 (#1995)
    • Add DirectMessageEvent model
    • Add Client.get_direct_message_events, Client.create_direct_message, and Client.create_direct_message_conversation
    • Add AsyncClient.get_direct_message_events, AsyncClient.create_direct_message, and AsyncClient.create_direct_message_conversation
  • Add support for Python 3.11 (a391c66)
  • Add support for variants Media field (#1910, e31be15)

Bug Fixes

  • Handle different method return types in API v2 pagination (#1843, #1861, 381bf91, 3874579)
  • Add missing angle bracket to string representation of ReferencedTweet (d4df069)

Misc

  • Add documentation for edit_history_tweet_ids and edit_controls Tweet fields (2b1e159)
    • This documentation was previously missing from Twitter's API documentation
  • Fix class references in notes in documentation for AsyncClient methods (f737b87)
  • Fix signature of Client.get_quote_tweets in documentation (6f7de39)
  • Update actions/setup-python from v2 to v4 (f16b3dc, 0148be7)

4.11.0

New Features / Improvements

  • Add support for retrieving edited Tweet metadata
    • Add support for include_ext_edit_control parameter for API methods (e122f35, e736770)
    • Add support for edit_history_tweet_ids and edit_controls Tweet fields (#1979, a1c104f)
  • Add asynchronous.AsyncPaginator for pagination for AsyncClient (33e444a)
  • Add support for exclude parameter for get_quote_tweets (4f28bd8, 17e02b7, 48ebdb7)

Bug Fixes

  • Handle 429 HTTP errors for streaming (#1982, #1986)
  • Lower API v2 streaming timeout to 20 seconds (#1986)
  • Regenerate Authorization header prior to any reconnection requests for AsyncStream (29bbb7b, a4c6325, 5ade386)
  • Use tuple for endpoint_parameters argument in API.indicate_direct_message_typing (396ab84)
  • Update models.List methods to pass keyword arguments to API methods (#1987)
  • Update models.List methods to use list ID instead of slug (73f6308)

Misc

  • Log text of HTTP response when handling request error in AsyncBaseStream (51c3762)
  • Update signature for get_list_tweets in documentation (86577b1)
    • Add media_fields, place_fields, and poll_fields parameters
  • Add version changed directive to documentation for get_list_tweets (5cb2616)
  • Improve documentation for wait_on_rate_limit parameter for streaming (#1986)
  • Add release dates to changelog (f665ce6, eafa665, 3f0cc76)
  • Add sections for old and previously missing versions to changelog (6aa1b77)
  • Update cassettes for testing methods that return Tweet objects (872b33e)
Changelog

Sourced from tweepy's changelog.

Version 4.12.0 (2022-10-27)

New Features / Improvements

  • Add support for Direct Messages with Twitter API v2 (#1995)
    • Add DirectMessageEvent model
    • Add Client.get_direct_message_events, Client.create_direct_message, and Client.create_direct_message_conversation
    • Add AsyncClient.get_direct_message_events, AsyncClient.create_direct_message, and AsyncClient.create_direct_message_conversation
  • Add support for Python 3.11 (a391c66)
  • Add support for variants Media field (#1910, e31be15)

Bug Fixes

  • Handle different method return types in API v2 pagination (#1843, #1861, 381bf91, 3874579)
  • Add missing angle bracket to string representation of ReferencedTweet (d4df069)

Misc

  • Add documentation for edit_history_tweet_ids and edit_controls Tweet fields (2b1e159)
    • This documentation was previously missing from Twitter's API documentation
  • Fix class references in notes in documentation for AsyncClient methods (f737b87)
  • Fix signature of Client.get_quote_tweets in documentation (6f7de39)
  • Update actions/setup-python from v2 to v4 (f16b3dc, 0148be7)

Version 4.11.0 (2022-10-24)

New Features / Improvements

  • Add support for retrieving edited Tweet metadata
    • Add support for include_ext_edit_control parameter for API methods (e122f35, e736770)
    • Add support for edit_history_tweet_ids and edit_controls Tweet fields (#1979, a1c104f)
  • Add asynchronous.AsyncPaginator for pagination for AsyncClient (33e444a)
  • Add support for exclude parameter for get_quote_tweets (4f28bd8, 17e02b7, 48ebdb7)

Bug Fixes

  • Handle 429 HTTP errors for streaming (#1982, #1986)
  • Lower API v2 streaming timeout to 20 seconds (#1986)
  • Regenerate Authorization header prior to any reconnection requests for AsyncStream (29bbb7b, a4c6325, 5ade386)
  • Use tuple for endpoint_parameters argument in API.indicate_direct_message_typing (396ab84)
  • Update models.List methods to pass keyword arguments to API methods (#1987)
  • Update models.List methods to use list ID instead of slug (73f6308)

Misc

  • Log text of HTTP response when handling request error in AsyncBaseStream (51c3762)
  • Update signature for get_list_tweets in documentation (86577b1)
    • Add media_fields, place_fields, and poll_fields parameters
  • Add version changed directive to documentation for get_list_tweets (5cb2616)
  • Improve documentation for wait_on_rate_limit parameter for streaming (#1986)
  • Add release dates to changelog (f665ce6, eafa665, 3f0cc76)
  • Add sections for old and previously missing versions to changelog (6aa1b77)
  • Update cassettes for testing methods that return Tweet objects (872b33e)
Commits
  • a07d225 Release v4.12.0
  • db799f4 Add changelog for version 4.12.0
  • caefd29 Add support for Twitter API v2 Direct Messages endpoints
  • d4df069 Add missing angle bracket to string representation of ReferencedTweet
  • 6f7de39 Fix signature of Client.get_quote_tweets in documentation
  • 92f9cb9 Revert "Change API method docstrings to raw strings"
  • 3874579 Improve exceptions raised for unknown method return types for pagination
  • 381bf91 Handle different method return types in flatten methods for pagination
  • e31be15 Add version changed directive to documentation for Media
  • d39847e Merge pull request #1910 from New-dev0/patch-1
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)