Twitter4J 4.1.0 released

Twitter4J is back with a major rework.

What’s new in 4.1.0?

  • Require Java 8+
    Java 7 has been EOL’ed. Java 17 is much more fun and productive to work with.
  • Compatible with Java Module System (Java 9+)
    You can just declare ‘require org.twitter4j’ in module-info.java to add dependency to your module.
  • Immutable everywhere
    There is no setters which may cause undesirable behavior in multi-threaded environments. Use builder instead. You can find example codes at Twitter4J/twitter4j-examples/src/main/java/examples/.

What’s next?

Twitter API v2 support is coming.