Noteworthy changes in this release
- Commands now throw exceptions instead of returning
null
if they fail, giving you easier access to the TS3 error ID and message
- Switched to using SLF4J as a logging interface
- If you're downloading the JAR file from this page, there should only be minor visual differences. This JAR file already includes a default, configured logging framework.
- If you're using Maven or Gradle, you'll either need to provide a logging framework (e.g. Log4j 2, Logback, etc.) or just use the default implementation using slf4j-simple by using the
-with-dependencies
artifact.
Maven: Add <classifier>with-dependencies</classifier>
after the "version" tag.
Gradle: Append , classifier: 'with-dependencies'
after the "version" attribute.
- Completely refactored command classes, fixing lots of bugs in the process.
- Implemented a new connection timeout system. We finally have fully working timeouts again!
- Fixed some concurrency issues in TS3Query, CommandFuture, and EventManager
- Each event handler is now only called sequentially and events are guaranteed to be in-order.
That means that synchronization is no longer needed when accessing fields that are not shared outside the event handler. Different TS3Listener objects can still run in parallel, though!
- Added some convenience methods to TS3Api and TS3ApiAsync
- Lots of internal changes, bug fixes and other small improvements
Get this release
Maven:
<dependency>
<groupId>com.github.theholywaffle</groupId>
<artifactId>teamspeak3-api</artifactId>
<version>1.1.0</version>
</dependency>
Gradle:
compile group: 'com.github.theholywaffle', name: 'teamspeak3-api', version: '1.1.0'