红联Linux门户
Linux帮助

Smack 4.0正式发布,XMPP客户端开发包

发布时间:2014-06-09 09:01:02来源:红联作者:empast
Smack 4.0 正式发布,该版本进行大量的重构以及底层系统的一些调整,包括使用 Gradle 替代 Ant,使用 Git 替代 SVN 等。同时该版本包含安全方面的更新,建议尽快升级。

升级指南:https://community.igniterealtime.org/docs/DOC-2703

详细改进记录:

Sub-task
[SMACK-399] - Add support for Roster Versioning (was XEP-0237, now in RFC 6121)

[SMACK-400] - Change xml-not-well-formed to not-well-formed

[SMACK-401] - Remove

[SMACK-445] - XMPPError class is based on deprecated XEP-0086

Bug
[SMACK-357] - Error in SASL authentication when SASL authzid parameter is null

[SMACK-410] - Any valid SSL server certificate can be used to perform a man-in-the-middle attack

[SMACK-411] - ServiceDiscoveryManager identities should be non-static and kept in a Set to allow multiple identities as per XEP-30

[SMACK-414] - Smack does not announce the support for XEP-54 aka vcard-temp

[SMACK-427] - Typo in code - StreamInitiation.setSesssionID()

[SMACK-467] - Don't use the default locale for machine-readable output, use Locale.US instead

[SMACK-531] - Add missing namespace attribute to XHTML-IM body tags

[SMACK-533] - Smack should prevent IQ response spoofing

[SMACK-535] - jul.properties should only configure the 'org.igniterealtime' namespace

[SMACK-538] - ParseRoster does not check the sender of the roster and for pending roster queries

[SMACK-541] - XHTMLExtensionProvider relies on incorrect behavior of MXParser, violating the contract of the XMLPullParser interface

[SMACK-543] - packet.Time is not thread-safe

[SMACK-546] - PubSub's Item needs to escape its XML payload

[SMACK-548] - PingManager notifies pingFailedListeners multiple times

[SMACK-551] - ChatManager throws NPE, when Message has no 'from' attribute

[SMACK-554] - Memory leak in BookmarkManager

[SMACK-555] - VCardProvider should consider some elements as optional

[SMACK-558] - connect() must wait until the stream features have been parsed

[SMACK-559] - Roster entries without a group are not updated

[SMACK-560] - Race condition in PacketWriter

[SMACK-567] - XMPPConnection leaks listenerExecutor ExecutorService

Improvement
[SMACK-343] - Make Smack jar an OSGi bundle.

[SMACK-356] - There is no way to reliably end a Chat and have a new one created.

[SMACK-454] - Follow XEP-0170 recommendation: Compression before Resource Binding

[SMACK-459] - Add option to configure the default identity in ServiceDiscoveryManager

[SMACK-465] - Replace custom wrapped Throwable in XMPPException with Exception.cause

[SMACK-468] - Don't throw an IOException in IBBStreams when the stream got closed by the remote

[SMACK-536] - JUL Loggers should become final

[SMACK-537] - Move XMPP Ping code to smackx, add keep-alive functionality to PingManager

[SMACK-545] - Change API to the style mentioned in Smack's Code Guidelines

[SMACK-547] - Consistent behavior for "from" attribute on outgoing stanzas

[SMACK-556] - Make ConnectionConfigration getters public

[SMACK-557] - Provide a MultiUserChat method to create *or* join a room

[SMACK-568] - Don't exclude groupchat messages without body element in MultiUserChat MessageListeners

New Feature
[SMACK-53] - Add support for XEP-0092: Software Version

[SMACK-71] - Create new FromFilter that checks for exact matching

[SMACK-187] - Add HTTP Binding support (BOSH / XEP-0124)

[SMACK-265] - Move to a newer build process with artifacts published to maven central repo

[SMACK-426] - Improve XMPPException

[SMACK-544] - Add support for XEP-0079: Advanced Message Processing

[SMACK-552] - Add support for "HTTP over XMPP transport" aka. XEP-0332

Task
[SMACK-371] - Some MUC tasks are using stanza's as defined in an older version of the spec. Fails to work on some servers.

[SMACK-432] - Code cleanup of deprecated methods

[SMACK-446] - Remove non-SASL authentication code

项目主页:http://www.igniterealtime.org/projects/smack/

下载地址:http://www.igniterealtime.org/downloads/index.jsp

来自:开源中国社区
文章评论

共有 0 条评论