Tweepy v3.9.0 Release Notes
Release Date: 2020-07-11 // about 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
- โ 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 forAPI.lists_all
- โ Add
count
as allowed parameter forAPI.lists_memberships
- โ Add
count
as allowed parameter forAPI.lists_subscriptions
- Add
include_entities
as allowed parameter forAPI.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 toDirectMessage
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
- Add
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 forAPI.blocks_ids
andAPI.mutes_ids
(#1208) - โฌ๏ธ Drop support for Python 3.4
- Allow
perform_block
parameter forAPI.report_spam
(#1090) - โ Add
API.mutes
(#1197, #1215) - ๐ Allow
count
parameter forAPI.friends
(#577) - โ Remove
since
,from
,to
, andsource
as allowed parameters forAPI.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 toCategory
,Friendship
, andList
models (#590, #1169) - Remove
API.suggested_categories
,API.suggested_users
, andAPI.suggested_users_tweets
- โก๏ธ Update and improve tests and cassettes (#1242)
- โก๏ธ Update
DirectMessage
model (#1081, #1228) - Replace
API.direct_messages
andAPI.sent_direct_messages
withAPI.list_direct_messages
(#1081, #1228) - Update
API.get_direct_message
,API.send_direct_message
, andAPI.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 forAPI.statuses_lookup
(#598) - Support cursor pagination for
API.blocks_ids
andAPI.mutes_ids
(#930, #931) - Return values for
API.update_profile_background_image
andAPI.update_profile_banner
(#904) - Replace usage of root logger
- Close Requests sessions (#810, #1093, #1237)