What's new in tweepy 3.3.0
Feb 23, 2015
- Loosen our dependency requirements for Requests (>= 2.4.3)
- Fix issue with streams freezing up on Python 3 (Issue #556)
- Add keep_alive() callback to StreamListener when keep alive messages arrive
- Fix issue with stream session headers not being used when restarting connection
- Fix issue with streams getting stuck in a loop when connection dies. (PR #561)
New in tweepy 3.2.0 (Jan 29, 2015)
- Remove deprecated trends methods.
- Fix tweepy.debug() to work in Python 3.
- Fixed issue #529 - StreamListener language filter stopped working.
- Add Documentation Page for streaming.
- Add media/upload endpoint.
- Add media_ids parameter to update_status().
New in tweepy 3.1.0 (Jan 16, 2015)
- Allow specifying your own ssl certificates for streaming client.
- Distribute Python Wheels instead of dumb binaries.
- Fix cursor invocation, passing args to underlying method. (#515)
- Upgrade to Request 2.4.3
New in tweepy 3.0 (Jan 16, 2015)
- Added multiple list members operation api methods (add_list_members, remove_list_members).
- Added sitestream endpoint.
- Switch to using Requests instead of httplib.
- Fully removed support for non-secure HTTP.
- Proxy support.
- Add API method for /statuses/lookup.json
- Add missing 'count' parameter to followers_ids
- Added allowed_param to update_profile_image
- Comparison between Status objects
- Extend on_data method by including a conditional to process warning messages and add the definition of the method to manage those warning messages
- Better Python 3 support.
New in tweepy 2.2 (Aug 29, 2013)
- Added update_profile_banner endpoint.
- Don't treat HTTP status codes in 200 range as errors.
- Tests no longer packaged into egg releases.
- Improve test stability and enable CI testing on pull requests.
- Removed Basic Auth.
- Use built-in timeout feature of httplib to fix appengine.
- Added retweeters() endpoint.
- Removed deprecated retweeted_by and retweeted_by_ids.
- Improved datetime parsing. Should be more thread safe.
- Enable coverage reporting. Upload reports to Coveralls. https://coveralls.io/r/tweepy/tweepy
- Removed deprecated test() endpoint.
- New stream listeners callback on_disconnect(). Called whenever
- "disconnect" messages arrive from Twitter before connection is killed. https://dev.twitter.com/docs/streaming-apis/messages#Disconnect_messages_disconnect
- [Compare View](https://github.com/tweepy/tweepy/compare/2.1...2.2)
New in tweepy 2.1 (Jul 15, 2013)
- Fix a bug in cursors and tweak tests.
New in tweepy 2.0 (Mar 26, 2013)
- Twitter API 1.1 support.
- Basic Authentication deprecated.
- friends_timeline() removed.
- mentions() removed and replaced by mentions_timeline().
- retweeted_by_user() removed.
- retweeted_by_me() removed.
- retweeted_to_me() removed.
- retweeted_by_user() removed.
- friends() removed.
- followers() removed.
- enable_notifications() removed.
- disable_notifications() removed.
- exists_block() removed.
- lists() removed and replaced by lists_all().
- is_list_member() removed.
- show_list_member added.
- is_subscribed_list() removed.
- show_list_subscriber() added.
- trends_location() removed.
- nearby_places() removed.
New in tweepy 1.2 (Oct 19, 2009)
- API:
- Added automatic request re-try feature
- Example: API.friends(retry_count=5, retry_delay=10)
- Retry up to 5 times with a delay of 10 seconds between each attempt.
- See tutorial/t4.py for more an example.
- Added cursor parameter to API.friends and API.followers methods.
- Note: page parameter is being deprecated by twitter on 10/26
- Update parsing to handle cursor responses.
- When using 'cursor' parameter, the API method will return
- a tuple with this format: (data, next_cursor, prev_cursor)
- Calls not using the 'cursor' parameter are not changed in the way they return.
- API.friends_ids and API.followers_ids now return a list of integers.
- Parser updated to handle cursor responses. See above.
- Fix Status.source_url parsing
- Fix search result 'source' parsing to properly unescape html and extract source
- Added report_spam method
- Cursor:
- Added the Cursor object to help with pagination within the API.
- Please see the pagination tutorial for more details (tutorial/t6).
- This is the recommended way for using the 'page' and 'cursor' parameters.
- Models:
- Status: added retweet, favorite and retweets methods
- (NOTE: retweet API not live yet on twitter)
- Python 2.4 support
- Update OAuth bundled library.
- Logging removed. Having our own mini-logging system just feels like overkill. Turns out it was not really needed that much. Simply just exposing the last HTTPResponse object should be good enough for most debugging.