I've released version 0.7.3 of the Java XMPP library.
This is primarily a "bug fix and improvements" release and is compatible with previous 0.7.x releases. Here's the changelog:
- Use single equals sign (“=”) for zero-length data in SASL, as per RFC 6120 § 6.4.2
- Allow configuring a custom stream host and skip proxy discovery then for SI file transfer.
- Implement WebSocket pings/pongs.
- Fix WebSocket’s proxy URI construction.
- Use connect timeout for WebSocket connections.
- XEP-0198: Send an ack right before gracefully closing the stream (i.e. update to version 1.5.2).
- MUC Room “enter” events should fire for oneself entering the room as well.
- Use
java.text.Collator for String-based default comparison.
- XEP-0066: Use URI instead of URL.
- Fix XMPP Ping in External Components, which broke the connection.
Jid.asBareJid returns this if it is already bare, reducing GC pressure.
connect() method should not throw CancellationException
- Check if the connection has been secured (if configured) before starting to authenticate.
Maven coordinates
<dependency>
<groupId>rocks.xmpp</groupId>
<artifactId>xmpp-core-client</artifactId>
<version>0.7.3</version>
</dependency>
<dependency>
<groupId>rocks.xmpp</groupId>
<artifactId>xmpp-extensions-client</artifactId>
<version>0.7.3</version>
</dependency>