前言Smack是著名的开源XMPP客户端库,另一个开源IM全功能客户端Spark就是基于此库编写的(Spark或其修改版被众多国内中小企业作为内部沟通工具),2017年3月21日Smack正式发布了4.2.0版,此版为主要更新版。 更新内容Sub-task- [SMACK-639] - Add support for pre-approved subscription requests (RFC 6121 § 3.4)
Bug- [SMACK-306] - loadRosterOnLogin has non-trivial side effect on getRoster
- [SMACK-416] - Refactor PEP to make it use the existing pubsub API.
- [SMACK-674] - PubSub Affiliation extension element is missing 'jid' attribute, and is using wrong element name 'subscription'
- [SMACK-682] - Add support for "XEP-0360: Nonzas (are not Stanzas)"
- [SMACK-683] - Using a Proxy with XMPPTCPConnection failes with "SocketException: Unconnected sockets not implemented"
- [SMACK-691] - Add support for MUCItem's Actor 'nick'
- [SMACK-705] - PubSub's Affiliation.getElementName() returns wrong name
- [SMACK-722] - SASL X-OAUTH2 implementation incorrectly performs Base64 encoding twice
- [SMACK-723] - Support "Caps Optimizations" (XEP-0115 § 8.4)
- [SMACK-724] - Do not re-use the Socket after connect() failed.
- [SMACK-725] - ReconnectionManager should handle AlreadyConnectedException and AlreadyLoggedInException not as failure
- [SMACK-741] - Ad-hoc command 'note' element 'type' attribute should be treated as optional
- [SMACK-745] - Memory leak in MultiUserChat
New Feature- [SMACK-366] - Add support for DNSSEC.
- [SMACK-610] - Add support for XEP-0080: User Location
- [SMACK-619] - Add roomDestroyed to MUC UserStatusListener
- [SMACK-625] - Add support for XEP-313: Message Archive Management
- [SMACK-675] - Add support for PubSub affiliation actions as owner
- [SMACK-677] - Add support for SASL 'authzid' (Authorization Identity)
- [SMACK-690] - Add support for DNS-Based Authentication of Named Entities (DANE, RFC 6698)
- [SMACK-731] - Add support for XEP-0191: Blocking Command
- [SMACK-732] - Smack should be able to handle "single equals sign" SASL responses
- [SMACK-740] - Add support for Multi-User Chat Light
- [SMACK-742] - Add support for XEP-0133: Service Administration
- [SMACK-747] - Add support for XEP-0363: HTTP File Upload
Task- [SMACK-638] - Call connection creation listeners from within AbstractXMPPConnection's constructor
- [SMACK-644] - Throw exception if account creation or password change is performed over insecure connections
- [SMACK-655] - Enable StreamManagement by default
Improvement- [SMACK-372] - Make package protected methods in PEPItem public
- [SMACK-572] - Rejoin MUC rooms after reconnect
- [SMACK-628] - Rework Roster handling with anonymous connections
- [SMACK-629] - Rework how Smack handles anonymous connections
- [SMACK-631] - Improve ParsingExceptionCallback, allow it to be a functional interface
- [SMACK-632] - Make Smack interruptible
- [SMACK-633] - Allow clean and graceful disconnects (stream closing)
- [SMACK-634] - Use jxmpp-jid, add Jid class to replace String's being used as JIDs
- [SMACK-646] - Add support for MUC roomnick rewrite
- [SMACK-647] - Don't automatically call login() on connect() if the connection was authenticated before
- [SMACK-648] - Improve MultiUserChat API
- [SMACK-657] - Rename RosterEntry.getStatus and RosterPacket.ItemStatus to ItemAskStatus
- [SMACK-663] - Roster should be fully loaded when Roster.getInstanceFor(XMPPConnection) is called with a authenticated connection
- [SMACK-665] - Rename 'serviceName' to 'xmppServiceDomain'
- [SMACK-666] - Typo in 'RosterEntries.rosterEntires()', change to 'RosterEntries.rosterEntries()'
- [SMACK-703] - Limit the stored presences of entities not in Roster
- [SMACK-704] - Pass down Message stanza in ChatStateListener
- [SMACK-711] - Improve the logging of TCP connection attempts.
- [SMACK-720] - Improve support for Tor and Hidden Services.
- [SMACK-721] - Report illegal Stream Management states to avoid OOM Exception
- [SMACK-727] - Add partial support for the IoT XEPs (XEP-0323, -0324, -0325, -0347)
- [SMACK-733] - Handle outgoing 'unavailable' Presences in Roster
- [SMACK-736] - Add support for Chat Markers (XEP-0333)
- [SMACK-737] - Add support for Bits of Binary (XEP-0231)
- [SMACK-738] - Add support for Push Notifications (XEP-0357)
下载地址 |