This will be the last major and minor version to support Python 2.7 (#1253) and Python 3.5.
The next non-patch release should be version 4.0.0.
New Features / Improvements
- Add
API.search_30_day
andAPI.search_full_archive
(#1175, #1294) - Update allowed parameters for
API.home_timeline
(#1410, #1458)- Add
trim_user
,exclude_replies
,include_entities
- Remove
page
as erroneously documented parameter - Reorder
count
to be the first parameter
- Add
- Update allowed parameters for
API.get_oembed
- Add
hide_thread
,theme
,link_color
,widget_type
,dnt
- Remove
id
- Add
- Remove
API.update_profile_background_image
(#1466) - Add support for Python 3.9
- Switch from Travis CI to GitHub Actions to run tests and deploy releases (#1402)
- Update and improve various documentation
Bug Fixes
- Use
mimetypes.guess_type
as fallback for determining image file type (#1411) - Use proper MIME type in Content-Type header for uploaded images
- Allow
file
parameter to be used again forAPI.media_upload
(#1412, #1413) - Allow
file
parameter to be used again forAPI.update_profile_banner
,API.update_profile_image
, andAPI.update_with_media
(#1475) - Fix
User.lists
,User.lists_memberships
, andUser.lists_subscriptions
to retrieve information about the user in question rather than the authenticating user (#1443, #1444)