dracarys18 / TweetBot

A simple Telegram Bot to Stream the tweets from any twitter accounts to Telegram Channel
MIT License
103 stars 45 forks source link

build(deps): bump tweepy from 3.10.0 to 4.6.0 #17

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps tweepy from 3.10.0 to 4.6.0.

Release notes

Sourced from tweepy's releases.

4.6.0

This will be the last minor version to support Python 3.6 (#1788).

New Features / Improvements

  • Add support for streaming with Twitter API v2 (86244c1)
    • Refactor Client and Stream to inherit from new BaseClient and BaseStream classes and add StreamingClient, StreamResponse, and StreamRule
  • Add support for new max_results and pagination_token parameters for Client.get_liking_users (bdd6b55)
  • Add support for new max_results and pagination_token parameters for Client.get_retweeters (3479e56)
  • Add support for new sort_order parameter for Client.search_all_tweets (bd202e5)
  • Add support for new sort_order parameter for Client.search_recent_tweets (8b47170)
  • Add Client.get_space_tweets (c8d5d9a)
  • Add Space.subscriber_count (1ffc8cd)
  • Use repr of text in Tweet.__repr__ (4e2997e)
    • This avoids including inconstant newlines, rather than escaped newlines, in the string representation of the Tweet object, making it more consistent
  • Override Mapping.__contains__ in DataMapping (9f10a58)
    • This allows membership tests to check for existence within data in Twitter API v2 models, rather than existence of the attribute at all
  • Initialize Stream.session within Stream.__init__ (80adf5b)
    • Update the user agent based on Stream.user_agent even if Stream.session is already initialized
  • Use oauthlib to create code challenge and verifier for PKCE (eb22416)
    • Explicitly specify oauthlib dependency requirement as >= 3.2.0 (fc0d967)
      • Update requests_oauthlib dependency requirement to >= 1.2.0 (dd7e2c9)

Bug Fixes

  • Fix datetime endpoint parameter formatting in Client._make_request (#1793)

Misc

  • Remove undocumented debug function (a702325)
  • Add logging documentation (7701506)
  • Update and improve various documentation

4.5.0

New Features / Improvements

  • Revamp authentication interface
    • Add support for OAuth 2.0 Authorization Code Flow with PKCE
    • Rename OAuthHandler to OAuth1UserHandler (fb6eb7d)
      • OAuthHandler is kept as a deprecated alias (cba7317)
    • Rename AppAuthHandler to Oauth2AppHandler (529d793)
      • AppAuthHandler is kept as a deprecated alias (d4ceb1a)
    • Rename OAuth2Bearer to OAuth2BearerHandler (0781fde)
    • Allow passing access token and secret directly to OAuth1UserHandler.__init__ (99f3583)
      • Note, this changes the callback parameter to be the fifth argument, positionally
    • Allow OAuth2BearerHandler to be used as auth parameter for API (5a2a3fc)
    • Remove AuthHandler (d600c4c)
    • Remove OAuth1UserHandler.get_xauth_access_token (8e2de9f)
    • Update and improve authentication documentation (f9a722b)
    • Other improvements and optimizations
  • Add Client.get_me (c49cbdf, 62b5b58, f6895d3, bb87b26)
  • Add support for Media.url (#1722)

... (truncated)

Changelog

Sourced from tweepy's changelog.

Version 4.6.0

This will be the last minor version to support Python 3.6 (#1788).

New Features / Improvements

  • Add support for streaming with Twitter API v2 (86244c1)
    • Refactor Client and Stream to inherit from new BaseClient and BaseStream classes and add StreamingClient, StreamResponse, and StreamRule
  • Add support for new max_results and pagination_token parameters for Client.get_liking_users (bdd6b55)
  • Add support for new max_results and pagination_token parameters for Client.get_retweeters (3479e56)
  • Add support for new sort_order parameter for Client.search_all_tweets (bd202e5)
  • Add support for new sort_order parameter for Client.search_recent_tweets (8b47170)
  • Add Client.get_space_tweets (c8d5d9a)
  • Add Space.subscriber_count (1ffc8cd)
  • Use repr of text in Tweet.__repr__ (4e2997e)
    • This avoids including inconstant newlines, rather than escaped newlines, in the string representation of the Tweet object, making it more consistent
  • Override Mapping.__contains__ in DataMapping (9f10a58)
    • This allows membership tests to check for existence within data in Twitter API v2 models, rather than existence of the attribute at all
  • Initialize Stream.session within Stream.__init__ (80adf5b)
    • Update the user agent based on Stream.user_agent even if Stream.session is already initialized
  • Use oauthlib to create code challenge and verifier for PKCE (eb22416)
    • Explicitly specify oauthlib dependency requirement as >= 3.2.0 (fc0d967)
      • Update requests_oauthlib dependency requirement to >= 1.2.0 (dd7e2c9)

Bug Fixes

  • Fix datetime endpoint parameter formatting in Client._make_request (#1793)

Misc

  • Remove undocumented debug function (a702325)
  • Add logging documentation (7701506)
  • Update and improve various documentation

Version 4.5.0

New Features / Improvements

  • Revamp authentication interface
    • Add support for OAuth 2.0 Authorization Code Flow with PKCE
    • Rename OAuthHandler to OAuth1UserHandler (fb6eb7d)
      • OAuthHandler is kept as a deprecated alias (cba7317)
    • Rename AppAuthHandler to Oauth2AppHandler (529d793)
      • AppAuthHandler is kept as a deprecated alias (d4ceb1a)
    • Rename OAuth2Bearer to OAuth2BearerHandler (0781fde)
    • Allow passing access token and secret directly to OAuth1UserHandler.__init__ (99f3583)
      • Note, this changes the callback parameter to be the fifth argument, positionally
    • Allow OAuth2BearerHandler to be used as auth parameter for API (5a2a3fc)
    • Remove AuthHandler (d600c4c)
    • Remove OAuth1UserHandler.get_xauth_access_token (8e2de9f)
    • Update and improve authentication documentation (f9a722b)

... (truncated)

Commits
  • e2cdc5e Release v4.6.0
  • 70f8f18 Add changelog for version 4.6.0
  • 9f10a58 Override Mapping.contains in DataMapping
  • 1ffc8cd Add subscriber_count field for Space
  • 18f9a27 Add version changed directive to documentation for Media.url
  • 68f1eed Merge pull request #1823 from SimkoCarlos/patch-1
  • 4145814 Fix missing comma in streaming.py
  • 0a1e569 Note usage of Twitter API v1.1 in documentation for AsyncStream
  • 86244c1 Add support for streaming with Twitter API v2
  • 92c6a63 Use Intersphinx linking in Streaming documentation
  • 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)
ghost commented 2 years ago

CodeSee Review Map:

Review these changes using an interactive CodeSee Map

Review in an interactive map

View more CodeSee Maps

Legend

CodeSee Map Legend

dependabot[bot] commented 2 years ago

Superseded by #18.