Hello all,
We have a new release of CouchDB-Python for you today: 0.9.
This release, which has been a long time in the making (sorry about
that!) has a slew of small and slightly larger improvements:
* Don't validate database names on the client side. This means some methods
dealing with database names can return different exceptions than before.
* Use HTTP socket more efficiently to avoid the Nagle algorithm, greatly
improving performace. Note: add the `{nodelay, true}` option to the CouchDB
server's httpd/socket_options config.
* Add support for show and list functions.
* Add support for calling update handlers.
* Add support for purging documents.
* Add `iterview()` for more efficient iteration over large view results.
* Add view cleanup API.
* Enhance `Server.stats()` to optionally retrieve a single set of statistics.
* Implement `Session` timeouts.
* Add `error` property to `Row` objects.
* Add `default=None` arg to `mapping.Document.get()` to make it a little more
dict-like.
* Enhance `Database.info()` so it can also be used to get info for a design
doc.
* Add view definition options, e.g. collation.
* Fix support for authentication in dump/load tools.
* Support non-ASCII document IDs in serialization format.
* Protect `ResponseBody` from being iterated/closed multiple times.
* Rename iteration method for ResponseBody chunks to `iterchunks()` to
prevent usage for non-chunked responses.
* JSON encoding exceptions are no longer masked, resulting in better error
messages.
* `cjson` support is now deprecated.
* Fix `Row.value` and `Row.__repr__` to never raise exceptions.
* Fix Python view server's reduce to handle empty map results list.
* Use locale-independent timestamp identifiers for HTTP cache.
* Don't require setuptools/distribute to install the core package. (Still
needed to install the console scripts.)
It can be downloaded from PyPI here:
<http://pypi.python.org/pypi/CouchDB>
To report bugs, join the mailing list, etc, start with the project homepage:
<http://code.google.com/p/couchdb-python/>
Start reading the documentation hosted on PyPI:
<http://pythonhosted.org/CouchDB/>
Many thanks to everyone who contributed patches and bug reports!
Cheers,
Dirkjan and the rest of the CouchDB-Python team
P.S. For the next release, we hope to add Python 3 support. Please
join our mailing list if you're interested in helping out or testing
with that project.