Tweepy v3.9.0 Release Notes

Release Date: 2020-07-11 // almost 4 years ago
  • ๐Ÿ†• New Features / Improvements

    • Add API.create_media_metadata (#716)
    • โšก๏ธ Update allowed parameters for API.update_status (#1101)
      • Add exclude_reply_user_ids, attachment_url, possibly_sensitive, trim_user, enable_dmcommands, fail_dmcommands, card_uri
      • Remove in_reply_to_status_id_str, source
    • โž• Add allowed parameters to API.get_status
      • trim_user, include_my_retweet, include_entities, include_ext_alt_text, include_card_uri
    • โž• Add allowed parameters to API.statuses_lookup
      • include_ext_alt_text, include_card_uri
    • ๐Ÿ‘Œ Improve API.lookup_users (#706)
    • Improve and optimize API.statuses_lookup, API.create_media_metadata, API.update_status
    • โž• Add reverse as allowed parameter for API.lists_all
    • โž• Add count as allowed parameter for API.lists_memberships
    • โž• Add count as allowed parameter for API.lists_subscriptions
    • Add include_entities as allowed parameter for API.list_timeline
    • โž• Add allowed parameters to API.list_subscribers
      • count, include_entities, skip_status
    • โž• Add support for Python 3.8
    • โšก๏ธ Update and improve setup.py
    • ๐Ÿ‘‰ Use requests socks extra instead of requiring PySocks directly
    • ๐Ÿ‘ Allow uploading of images with file names without extensions (#1060, #1086)
    • ๐Ÿ‘Œ Support uploading WebP images (#1298)
    • โž• Add missing attributes to Relationship model (#1375)
    • โšก๏ธ Update max allowed size for uploaded GIFs (#1336, #1338)
    • โž• Add _json attribute to DirectMessage model (#1342)
    • โšก๏ธ Update and improve tests (#1217)
    • โž• Add documentation for extended Tweets
    • Document API.lookup_users (#539)
    • โž• Add documentation for running tests (#681)
    • โž• Add Korean translation of documentation (#1296)
    • โž• Add Polish translation of documentation (#1316)
    • Document API.lookup_friendships (#1375)
    • ๐Ÿ“š Update and improve various documentation

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix handling of invalid credentials for API.verify_credentials
    • Handle boolean value for API.verify_credentials include_email parameter (#890)
    • Allow Cursor to be used with API.list_direct_messages by adding DMCursorIterator (#1261, #1262)

Previous changes from v3.8.0

  • ๐Ÿ†• New Features / Improvements

    • ๐Ÿ‘ Allow streams to use daemon threads (#1126)
    • Remove API.set_delivery_device (#1203)
    • โœ‚ Remove simplejson import and usage (#832)
    • Allow cursor parameter for API.blocks_ids and API.mutes_ids (#1208)
    • โฌ‡๏ธ Drop support for Python 3.4
    • Allow perform_block parameter for API.report_spam (#1090)
    • โž• Add API.mutes (#1197, #1215)
    • ๐Ÿ‘ Allow count parameter for API.friends (#577)
    • โœ‚ Remove since, from, to, and source as allowed parameters for API.search
    • ๐Ÿ– Handle location deletion and withheld content notices for streams (#886)
    • ๐Ÿ‘ Allow usage of equality and difference operators with User objects (#939)
    • โž• Add _json attribute to Category, Friendship, and List models (#590, #1169)
    • Remove API.suggested_categories, API.suggested_users, and API.suggested_users_tweets
    • โšก๏ธ Update and improve tests and cassettes (#1242)
    • โšก๏ธ Update DirectMessage model (#1081, #1228)
    • Replace API.direct_messages and API.sent_direct_messages with API.list_direct_messages (#1081, #1228)
    • Update API.get_direct_message, API.send_direct_message, and API.destroy_direct_message (#1081, #1228)
    • ๐Ÿ“š Update and improve various documentation

    ๐Ÿ› Bug Fixes

    • Exclude examples during installation (#1141, #1164)
    • Properly initialize OAuthHandler.request_token (#1149)
    • Properly handle map_ parameter for API.statuses_lookup (#598)
    • Support cursor pagination for API.blocks_ids and API.mutes_ids (#930, #931)
    • Return values for API.update_profile_background_image and API.update_profile_banner (#904)
    • Replace usage of root logger
    • Close Requests sessions (#810, #1093, #1237)