[ANNOUNCEMENT] Net_DNS2-1.2.0 (stable) Released.
| From: | PEAR Announce | Date: | Mon, 05 Dec 2011 05:02:28 +0000 |
| Subject: | [ANNOUNCEMENT] Net_DNS2-1.2.0 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31320@lists.php.net to get a copy of this message | ||
The new PEAR package Net_DNS2-1.2.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- added numeric error codes to the Lookups class, and had each method that throws an exception throw
a numeric error code along with the message.
- dropped all references to InvalidArgumentException; we only use the Net_DNS2_Exception from now
on.
- added the CAA, URI, TALINK, CDS and TA resource records. Some of these are experimental, but are
pretty straight forward.
- fixed a bug in formatString(); my version was only putting double quotes around strings that have
spaces, but apparently ALL strings should have double quotes around them. This is how BIND does it.
- re-organized the Net_DNS2_Lookups initialization code; it no longer creates a global object of
itself.
- fixed a bug in the caching code; in some cases it wouldn't cache the same content more than
once.
- added an option to use JSON to serialize the cache data rather than using the PHP serialize
function. JSON is much faster, but loses the class definition, and becomes a stdClass object.
- fixed a handful of cases where I was using double quotes where a single quote would be fine.
Package Info
------------
Provides (roughly) the same functionality as Net_DNS, but using PHP5 objects, exceptions for error
handling, better sockets support.
This release is (in most cases) 2x - 10x faster than Net_DNS, as well as includes more RR's
(including DNSSEC RR's), and improved sockets and streams support.
Related Links
-------------
Package home: http://pear.php.net/package/Net_DNS2
Changelog: http://pear.php.net/package/Net_DNS2/download/1.2.0
Download: http://download.pear.php.net/package/Net_DNS2-1.2.0.tgz
Authors
-------
Mike Pultz <mike@mrhost.ca> (lead)