AnyEvent-XMPP
view release on metacpan or search on metacpan
Authen::SASL
For SASL authentication
Net::LibIDN
For stringprep profiles to handle JIDs.
Digest::SHA
For component authentication and old-style authentication.
And yes, all these are essential for XMPP communication. Even though
'instant messaging' and 'presence' is a quite simple problem XMPP
somehow was successful at making the task complicated enough to keep me
busy for a long time. But all of that time wasn't only for the
technology required to get it started, mostly it was for all the quirks,
hacks and badly applied "XML" in the protocol which complicated the
matter.
RELEASE NOTES
Here are some notes to the last releases (release of this version is at
top):
Version
* 0.55
Bugfixes, see Changes file.
* 0.54
Add AnyEvent::XMPP::Ext::Receipts, small bugfixes, see Changes file.
* 0.53
Maintenance release. Patches for various small issues, see Changes
file.
* 0.52
Maintenance release.
* 0.51
Maintenance release. Added a patch which fixes Object::Event
compatibility and another fix w.r.t. memory leak in the parser. And
added the original node to AnyEvent::XMPP::IM::Message (thanks go to
mons@cpan.org).
NOTE: Version 0.6 of AnyEvent::XMPP will be API incompatible! If you
are already eager to try the new version out contact me!
* 0.5
Maintenance release. Added a patch from Marcus Dubois for
Ext::Pubsub. Also fixed some memleaks in AnyEvent::XMPP::Parser.
Also wanted to note that the next version of AnyEvent::XMPP will
have an incompatible API. If you are eager to try out the new
complete rewrite of AnyEvent::XMPP contact me.
* 0.4
Minor fixes and feature enhancements: Added old_style_ssl option for
direct port 5223 SSL connections. Providing 'get_own_contact' for
keeping track of own resources.
The AnyEvent::XMPP::Ext::MUC extension was rewritten and provides a
more sane API now.
For details consult the Changes file in the distribution.
* 0.3
Fixed some small bugs and improved documentation a bit, especially
w.r.t. parameter passing of host and ports.
* 0.2
Renamed module from Net::XMPP2 to AnyEvent::XMPP. Net::XMPP2 is
herby deprecated!
Rewrote the low-level socket stuff to use AnyEvent::Socket and
AnyEvent::Handle. Removed blocking write functionality, which can't
be supported that easily with AnyEvent::Handle (however, if you want
to wait until the send-buffer is empty you best use the
"send_buffer_empty" event of AnyEvent::XMPP::Connection).
For more details consult the Changes file of the AnyEvent::XMPP
distribution.
* older
For older release notes please have a look at the Changes file or
CPAN.
TODO
There are still lots of items on the TODO list (see also the TODO file
in the distribution of AnyEvent::XMPP).
TEST SUITE
If you are a developer and want to test either a server or maybe just
whether this module passes some basic tests you might want to run the
developer test suite.
This test suite is not enabled by default because it requires some human
interaction to set it up, please see AnyEvent::XMPP::TestClient for
hints about the setup procedure for the test suite.
I wrote the test suite mostly because I wanted to make sure I didn't
break something essential before a release. The tests don't cover
everything and I don't plan to write a test for every single function in
the API, that would slow down development considerably for me. But I
hope that some grave show stopper bugs in releases are prevented with
this test suite.
The tests are also useful if you want to test a server implementation.
But there are maybe of course conformance issues with AnyEvent::XMPP
itself, so if you find something where AnyEvent::XMPP doesn't conform to
the XMPP RFCs or XEPs consult the BUGS section below.
If you find a server that doesn't handle something correctly but you
need to interact with it you are free to implement workarounds and send
me a patch, or even ask me whether I might want to look into the issue
( run in 0.741 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )