Twitter4J 2.1.1 is out! - with Geo Methods support, improved Android compatibility and more..
Twitter4J is an open-sourced, mavenized and Google App Engine safe Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.1.1 is now available for download.
This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/org/twitter4j/
You can also use the snapshot repository.
http://twitter4j.org/maven2/org/twitter4j/
Release Notes - Twitter4J - Version 2.1.1
Bug
- [TFJ-221] - changing the filter statement causes TwitterException
- [TFJ-296] - TwitterException: -1 on Android platform
- [TFJ-305] - retry interval seconds is unnecessarily multiplied by 1000
- [TFJ-308] - UserList.isPublic() always returns false
- [TFJ-310] - TwitterStream methods are declared to throw TwitterException unnecessarily
- [TFJ-311] - TwitterStream methods are declared to throw TwitterException unnecessarily
- [TFJ-321] - infinite loop in TwitterStream, results 100% cpu utilization
Improvement
- [TFJ-148] - ability to plugin logging frameworks : SLF4J / commons-logging / log4j
- [TFJ-260] - follow recommended re-connection policy documented in the Streaming API documentation
- [TFJ-271] - JAVA_HOME should not be hard-coded in setEnv.cmd
- [TFJ-291] - TwitterException.getStatusCode() returns -1 when the account exceeds its rate limit
- [TFJ-292] - clear javadoc warnings
- [TFJ-294] - TwitterListener better to have references of TwitterMethod fields for ease of coding
- [TFJ-295] - getOAuthAccessToken should throw IllegalStateException when no request token is available.
- [TFJ-297] - configure Twitter4J without specifying any system property
- [TFJ-300] - Introduce User.getStatus() deprecate all other status related getters
- [TFJ-301] - TwitterFactory should return strongly typed object for SpringFramwork friendliness
- [TFJ-307] - add bin/oauthUpdate.sh/cmd
- [TFJ-309] - move twitter4j.conf/http/logging/org.json to twitter4j.internal.*
- [TFJ-318] - OAuthAuthorization.toString() / BasicAuthorization.toString() shouldn't include consumerSecret / password in the result
- [TFJ-319] - twitter4j.internal.http.HttpResponse#asJSONObject calls asString() unnecessarily
- [TFJ-323] - getOAuthAccessToken should return a cached access token instead of throw an IllegalStateException in the case the instance is already OAuth'ed
New Feature
- [TFJ-204] - Support locale, max_id, since and until parameter for Search API
- [TFJ-233] - support local trends methods
- [TFJ-241] - async support of list methods
- [TFJ-242] - async support of list subscribers methods
- [TFJ-243] - async support of list members methods
- [TFJ-302] - introduce Twitter.getScreenName() & Twitter.getId()
- [TFJ-303] - xauth support (acquiring Access token with Basic credentials)
- [TFJ-306] - support links stream
- [TFJ-312] - streaming API example
- [TFJ-313] - make TwitterFactory(Configuration) public
- [TFJ-317] - Geo methods support
- [TFJ-320] - support users/lookup
- [TFJ-322] - support users/suggestions users/suggestions/slug
Task
- [TFJ-222] - separate examples classes from Twitter4J core project
- [TFJ-225] - setup twitter4j.org
- [TFJ-304] - include "Powered by" badge in the distribution
| Tweet |
Re: Twitter4J 2.1.1 is out! - with Geo Methods support, improved Android compatibility and more..
From http://repo1.maven.org/maven2/org/twitter4j/:
JARs & signatures loaded from http://twitter4j.org/maven2/org/twitter4j/ are OK.
- Given MD5 & SHA1 signatures <span style="font-weight: bold;">don't match</span> the ones I can compute (wth the MS File Checksum Integrity Verifier tool).
- Note that given signatures for the 2.1.0 set of JARs are OK.
JARs & signatures loaded from http://twitter4j.org/maven2/org/twitter4j/ are OK.
Re: Twitter4J 2.1.1 is out! - with Geo Methods support, improved Android compatibility and more..
In 2.1.0, the Twitter class was not final and allowed me to extend it for testing purposes.
See my MockTwitter extension, for example, from my open source library with various tools to ease the Web application development.
In 2.1.1, many classes are now final: I cannot derive the Twitter class, neither the TwitterFactory one.
I understand the security concern but that breaks the possibility to test in isolation with Mock object (as illustrated in the chapter 7 of JUnit in action).
Any suggestion of an alternative?
A+, Dom
See my MockTwitter extension, for example, from my open source library with various tools to ease the Web application development.
In 2.1.1, many classes are now final: I cannot derive the Twitter class, neither the TwitterFactory one.
I understand the security concern but that breaks the possibility to test in isolation with Mock object (as illustrated in the chapter 7 of JUnit in action).
Any suggestion of an alternative?
A+, Dom