v4.13.0
版本发布时间: 2023-03-10 01:20:11
tweepy/tweepy最新发布版本:v4.14.0(2023-04-25 06:16:52)
New Features / Improvements
- Add
verified_type
field forUser
(9f7afae)
Twitter API Backwards-Incompatible Changes
- Remove streaming methods using retired Twitter API v1.1 features (0cd96b1)
- Twitter API v1.1 statuses/sample endpoint
-
Stream.sample
-
AsyncStream.sample
-
- Compliance messages on the Twitter API v1.1 statuses/filter endpoint
-
Stream.on_delete
,Stream.on_scrub_geo
,Stream.on_status_withheld
,Stream.on_user_withheld
-
AsyncStream.on_delete
,AsyncStream.on_scrub_geo
,AsyncStream.on_status_withheld
,AsyncStream.on_user_withheld
-
- Twitter API v1.1 statuses/sample endpoint
Twitter API Deprecations
- Deprecate streaming with Twitter API v1.1 statuses/filter endpoint (8b9c547)
-
Stream
-
AsyncStream
-
Bug Fixes
- Return base class method values in
StreamingClient._process_data
andAsyncStreamingClient._process_data
methods (2744073) - Handle empty payloads in
JSONParser.parse
(e854138, #2051)
Twitter API Bug Handling
- Handle incorrect processing state for errored chunked uploads (a68ce86)
Misc
- Support async-lru v2 (f98b345)
- Document specific expansions available for each type of payload (7df6453)
- Add documentation for Direct Message events (c689548)
- Update documentation for
dm_event_fields
parameter (e2fb467) - Add section in documentation about
dm_event_fields
parameter (4b0fa90) - Add expansions documentation for Direct Message conversation events (#2009)
- Add note in documentation about removal of
Tweet
source
field (5d22a01) - Add SECURITY.md (b79a1db, 3d3d58e)
- Update copyright years to include 2023 (ccc9526)