@@ -19,10 +19,10 @@ Version 0.9 (2013-04-25)
19
19
------------------------
20
20
21
21
* Don't validate database names on the client side. This means some methods
22
- dealing with database names can return different exceptions than before.
22
+ dealing with database names can return different exceptions than before.
23
23
* Use HTTP socket more efficiently to avoid the Nagle algorithm, greatly
24
- improving performace. Note: add the `{nodelay, true} ` option to the CouchDB
25
- server's httpd/socket_options config.
24
+ improving performace. Note: add the `{nodelay, true} ` option to the CouchDB
25
+ server's httpd/socket_options config.
26
26
* Add support for show and list functions.
27
27
* Add support for calling update handlers.
28
28
* Add support for purging documents.
@@ -32,31 +32,31 @@ Version 0.9 (2013-04-25)
32
32
* Implement `Session ` timeouts.
33
33
* Add `error ` property to `Row ` objects.
34
34
* Add `default=None ` arg to `mapping.Document.get() ` to make it a little more
35
- dict-like.
35
+ dict-like.
36
36
* Enhance `Database.info() ` so it can also be used to get info for a design
37
- doc.
37
+ doc.
38
38
* Add view definition options, e.g. collation.
39
39
* Fix support for authentication in dump/load tools.
40
40
* Support non-ASCII document IDs in serialization format.
41
41
* Protect `ResponseBody ` from being iterated/closed multiple times.
42
42
* Rename iteration method for ResponseBody chunks to `iterchunks() ` to
43
- prevent usage for non-chunked responses.
43
+ prevent usage for non-chunked responses.
44
44
* JSON encoding exceptions are no longer masked, resulting in better error
45
- messages.
45
+ messages.
46
46
* `cjson ` support is now deprecated.
47
47
* Fix `Row.value ` and `Row.__repr__ ` to never raise exceptions.
48
48
* Fix Python view server's reduce to handle empty map results list.
49
49
* Use locale-independent timestamp identifiers for HTTP cache.
50
50
* Don't require setuptools/distribute to install the core package. (Still
51
- needed to install the console scripts.)
51
+ needed to install the console scripts.)
52
52
53
53
54
54
Version 0.8 (Aug 13, 2010)
55
55
--------------------------
56
56
57
57
* The couchdb-replicate script has changed from being a poor man's version of
58
- continuous replication (predating it) to being a simple script to help
59
- kick off replication jobs across databases and servers.
58
+ continuous replication (predating it) to being a simple script to help
59
+ kick off replication jobs across databases and servers.
60
60
* Reinclude all http exception types in the 'couchdb' package's scope.
61
61
* Replaced epydoc API docs by more extensive Sphinx-based documentation.
62
62
* Request retries schedule and frequency are now customizable.
@@ -70,20 +70,20 @@ Version 0.7.0 (Apr 15, 2010)
70
70
----------------------------
71
71
72
72
* Breaking change: the dependency on `httplib2 ` has been replaced by
73
- an internal `couchdb.http ` library. This changes the API in several places.
74
- Most importantly, `resource.request() ` now returns a 3-member tuple.
73
+ an internal `couchdb.http ` library. This changes the API in several places.
74
+ Most importantly, `resource.request() ` now returns a 3-member tuple.
75
75
* Breaking change: `couchdb.schema ` has been renamed to `couchdb.mapping `.
76
- This better reflects what is actually provided. Classes inside
77
- `couchdb.mapping ` have been similarly renamed (e.g. `Schema ` -> `Mapping `).
76
+ This better reflects what is actually provided. Classes inside
77
+ `couchdb.mapping ` have been similarly renamed (e.g. `Schema ` -> `Mapping `).
78
78
* Breaking change: `couchdb.schema.View ` has been renamed to
79
- `couchdb.mapping.ViewField `, in order to help distinguish it from
80
- `couchdb.client.View `.
79
+ `couchdb.mapping.ViewField `, in order to help distinguish it from
80
+ `couchdb.client.View `.
81
81
* Breaking change: the `client.Server ` properties `version ` and `config `
82
- have become methods in order to improve API consistency.
82
+ have become methods in order to improve API consistency.
83
83
* Prevent `schema.ListField ` objects from sharing the same default (issue 107).
84
84
* Added a `changes() ` method to the `client.Database ` class (issue 103).
85
85
* Added an optional argument to the 'Database.compact` method to enable
86
- view compaction (the rest of issue 37).
86
+ view compaction (the rest of issue 37).
87
87
88
88
89
89
Version 0.6.1 (Dec 14, 2009)
@@ -98,11 +98,11 @@ Version 0.6.1 (Dec 14, 2009)
98
98
* Added a `tasks() ` method to the `client.Server ` class.
99
99
* Allow slashes in path components passed to the uri function (issue 96).
100
100
* `schema.DictField ` objects now have a separate backing dictionary for each
101
- instance of their `schema.Document ` (issue 101).
101
+ instance of their `schema.Document ` (issue 101).
102
102
* `schema.ListField ` proxy objects now have a more consistent (though somewhat
103
- slower) `count() ` method (issue 91).
103
+ slower) `count() ` method (issue 91).
104
104
* `schema.ListField ` objects now have correct behavior for slicing operations
105
- and the `pop() ` method (issue 92).
105
+ and the `pop() ` method (issue 92).
106
106
* Added a `revisions() ` method to the Database class (issue 99).
107
107
* Make sure we always return UTF-8 from the view server (issue 81).
108
108
@@ -112,67 +112,67 @@ Version 0.6 (Jul 2, 2009)
112
112
113
113
* Compatible with CouchDB 0.9.x.
114
114
* `schema.DictField ` instances no longer need to be bound to a `Schema `
115
- (issue 51).
115
+ (issue 51).
116
116
* Added a `config ` property to the `client.Server ` class (issue 67).
117
117
* Added a `compact() ` method to the `client.Database ` class (issue 37).
118
118
* Changed the `update() ` method of the `client.Database ` class to simplify
119
- the handling of errors. The method now returns a list of `(success, docid,
120
- rev_or_exc) ` tuples. See the docstring of that method for the details.
119
+ the handling of errors. The method now returns a list of `(success, docid,
120
+ rev_or_exc) ` tuples. See the docstring of that method for the details.
121
121
* `schema.ListField ` proxy objects now support the `__contains__() ` and
122
- `index() ` methods (issue 77).
122
+ `index() ` methods (issue 77).
123
123
* The results of the `query() ` and `view() ` methods in the `schema.Document `
124
- class are now properly wrapped in objects of the class if the `include_docs `
125
- option is set (issue 76).
124
+ class are now properly wrapped in objects of the class if the `include_docs `
125
+ option is set (issue 76).
126
126
* Removed the `eager ` option on the `query() ` and `view() ` methods of
127
- `schema.Document `. Use the `include_docs ` option instead, which doesn't
128
- require an additional request per document.
127
+ `schema.Document `. Use the `include_docs ` option instead, which doesn't
128
+ require an additional request per document.
129
129
* Added a `copy() ` method to the `client.Database ` class, which translates to
130
- a HTTP COPY request (issue 74).
130
+ a HTTP COPY request (issue 74).
131
131
* Accessing a non-existing database through `Server.__getitem__ ` now throws
132
- a `ResourceNotFound ` exception as advertised (issue 41).
132
+ a `ResourceNotFound ` exception as advertised (issue 41).
133
133
* Added a `delete() ` method to the `client.Server ` class for consistency
134
- (issue 64).
134
+ (issue 64).
135
135
* The `couchdb-dump ` tool now operates in a streaming fashion, writing one
136
- document at a time to the resulting MIME multipart file (issue 58).
136
+ document at a time to the resulting MIME multipart file (issue 58).
137
137
* It is now possible to explicitly set the JSON module that should be used
138
- for decoding/encoding JSON data. The currently available choices are
139
- `simplejson `, `cjson `, and `json ` (the standard library module). It is also
140
- possible to use custom decoding/encoding functions.
138
+ for decoding/encoding JSON data. The currently available choices are
139
+ `simplejson `, `cjson `, and `json ` (the standard library module). It is also
140
+ possible to use custom decoding/encoding functions.
141
141
* Add logging to the Python view server. It can now be configured to log to a
142
- given file or the standard error stream, and the log level can be set debug
143
- to see all communication between CouchDB and the view server (issue 55).
142
+ given file or the standard error stream, and the log level can be set debug
143
+ to see all communication between CouchDB and the view server (issue 55).
144
144
145
145
146
146
Version 0.5 (Nov 29, 2008)
147
147
--------------------------
148
148
149
149
* `schema.Document ` objects can now be used in the documents list passed to
150
- `client.Database.update() `.
150
+ `client.Database.update() `.
151
151
* `Server.__contains__() ` and `Database.__contains__() ` now use the HTTP HEAD
152
- method to avoid unnecessary transmission of data. `Database.__del__() ` also
153
- uses HEAD to determine the latest revision of the document.
152
+ method to avoid unnecessary transmission of data. `Database.__del__() ` also
153
+ uses HEAD to determine the latest revision of the document.
154
154
* The `Database ` class now has a method `delete() ` that takes a document
155
- dictionary as parameter. This method should be used in preference to
156
- `__del__ ` as it allow conflict detection and handling.
155
+ dictionary as parameter. This method should be used in preference to
156
+ `__del__ ` as it allow conflict detection and handling.
157
157
* Added `cache ` and `timeout ` arguments to the `client.Server ` initializer.
158
158
* The `Database ` class now provides methods for deleting, retrieving, and
159
- updating attachments.
159
+ updating attachments.
160
160
* The Python view server now exposes a `log() ` function to map and reduce
161
- functions (issue 21).
161
+ functions (issue 21).
162
162
* Handling of the rereduce stage in the Python view server has been fixed.
163
163
* The `Server ` and `Database ` classes now implement the `__nonzero__ ` hook
164
- so that they produce sensible results in boolean conditions.
164
+ so that they produce sensible results in boolean conditions.
165
165
* The client module will now reattempt a request that failed with a
166
- "connection reset by peer" error.
166
+ "connection reset by peer" error.
167
167
* inf/nan values now raise a `ValueError ` on the client side instead of
168
- triggering an internal server error (issue 31).
168
+ triggering an internal server error (issue 31).
169
169
* Added a new `couchdb.design ` module that provides functionality for
170
- managing views in design documents, so that they can be defined in the
171
- Python application code, and the design documents actually stored in the
172
- database can be kept in sync with the definitions in the code.
170
+ managing views in design documents, so that they can be defined in the
171
+ Python application code, and the design documents actually stored in the
172
+ database can be kept in sync with the definitions in the code.
173
173
* The `include_docs ` option for CouchDB views is now supported by the new
174
- `doc ` property of row instances in view results. Thanks to Paul Davis for
175
- the patch (issue 33).
174
+ `doc ` property of row instances in view results. Thanks to Paul Davis for
175
+ the patch (issue 33).
176
176
* The `keys ` option for views is now supported (issue 35).
177
177
178
178
@@ -182,44 +182,44 @@ Version 0.4 (Jun 28, 2008)
182
182
* Updated for compatibility with CouchDB 0.8.0
183
183
* Added command-line scripts for importing/exporting databases.
184
184
* The `Database.update() ` function will now actually perform the `POST `
185
- request even when you do not iterate over the results (issue 5).
185
+ request even when you do not iterate over the results (issue 5).
186
186
* The `_view ` prefix can now be omitted when specifying view names.
187
187
188
188
189
189
Version 0.3 (Feb 6, 2008)
190
190
-------------------------
191
191
192
192
* The `schema.Document ` class now has a `view() ` method that can be used to
193
- execute a CouchDB view and map the result rows back to objects of that
194
- schema.
193
+ execute a CouchDB view and map the result rows back to objects of that
194
+ schema.
195
195
* The test suite now uses the new default port of CouchDB, 5984.
196
196
* Views now return proxy objects to which you can apply slice syntax for
197
- "key", "startkey", and "endkey" filtering.
197
+ "key", "startkey", and "endkey" filtering.
198
198
* Add a `query() ` classmethod to the `Document ` class.
199
199
200
200
201
201
Version 0.2 (Nov 21, 2007)
202
202
--------------------------
203
203
204
204
* Added __len__ and __iter__ to the `schema.Schema ` class to iterate
205
- over and get the number of items in a document or compound field.
205
+ over and get the number of items in a document or compound field.
206
206
* The "version" property of client.Server now returns a plain string
207
- instead of a tuple of ints.
207
+ instead of a tuple of ints.
208
208
* The client library now identifies itself with a meaningful
209
- User-Agent string.
209
+ User-Agent string.
210
210
* `schema.Document.store() ` now returns the document object instance,
211
- instead of just the document ID.
211
+ instead of just the document ID.
212
212
* The string representation of `schema.Document ` objects is now more
213
- comprehensive.
213
+ comprehensive.
214
214
* Only the view parameters "key", "startkey", and "endkey" are JSON
215
- encoded, anything else is left alone.
215
+ encoded, anything else is left alone.
216
216
* Slashes in document IDs are now URL-quoted until CouchDB supports
217
- them.
217
+ them.
218
218
* Allow the content-type to be passed for temp views via
219
- `client.Database.query() ` so that view languages other than
220
- Javascript can be used.
219
+ `client.Database.query() ` so that view languages other than
220
+ Javascript can be used.
221
221
* Added `client.Database.update() ` method to bulk insert/update
222
- documents in a database.
222
+ documents in a database.
223
223
* The view-server script wrapper has been renamed to `couchpy `.
224
224
* `couchpy ` now supports `--help ` and `--version ` options.
225
225
* Updated for compatibility with CouchDB release 0.7.0.
0 commit comments