[jdev] [ANN] XMPP4R 0.4

Stephan Maka stephan at spaceboyz.net
Tue Aug 5 11:44:46 CDT 2008


Dear Ruby & Jabber developers

I am very pleased to announce version 0.4 of XMPP4R, the Jabber library for
Ruby. This is the first release since our change to Git and contains many new
features and corrections from the last 10 months. This time, many thanks go
especially to Glenn Rempe.

From the Changelog:
* Initial support for Ruby 1.9 (see README_ruby19.txt)
* Complete PubSub API Change - more logical and better for 
  childclasses, support for collection node creation
* a Helper to assist with XEP-0115 Entity Capabilities 
* SASL anonymous support
* File transfer fixes
* MUC room configuration fixes
* initial support for XEP-0118 User Tune
* fix for an xmlrpc exception-during-serialisation bug, which would cause
  a hang
* Support auto-gem generation on GitHub with improved and DRY'er RakeFile and
  gemspec.
* Add support for the old SSL protocol (needed to connect to GTalk)
* Changed API for Client, Component, Connection, Stream to remove
  need for antiquated 'threaded' param in the initializer.
* Use a Logger instance instead of directly writing to stdout
* Re-factored & consolidated Error classes.  See xmpp4r/errors.rb for all
  custom errors that can be caught.  All inherit from Jabber::Error which
  itself inherits from Ruby's StandardError. This is a first step in
  re-factoring errors.  The next step will be to convert all 'raise' calls to
  raise a custom Jabber::Error or one of its children instead of anonymous
  RuntimeErrors.  This allows much more granularity in catching and handling
  errors later.
  If you were catching Jabber::ErrorException before you should probably
  change that in your code to now catch Jabber::Error if you want to
  catch everything or one of the custom children of Jabber::Error defined in
  'lib/xmpp4r/errors.rb'.  Additionally, the Error class which encapsulated
  the xmpp error response, has been renamed to ErrorResponse to reflect its
  real usage.  This free's up 'Jabber::Error' for use as our base Error class.

XMPP4R can be downloaded from:
  http://download.gna.org/xmpp4r/xmpp4r-0.4.tgz
  http://download.gna.org/xmpp4r/xmpp4r-0.4.zip
  http://download.gna.org/xmpp4r/xmpp4r-0.4.gem

Installation via RubyGems:
  gem install xmpp4r

More information on the web:
  http://home.gna.org/xmpp4r/

For questions, consider the xmpp4r-devel@ list:
  https://mail.gna.org/listinfo/xmpp4r-devel/


Stephan Maka

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20080805/ad5eca83/attachment-0002.pgp>


More information about the JDev mailing list