Skip to content

Commit 1e2edd0

Browse files
committed
Merge 0.5.x into stable.
--HG-- branch : stable
2 parents ddadd82 + 68a35ad commit 1e2edd0

19 files changed

+1444
-127
lines changed

.hgtags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ a65367e0db916531d91e05dadce7f7da2f4227aa 0.4.0
1010
7b399fb6bdb40e92eb59dfbc89412bb3ea3d903b 0.4.0
1111
37cf9b4d017deeeb4417274afb53faac058b2a60 0.4.0
1212
4db1825714884019b25822c36663a2eefcb5c9d9 0.4.0
13+
d8618e4eeb035c76bce7408eed3f25fe72a32519 0.5.0
14+
b835be87da28c71d0e23f08f0befdd72d0e75e70 0.5.0

ChangeLog.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
Version 0.5
2+
http://couchdb-python.googlecode.com/svn/tags/0.5.0
3+
(Nov 28, 2008, from branches/0.5.x)
4+
5+
* `schema.Document` objects can now be used in the documents list passed to
6+
`client.Database.update()`.
7+
* `Server.__contains__()` and `Database.__contains__()` now use the HTTP HEAD
8+
method to avoid unnecessary transmission of data. `Database.__del__()` also
9+
uses HEAD to determine the latest revision of the document.
10+
* The `Database` class now has a method `delete()` that takes a document
11+
dictionary as parameter. This method should be used in preference to
12+
`__del__` as it allow conflict detection and handling.
13+
* Added `cache` and `timeout` arguments to the `client.Server` initializer.
14+
* The `Database` class now provides methods for deleting, retrieving, and
15+
updating attachments.
16+
* The Python view server now exposes a `log()` function to map and reduce
17+
functions (issue 21).
18+
* Handling of the rereduce stage in the Python view server has been fixed.
19+
* The `Server` and `Database` classes now implement the `__nonzero__` hook
20+
so that they produce sensible results in boolean conditions.
21+
* The client module will now reattempt a request that failed with a
22+
"connection reset by peer" error.
23+
* inf/nan values now raise a `ValueError` on the client side instead of
24+
triggering an internal server error (issue 31).
25+
* Added a new `couchdb.design` module that provides functionality for
26+
managing views in design documents, so that they can be defined in the
27+
Python application code, and the design documents actually stored in the
28+
database can be kept in sync with the definitions in the code.
29+
* The `include_docs` option for CouchDB views is now supported by the new
30+
`doc` property of row instances in view results. Thanks to Paul Davis for
31+
the patch (issue 33).
32+
* The `keys` option for views is now supported (issue 35).
33+
34+
135
Version 0.4
236
http://couchdb-python.googlecode.com/svn/tags/0.4.0
337
(Jun 28, 2008, from branches/0.4.x)

0 commit comments

Comments
 (0)