<< April 2009 | Home | June 2009 >>

Twitter4J 2.0.6 released

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.0.6 is now available for download.



This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/


Here is the complete list of fixes included in version 2.0.6
Release Notes - Twitter4J - Version 2.0.6

Bug

  • [TFJ-157] - getUserTimeline should be invocable from unauthenticated Twitter instances
  • [TFJ-158] - Query.setGeoCode() is missing radius parameter

Task

  • [TFJ-155] - several async methods need to be marked as deprecated

Twitter4J 2.0.5 released

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.0.5 is now available for download.



This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/


Here is the complete list of fixes included in version 2.0.5
Release Notes - Twitter4J - Version 2.0.5

Bug

  • [TFJ-150] - REGRESSION : enableNotification() fails with TwitterException: 404:The URI requested is invalid or the resource requested, such as a user, does not exists.
  • [TFJ-151] - several test cases fail on JDK1.4.2 with java.lang.NoSuchMethodError
  • [TFJ-153] - OAuth rarely fails with "Invalid / used nonce"

Improvement

  • [TFJ-154] - search() with old since_id throws TwitterException

Twitter4J 2.0.4 released - added Streaming API support

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.0.4 is now available for download.



This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/

All applications using version 2.0.1 or earlier are strongly suggested to migrate to this release in order to take advantage of the gzip compression feature introduced in version 2.0.2.

Previous versions have a compatibility issue with OAuth since May 13th.
Projects requiring OAuth support need to migrate to this version.

Compatibility notes:
- retirement of ExtendedUser class
Following methods return User, or List instead of ExtendedUser, or List:
getUserDetail()
verifyCredentials()
updateProfile()
updateProfileColors()
getBlockingUsers()
getAuthenticatedUser()

The method signatures of TwitterListener and TwitterAdapter are changed accordingly.

"ExtendedUser" and "UserWithStatus" class are retired(deleted) since the API returns extended user information with all methods.
Use "User" class instead.

- Streaming API support
Now Twitter4J supports the Streaming API which is in alpha test phase.
http://apiwiki.twitter.com/Streaming-API-Documentation
http://apiwiki.twitter.com/Streaming-API-Documentation
Please read the above document from top to bottom carefully before you dive into TwitterStream.
Note that the Streaming API is subject to change.

Here is the complete list of fixes included in version 2.0.4
Release Notes - Twitter4J - Version 2.0.4

Bug

  • [TFJ-142] - DocumentBuilder.parse is not thread safe : NullPointerException at AbstractDOMParser.startElement
  • [TFJ-145] - twitter4j.http.Response shouldn't be Serializable
  • [TFJ-146] - getUserDetail should be invocable from unauthenticated Twitter instances
  • [TFJ-149] - OAuth fails with "Invalid / expired Token" after May 13, 2009

Improvement

  • [TFJ-147] - retire ExtendedUser and UserWithStatus

New Feature

  • [TFJ-139] - streaming API support beta
  • [TFJ-144] - Add methods to retrieve blocking information

Task

  • [TFJ-143] - Deprecation of following and notification elements

Twitter4J 2.0.3 released - fixed JDK1.4.2 / Processing compatibility issue

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.0.3 is now available for download.



This version will be available in the Maven central repository in 24 hours.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/

All applications using version 2.0.1 or earlier are strongly suggested to migrate to this release in order to take advantage of the gzip compression feature introduced in version 2.0.2.

No new features are introduced in this release since version 2.0.2.

Here are the list of fixes included in version 2.0.3
Release Notes - Twitter4J - Version 2.0.3

Bug

  • [TFJ-135] - search() causes : java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".."
  • [TFJ-136] - running Twitter4J on JDK1.4.x fails with java.lang.NoSuchMethodError: org.w3c.dom.Node.getTextContent()Ljava/lang/String;

Task

  • [TFJ-137] - deprecate getDowntimeSchedule() since it's not supported by the Twitter API anymore
  • [TFJ-138] - add @deprecated annotation to deprecated methods in TwitterAdapter

Twitter4J 2.0.2 released - adding trends api support, gzip support for faster performance

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.0.2 is now available for download.



This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
Until then, you may use the snapshot repository instead.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/

All applications using prior versions are strongly suggested to migrate to this release in order to take advantage of the gzip compression feature which is twitter.com friendly.

Major features introduced in this release:
- trends API support
Finally Twitter4J supports trends APIs which tells you what is hot in twitter.com.
http://yusuke.homeip.net/twitter4j/en/api-support.html#Search%20API%20Methods
- gzip support
As of Twitter4J 2.0.2, it interacts with twitter.com using gzip compression method.
No additional configuration, nor coding is required.
T4J will start talking to twitter.com in faster and network/twitter.com friendly manner by just using Twitter4J 2.0.2.

Here are the list of fixes included in version 2.0.2
Release Notes - Twitter4J - Version 2.0.2

Improvement

  • [TFJ-131] - Use gzip encoding to improve performance and network bandwidth utilization
  • [TFJ-132] - handle http response codes correctly to reduce unnecessary retries

New Feature

  • [TFJ-120] - include rate limit status in TwitterResponse
  • [TFJ-123] - support trends methods
  • [TFJ-124] - support update_profile method
  • [TFJ-133] - need a way to shutdown async thread gracefully

Twitter4J 2.0.1 released, confirmed Google App Engine compatibility

Twitter4J is an open-sourced, mavenized and Google App Engine safe New! Java library for the Twitter API which is released under the BSD license.

Twitter4J 2.0.1 is now available for download.



This version is already available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/


Here are the list of fixes included in version 2.0.1.
Release Notes - Twitter4J - Version 2.0.1

Improvement

  • [TFJ-110] - remove unnecessary synchronized modifier for better multi-thread performance
  • [TFJ-111] - support page and max_id parameters with getUserTimeline()
  • [TFJ-112] - introduce pagenation control class which replaces page, count, and since_id parameters
  • [TFJ-121] - support follow parameter with create() method
  • [TFJ-122] - need a way to get AccessToken in a stateless context where RequestToken instance is not available
  • [TFJ-126] - dispatcher thread should be held statically
  • [TFJ-130] - fix method name inconsistencies

New Feature

  • [TFJ-117] - support statuses/mentions
  • [TFJ-125] - introduce a System property that specifies number of dispatcher thread
  • [TFJ-128] - support pagination on social graph methods
  • [TFJ-129] - introduce async search method

Task

  • [TFJ-119] - rename follow() / leave() to enableNotification() / disableNotification(), create() / destoy() to createFriendship() / destroyFriendship()