4.5.0
4.4.4
4.4.3
- Add
Twitter::API::Argumentsclass; removeextract_options!helper method - Ensure credentials set via
Twitter.configureare of a valid type - Delegate
Twitter::Tweet#profile_image_urlandTwitter::Tweet#profile_image_url_httpstoTwitter::Tweet#user - Fix timeout bug; lock
faradaydependency to version < 0.10
4.4.2
- Fix to
Twitter::API::FriendsAndFollowers#friendsandTwitter::API::FriendsAndFollowers#followers(@nbraem) - Alias
Twitter::DirectMessage#texttoTwitter::DirectMessage#full_text - Remove
Kernel#calling_method
4.4.1
4.4.0
- Add
Twitter::API::FriendsAndFollowers#friendsandTwitter::API::FriendsAndFollowers#followers(@tibbon) - Add
methodparameter toTwitter::API::Users#users(@thomasjklemm) - Correct endpoint of
Twitter::Client#report_spammethod (@uasi) - Refactor
Twitter::Requestclass - Remove
Arraycore extensions - Remove
Stringcore extensions - Remove
Hashcore extensions - Do not
require 'identity_map'by default - Automatically define inquirer methods
4.3.0
4.2.0
- Use new resource for
Twitter::API#retweets_of_me Twitter::API#favoriteno longer raisesTwitter::Error::ForbiddenTwitter::API#retweetno longer raisesTwitter::Error::Forbidden- Add
Twitter::Error::AlreadyFavorited - Add
Twitter::Error::AlreadyRetweeted
4.1.2
4.1.1
- Fix bug in
Twitter::Tweet#full_text - Add
Twitter::Tweet#favouriters,Twitter::User#favoriters_count, andTwitter::User#favouriters_countaliases
4.1.0
4.0.0
- Update all endpoints to Twitter API v1.1
- Replace
per_pageparameter withcount - Use HTTP POST for
users/lookup - Add error classes for new Twitter API v1.1 response codes
- Cache
screen namein an instance variable to avoid API calls - Update
Twitter::RateLimitclass for API v1.1 - Remove search endpoint
- Remove media endpoint
- Disable identity map by default
- Remove deprecated
RateLimit.instancemethod - Removed deprecated
Twitter::Tweet#oembedmethod - Rename resources for v1.1
- Remove notification methods; use
Twitter::API#friendship_updateinstead - Remove
Twitter::API#end_session - Add
Twitter::Tweet#retweet?method andTwitter::Tweet#retweetalias - Major changes for Twitter API v1.1
- Remove
Twitter::API#no_retweet_ids - Remove
Twitter::API#retweeted_to_user - Remove
Twitter::API#trends_daily - Remove
Twitter::API#trends_weekly - Remove
Twitter::API#rate_limited? - Remove
Twitter::Client#rate_limit - Remove
Twitter::API#rate_limit_status - Remove
Twitter::API#accept - Remove
Twitter::API#deny - Remove
Twitter::API#related_results - Remove
Twitter::API#recommendations - Remove
Twitter::API#network_timeline
3.8.0
- Do not attempt to parse redirects (@twoism)
- Add profile banner methods to
Twitter::Userclass - Add
Twitter::Error::UnprocessableEntity - Add
Twitter::API#update_profile_bannerandTwitter::API#remove_profile_banner - Add
Twitter::Tweet#reply?
3.7.0
- Remove support for
IOhash syntax - Allow
Tempfileto be passed toTwitter::API#update_with_media - Set
Content-Typeheader tomultipart/form-datawhen uploading a file - Do not attempt to parse bodies that only contain spaces
- Add
Twitter::Tweet#entities?method - Add
Twitter::User#status?method
3.6.0
- Rename Twitter::Status to Twitter::Tweet
- Make Twitter::Cursor an Enumerable
- Always define respond_to_missing? when overriding method_missing
3.5.0
- Add
Twitter::API#related_results - Alias
Twitter::API#status_destroytoTwitter::API#tweet_destroy - Alias
Twitter::API#status_activitytoTwitter::API#tweet_activity - Move
IdentityMapKeyErrorunderTwitter::Errornamespace
3.4.1
- Prevent MultiJson::DecodeError error from bubbling up
- Add British aliases for "favorite" methods on
Twitter::Status - Correctly handle
nilresponse body
3.4.0
3.3.1
3.3.0
- Refactor
Twitter::RateLimitclass to be non-global - Combine
Twitter::RateLimit#retry_afterandTwitter::RateLimit#reset_ininto a single method - Create proper interface for
Twitter::IdentityMap - Move
Twitter::PointandTwitter::Polygonclasses underTwitter::Geonamespace - Move
Twitter::Photoclass underTwitter::Medianamespace
3.2.0
- Make identity map configurable
- Decouple identity map from object instantiation
- Make
IdentityMapKeyErrorinherit fromIndexError - Break up
Twitter::Userclass intoTwitter::BasicUser,Twitter::SourceUser,Twitter::TargetUser, andTwitter::User
3.1.0
- Add size option to
Twitter::User#profile_image_urlandTwitter::User#profile_image_url_https - Make object equality more strict
- Pass options from Twitter::Client.user to Twitter::Client.verify_credentials
3.0.0
- All returned hashes now use
Symbolkeys instead ofStringkeys Twitter::Clientmethods now allow multiple arguments and return anArrayTwitter::Client#userscan now return more than 100Twitter::UserobjectsTwitter::Client#searchnow returns aTwitter::SearchResultobject instead of an array ofTwitter::Statusobjects (@wjlroe)Twitter::Client#follownow checks to make sure a user is not already being followed before following- Add
Twitter::Client#follow!to follow a user without checking whether they are already being followed - Add an identity map
- Attempt to pull credentials from the environment when not specified
- Add default timeout options
- Middleware is now specified as a
Faraday::Builder - Faraday errors are now captured and re-raised as a
Twitter::Error::ClientError - Replace
Twitter::Error.ratelimitmethods with the singletonTwitter::RateLimitclass - Remove explicit proxy and user agent configuration
- Remove untested gateway middleware
- Remove deprecated
Twitter::Status#expanded_urlsmethod
2.5.0
2.4.0
Twitter::Userobjects can be used interchangeably with user IDs or screen namesTwitter::Listobjects can be used interchangeably with list IDs or slugs
2.3.0
- Merge
Twitter::Clientmodules into a monolithicTwitter::Clientclass - Add
Twitter::Status#full_text - Add
profile_image_url_httpsaccessor toTwitter::Status(@terryjray) - Make
Status#screen_namereturnfrom_userattribute and vice versa - Add
created_atattribute toTwitter::List - Add ability to pass a user to
Twitter::Client#recommendations - Alias
trendstolocal_trends(@Tricon)
2.2.0
- Don't create a new Faraday instance on every request
- Add
Twitter::Mention#source - Add
Twitter::ListMemeberAdded(@aamerabbas) - Add
entitiesattribute toTwitter::Status(@tomykaira) - Add
Twitter::Client#list_remove_members
2.1.0
- Add
in_reply_to_status_idattribute toTwitter::Status - Remove
twitter-textdependency - Add
Twitter::Status#retweeted_status - Add optional parameter hash to
Twitter::Client#oembed - Fix
Twitter::Statusobject returned byTwitter::Client#retweet - Add
from_user_nameandto_user_nameattributes toTwitter::Status
2.0.0
- Replace
Hashie::Mashwith custom classes and Ruby primitaives - Any instance method that returns a boolean can now be called with a trailing question mark
- The
created_atinstance method now returns aTimeinstead of aString - Replace the
Twitter::Searchclass withTwitter::Client#search - Add object equivalence
- [
Twitter::Client#totalshas been removed. UseTwitter::Client#userinstead]((https://github.com/sferik/twitter/commit/1ad0928a6232324072e8d960242a99949016cf50) Twitter.faraday_optionshas been renamed toTwitter.connection_options- All error classes have been moved inside the Twitter::Error namespace
- Remove support for XML response format
- Remove all deprecated methods
1.7.2
- Update multi_xml dependency to 0.4.0 (@masterkain)
- Add support for passing options directly to faraday (@icambron)
- Deprecate Trends#trends_current and remove the XML response format
1.7.1
- Refactor connection and requests to accept options (@laserlemon)
- Include X-Phx header for internal APIs only (@laserlemon)
1.7.0
- Add
Account#totalsandAccount#settings(@gazoombo) - Add
Activity#about_meandActivity#by_friends - Add
Help#configurationandHelp#language(@anno) - Add
Search#images_facetsandSearch#video_facets - Add
Search#search - Add
Statuses#media_timeline - Add
Tweets#update_with_media(@JulienNakache) - Add
Urls#resolve - Add
User#contributees(@GhettoCode) - Add
User#contributor - Add
User#recommendations - Add
User#suggest_users - Move API version out of endpoint and into path
1.6.2
1.6.1
1.6.0
- Add a custom OAuth implementation (@NathanielBarnes)
- Unify naming of boolean methods
- Add convenience method to determine whether a user exists
- Fully remove
Rash
1.5.0
1.4.1
1.4.0
1.3.0
- Update faraday dependency to version 0.6
- Include response headers when raising an error
- Fix typo in README for accessing friends and followers (@surfacedamage)
1.2.0
- Respect global load path
- Use map and
Hash[]instead ofinject({})(@wtnelson) - Check headers for
Retry-Afterin absence ofretry-after(@wtnelson) - Fix name of
#list_add_membersresource - Don't strip @ signs from screen names
- Make
#places_similarmethod return a token (@nicolassanta)
1.1.2
1.1.1
1.1.0
- Overload all methods that require a
screen_nameparameter (@gabriel_somoza) - Rename
user_screen_nametoscreen_name(@jalada) - Handle error returns from lookup (@leshill)
- Use 'tude' parameter for attitudes (@ALindeman)
- Add Enumerable mixin to Twitter::Search (@ALindeman)
1.0.0
- Fix conditional inclusion of jruby-openssl in Ruby 1.9
- Allow users to pass in screen names with leading '@'
- UTF-8 encode
Utilsmodule - Copy-edit documentation (@dianakimball)
- Add methods to
Searchclass - Changes to
Searchclass - Add proxy support
- Make
#suggestionsmethod consistent with Twitter API documentation - Rename default user agent
- Make all global settings overrideable at the class level
- Expose a property in EnhanceYourCalm for HTTP header "Retry-After" (@duylam)
- Merge
Base,Geo,Trends, andUnauthenticatedintoClientclass (@laserlemon) - Move examples into README
- Rename
Twitter.schemetoTwitter.protocol - Map access key/secret names to SimpleOAuth correctly
- Improved error handling by separating HTTP 4xx errors from HTTP 5xx errors, so HTTP 4xx errors can be parsed first
- Add tests for XML response format
- Switch from httparty to faraday HTTP client library
- Switch from oauth to simple_oauth for authentication (@laserlemon)
- Handle errors in faraday middleware
- Add #NewTwitter methods and tests
- Fix tests that assume position in a
Hash(@duncan) - Enable SSL by default (add option to disable SSL)
- Use HTTP DELETE method instead of HTTP POST for all destructive methods
- Change the method signature for
Base#usersandBase#friendshipsto accept anArrayand an optionsHash - Add
Twitter.profile_imagemethod (@ratherchad) - Improve website style (@rodrigo3n)
- Make request format configurable
0.9.12
- Rename parameters to be less confusing (@rorra)
- Update
usermethod to match the Twitter API docs (@nerdEd) - Add aliases for search methods
- Add
Twitter.user_agentandTwitter.user_agent=methods - Add
Search#localemethod
0.9.11
- Add a
Search#filtermethod (@pjdavis) - Add test to ensure
Search#fetchdoesn't overwrite@query(:q)(@pjdavis) - Add
Search#retweetedandSearch#not_retweetedmethods (@levycarneiro) - Switch from YAJL to MultiJson (@MichaelRykov)
0.9.10
- Specify Twitter API version for all REST API calls
- Parse all responses with YAJL JSON parser
- Ensure that users are tested (@duncan)
- Remove redgreen due to Ruby 1.9 incompatibility (@duncan)
- Make all tests pass in Ruby 1.9 (@duncan)
0.9.9
- Bump dependency versions
- Remove Basic Auth (@rodrigo3n)
- Flatten
ids_or_usernamesbefore iterating (@jacqui) - Add an example to list followers and friends sorted by followers count (@danicuki)
- Add optional query parameter to
list_subscribers - Change trends endpoint to api.twitter.com/1/trends
- Use Bundler
0.9.8
0.9.7
0.9.6
0.9.5
- Saved searches (@zmoazeni)
- Handle null result sets in search more gracefully (@sferik)
- Add
report_spam(@chrisrbailey) - Tests for
friendship_exists?method (@sferik) - Replace JSON parser with YAJL JSON parser (@sferik)
- Cursors for lists (@zmoazeni)
0.9.4
0.9.3
0.9.2
- Make error handling consistent between authenticated and unauthenticated method calls (@sferik)
- Test error handling for unauthenticated methods (@sferik)
0.9.1
- Add cursor to
listsmethod (@sferik) - Add Twitter API version to trends method calls (@sferik)
- Add Twitter API version to unauthenticated method calls (@sferik)
- Remove rubygems dependencies (@sferik)
0.9.0
- Add
Base#retweeters_ofmethod - Add
result_typeto search for popular/recent results - Add
usersmethod for bulk user lookup (@sferik) - Add Twitter API version to authenticated method calls (@sferik)
- Search exclusions (@abozanich)
0.8.6
0.8.5
0.8.4
- Add
queryparameter tomembershipmethod (@mingyeow) - Add
Search#phrasemethod (@zagari) - Add
Trends#availableandTrends#locationmethods
0.8.3
0.8.2
0.8.1
0.8.0
0.7.11
0.7.10
0.7.9
0.7.8
0.7.7
- Fix bug in
list_remove_memberwhen using OAuth - Bump oauth dependency to version 0.3.6
- Add
Base#update_profile_backgroundmethod (@kev_in) - Add
Base#blocked_idsmethod (@rizwanreza) - Add
Search#since_dateandSearch#until_datemethods (@jschairb)
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
- Add
queryparameter tousermethod - Add
ssloptional parameter to use HTTPS instead of HTTP forHTTPAuth - Add
Twitter.status,Twitter.friend_ids, andTwitter.follower_idsmethods
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.3
0.5.2
- Add mash as an install dependency
- Add options to
search - Add missing variables in exception raising
- Add development dependencies to
Rakefileto make that more explicit (@technomancy) - Add workaround for
Mash#hashthat allows using return objects in sets and such (@technomancy)
0.5.1
- Add data error hash returned from Twitter to a few of the exceptions to help with debugging
- Fix bug with
friendship_exists?throwing a stringify keys error because it was returningtrueorfalseinstead of aHashorArray
0.5.0
- Proxy no longer supported (someone please add it back in, I never use proxies)
- Identica support killed with an axe (nothing against them but I don't use it)
- CLI shot to death (will be reborn at a later date using OAuth and its own gem)
0.4.3
0.4.2
0.4.1
- Add better exception handling (@billymeltdown)
- Add
Search#pagemethod (@ivey) - Add an option to display tweets on CLI in reverse chronological order (@coderdaddy)
- Add
in_reply_to_status_idoption for replying to statuses (@anthonycrumley) - [Fix a bug where the @config was improperly set (@pope)
- Fix
verify_credentialsto include a format (@dlsspy)
0.4.0
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
- Add the CLI gems as dependencies until it is separated from the API wrapper
- Add cleaner CLI errors for no active account or no accounts at all
- Add
usernameandpasswordparameters toaddmethod
0.3.1
- Add
openmethod to CLI - Add
-foption to timeline and replies which ignores thesince_idand shows all results - Add
clear_configto remove all cached values - Improved the output of
timelinesandreplies
0.3.0
- Support multiple accounts in CLI and switching between them
- Make
dmethod accept stdin - Add
Status#source,Status#truncated,Status#in_reply_to_status_id,Status#in_reply_to_user_id,Status#favorited, andUser#protectedmethods - Add
Base#friendship_exists?,Base#update_location,Base#update_delivery_device,Base#favorites,Base#create_favorite,Base#destroy_favorite,Base#block, andBase#unblockmethods - Rewrite methods that had
sinceorliteparameters to use aHash
0.2.7
- Add
Base#rate_limit_statusmethod (@danielmorrison) - Add
sourceparameter toBase#post - Add
twittergemas the source when posting from the command-line interface - Raise
Twitter::RateExceededwhen you hit your limit (@jimoleary) - Raise
Twitter::Unavailablewhen Twitter returns 503 - Make
Twitter::CantConnectmessages more descriptive - Make quoting your message optional when posting from the command-line interface (@bcaccinolo)
- Alias
posttopon the command-line interface (@bcaccinolo) - Unescape HTML and add color to the command-line interface (@mileszs)
- Add gemspec (@technoweenie, [@mileszs(https://twitter.com/mileszs))
- Fix stack trace error on first command-line operation (@mrose2n)
0.2.6
0.2.5
- Command-line interface can use
stdinfor posting (@reclusive_geek) $ twitter post 'test without stdin' # => twitters: test without stdin $ echo 'test with stdin' | twitter post 'and an argv(1)' # => twitters: test with stdin and an argv(1) $ echo 'test with stdin without any argv(1)' | twitter post # => twitters: test with stdin without any argv(1)
0.2.4
- Add
liteparameter tofriendsandfollowersmethods, which doesn't include the user's current status (@danielmorrison) - Update
sinceparameter to use HTTP header (@danielmorrison) - Add
sinceparameter ontimelineandrepliesmethods (@danielmorrison)
0.2.3
- Add
dto the command-line interface (@humbucker) - Add progress dots while waiting for confirmation when Twitter is being slow (@HendyIrawan)
0.2.2
0.2.1
0.2.0
- Alias
direct_messagestoreceived_messages - Add
Base#sent_messages,Base#create_friendship,Base#destroy_friendship,Base#featured,Base#replies,Base#destroy, andBase#statusmethods - Add Active Support dependency
- Add
Base#dmethod (@jnewland) - Fix
sinceparameter inBase#direct_messagesmethod (@jnewland)
0.1.1
0.1.0
- Add
Base#dmethod - Add
Base#direct_messagesmethod - Add
Base#featuredandBase#friends_formethods - Add tests
- Remove
relative_created_at
0.0.5
0.0.4
0.0.3
0.0.2
- Add command-line options for
friendandfollower - Improved docs