twython v2.8.0 Release Notes
Release Date: 2013-04-29 // almost 11 years ago-
- ➕ Added a
HISTORY.rst
to start tracking history of changes - ⚡️ Updated
twitter_endpoints.py
toendpoints.py
for cleanliness - ✂ Removed twython3k directory, no longer needed
- ➕ Added
compat.py
for compatability with Python 2.6 and greater - Added some ascii art, moved description of Twython and
__author__
to__init__.py
- ➕ Added
version.py
to store the current Twython version, instead of repeating it twice -- it also had to go into it's own file because of dependencies ofrequests
andrequests-oauthlib
, install would fail because those libraries weren't installed yet (on fresh install of Twython) - ✂ Removed
find_packages()
fromsetup.py
, only one package (we can just define it) - ➕ added quick publish method for Ryan and I:
python setup.py publish
is faster to type and easier to remember thanpython setup.py sdist upload
- Removed
base_url
fromendpoints.py
because we're just repeating it inTwython.__init__
Twython.get_authentication_tokens()
now takescallback_url
argument rather than passing thecallback_url
throughTwython.__init__
,callback_url
is only used in theget_authentication_tokens
method and nowhere else (kept in init though for backwards compatability)- ⚡️ Updated README to better reflect current Twython codebase
- ➕ Added
warnings.simplefilter('default')
line intwython.py
for Python 2.7 and greater to display Deprecation Warnings in console - Added Deprecation Warnings for usage of
twitter_token
,twitter_secret
andcallback_url
inTwython.__init__
- Headers now always include the User-Agent as Twython vXX unless User-Agent is overwritten
- ✂ Removed senseless TwythonError thrown if method is not GET or POST, who cares -- if the user passes something other than GET or POST just let Twitter return the error that they messed up
- ✂ Removed conversion to unicode of (int, bool) params passed to a requests.
requests
isn't greedy about variables that can't be converted to unicode anymore - ✂ Removed
bulkUserLookup
(please uselookupUser
instead), removedgetProfileImageUrl
(will be completely removed from Twitter API on May 7th, 2013) - ⚡️ Updated shortenUrl to actually work for those using it, but it is being deprecated since
requests
makes it easy for developers to implement their own url shortening in their app (see https://github.com/ryanmcgrath/twython/issues/184) - 👀 Twython Deprecation Warnings will now be seen in shell when using Python 2.7 and greater
- 0️⃣ Twython now takes
ssl_verify
parameter, defaults True. Set False if you're having development server issues - Removed internal
_media_update
function, we could have always just usedself.post
- ➕ Added a