Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Bump tweepy from 4.10.0 to 4.12.0 #37

Merged
merged 1 commit into from
Nov 1, 2022
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2022

Bumps tweepy from 4.10.0 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)

4.10.1

Bug Fixes

  • Fix AsyncBaseClient rate limit handling (#1902)
  • Fix handling of StreamRule when passed in list to StreamingClient.delete_rules or AsyncStreamingClient.delete_rules (#1942)

... (truncated)

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)

... (truncated)

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)

Bumps [tweepy](https://github.com/tweepy/tweepy) from 4.10.0 to 4.12.0.
- [Release notes](https://github.com/tweepy/tweepy/releases)
- [Changelog](https://github.com/tweepy/tweepy/blob/master/docs/changelog.md)
- [Commits](tweepy/tweepy@v4.10.0...v4.12.0)

---
updated-dependencies:
- dependency-name: tweepy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 1, 2022
@dependabot dependabot bot requested a review from plcnk November 1, 2022 18:14
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2022

The following labels could not be found: pip.

@plcnk plcnk merged commit d185290 into master Nov 1, 2022
@dependabot dependabot bot deleted the dependabot/pip/tweepy-4.12.0 branch November 1, 2022 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant