默认
即时通讯网 资讯 [动态] XMPP开源IM客户端库Smack发布4.2版
即时通讯网 首页 资讯 查看内容
想开发IM:买成品怕坑?租第3方怕贵?找开源自已撸?尽量别走弯路了... 找站长给点建议

[动态] XMPP开源IM客户端库Smack发布4.2版

JackJiang · 7 年前 | 阅读(22268)· 评论(0) 转发 收藏1

摘要 Smack是著名的开源XMPP客户端库,另一个开源IM全功能客户端Spark就是基于此库编写的,2017年3月20日Smack正式发由了4.2.0版。

前言

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)

下载地址

下载地址点此进入:http://www.igniterealtime.org/downloads/

即时通讯网 - 即时通讯开发者社区! 来源: - 即时通讯开发者社区!

0 推荐

相关阅读

最新评论

返回顶部