[ANN] CouchDB-Python 0.9

3 views
Skip to first unread message

Dirkjan Ochtman

unread,
Apr 25, 2013, 7:22:40 AM4/25/13
to couchdb...@googlegroups.com, us...@couchdb.apache.org
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.

Alexander Shorin

unread,
Apr 25, 2013, 7:33:50 AM4/25/13
to couchdb...@googlegroups.com, us...@couchdb.apache.org
Hooray!

Thanks, Dirkjan! (:
--
,,,^..^,,,
> --
> You received this message because you are subscribed to the Google Groups "CouchDB-Python" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to couchdb-pytho...@googlegroups.com.
> To post to this group, send email to couchdb...@googlegroups.com.
> Visit this group at http://groups.google.com/group/couchdb-python?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Noah Slater

unread,
Apr 25, 2013, 7:48:48 AM4/25/13
to us...@couchdb.apache.org, couchdb...@googlegroups.com
Woot!
--
NS

Matt Goodall

unread,
Apr 25, 2013, 8:08:53 AM4/25/13
to us...@couchdb.apache.org
Yay!!!!
Dirkjan, thank you so much for doing this!
- Matt
Reply all
Reply to author
Forward
0 new messages