Skip to content

Commit 37ae6ff

Browse files
committed
Try to format code fragments in ChangeLog
1 parent 635f628 commit 37ae6ff

File tree

1 file changed

+83
-83
lines changed

1 file changed

+83
-83
lines changed

ChangeLog.rst

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ Version 1.0 (2014-11-16)
22
------------------------
33

44
* Many smaller Python 3 compatibility issues have been fixed
5-
* Improve handling of binary attachments in the `couchdb-dump` tool
5+
* Improve handling of binary attachments in the ``couchdb-dump`` tool
66
* Added testing via tox and support for Travis CI
77

88

99
Version 0.10 (2014-07-15)
1010
-------------------------
1111

1212
* Now compatible with Python 2.7, 3.3 and 3.4
13-
* Added batch processing for the `couchdb-dump` tool
14-
* A very basic API to access the `_security` object
15-
* A way to access the `update_seq` value on view results
13+
* Added batch processing for the ``couchdb-dump`` tool
14+
* A very basic API to access the ``_security`` object
15+
* A way to access the ``update_seq`` value on view results
1616

1717

1818
Version 0.9 (2013-04-25)
@@ -21,30 +21,30 @@ Version 0.9 (2013-04-25)
2121
* Don't validate database names on the client side. This means some methods
2222
dealing with database names can return different exceptions than before.
2323
* Use HTTP socket more efficiently to avoid the Nagle algorithm, greatly
24-
improving performace. Note: add the `{nodelay, true}` option to the CouchDB
24+
improving performace. Note: add the ``{nodelay, true}`` option to the CouchDB
2525
server's httpd/socket_options config.
2626
* Add support for show and list functions.
2727
* Add support for calling update handlers.
2828
* Add support for purging documents.
29-
* Add `iterview()` for more efficient iteration over large view results.
29+
* Add ``iterview()`` for more efficient iteration over large view results.
3030
* Add view cleanup API.
31-
* Enhance `Server.stats()` to optionally retrieve a single set of statistics.
32-
* Implement `Session` timeouts.
33-
* Add `error` property to `Row` objects.
34-
* Add `default=None` arg to `mapping.Document.get()` to make it a little more
31+
* Enhance ``Server.stats()`` to optionally retrieve a single set of statistics.
32+
* Implement ``Session`` timeouts.
33+
* Add ``error`` property to ``Row`` objects.
34+
* Add ``default=None`` arg to ``mapping.Document.get()`` to make it a little more
3535
dict-like.
36-
* Enhance `Database.info()` so it can also be used to get info for a design
36+
* Enhance ``Database.info()`` so it can also be used to get info for a design
3737
doc.
3838
* Add view definition options, e.g. collation.
3939
* Fix support for authentication in dump/load tools.
4040
* Support non-ASCII document IDs in serialization format.
41-
* Protect `ResponseBody` from being iterated/closed multiple times.
42-
* Rename iteration method for ResponseBody chunks to `iterchunks()` to
41+
* Protect ``ResponseBody`` from being iterated/closed multiple times.
42+
* Rename iteration method for ResponseBody chunks to ``iterchunks()`` to
4343
prevent usage for non-chunked responses.
4444
* JSON encoding exceptions are no longer masked, resulting in better error
4545
messages.
46-
* `cjson` support is now deprecated.
47-
* Fix `Row.value` and `Row.__repr__` to never raise exceptions.
46+
* ``cjson`` support is now deprecated.
47+
* Fix ``Row.value`` and ``Row.__repr__`` to never raise exceptions.
4848
* Fix Python view server's reduce to handle empty map results list.
4949
* Use locale-independent timestamp identifiers for HTTP cache.
5050
* Don't require setuptools/distribute to install the core package. (Still
@@ -62,81 +62,81 @@ Version 0.8 (Aug 13, 2010)
6262
* Request retries schedule and frequency are now customizable.
6363
* Allow more kinds of request errors to trigger a retry.
6464
* Improve wrapping of view results.
65-
* Added a `uuids()` method to the `client.Server` class (issue 122).
65+
* Added a ``uuids()`` method to the ``client.Server`` class (issue 122).
6666
* Tested with CouchDB 0.10 - 1.0 (and Python 2.4 - 2.7).
6767

6868

6969
Version 0.7.0 (Apr 15, 2010)
7070
----------------------------
7171

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.
75-
* Breaking change: `couchdb.schema` has been renamed to `couchdb.mapping`.
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.
75+
* Breaking change: ``couchdb.schema`` has been renamed to ``couchdb.mapping``.
7676
This better reflects what is actually provided. Classes inside
77-
`couchdb.mapping` have been similarly renamed (e.g. `Schema` -> `Mapping`).
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`.
81-
* Breaking change: the `client.Server` properties `version` and `config`
77+
``couchdb.mapping`` have been similarly renamed (e.g. ``Schema`` -> ``Mapping``).
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``.
81+
* Breaking change: the ``client.Server`` properties ``version`` and ``config``
8282
have become methods in order to improve API consistency.
83-
* Prevent `schema.ListField` objects from sharing the same default (issue 107).
84-
* Added a `changes()` method to the `client.Database` class (issue 103).
85-
* Added an optional argument to the 'Database.compact` method to enable
83+
* Prevent ``schema.ListField`` objects from sharing the same default (issue 107).
84+
* Added a ``changes()`` method to the ``client.Database`` class (issue 103).
85+
* Added an optional argument to the 'Database.compact`` method to enable
8686
view compaction (the rest of issue 37).
8787

8888

8989
Version 0.6.1 (Dec 14, 2009)
9090
----------------------------
9191

9292
* Compatible with CouchDB 0.9.x and 0.10.x.
93-
* Removed debugging statement from `json` module (issue 82).
93+
* Removed debugging statement from ``json`` module (issue 82).
9494
* Fixed a few bugs resulting from typos.
95-
* Added a `replicate()` method to the `client.Server` class (issue 61).
95+
* Added a ``replicate()`` method to the ``client.Server`` class (issue 61).
9696
* Honor the boundary argument in the dump script code (issue 100).
97-
* Added a `stats()` method to the `client.Server` class.
98-
* Added a `tasks()` method to the `client.Server` class.
97+
* Added a ``stats()`` method to the ``client.Server`` class.
98+
* Added a ``tasks()`` method to the ``client.Server`` class.
9999
* Allow slashes in path components passed to the uri function (issue 96).
100-
* `schema.DictField` objects now have a separate backing dictionary for each
101-
instance of their `schema.Document` (issue 101).
102-
* `schema.ListField` proxy objects now have a more consistent (though somewhat
103-
slower) `count()` method (issue 91).
104-
* `schema.ListField` objects now have correct behavior for slicing operations
105-
and the `pop()` method (issue 92).
106-
* Added a `revisions()` method to the Database class (issue 99).
100+
* ``schema.DictField`` objects now have a separate backing dictionary for each
101+
instance of their ``schema.Document`` (issue 101).
102+
* ``schema.ListField`` proxy objects now have a more consistent (though somewhat
103+
slower) ``count()`` method (issue 91).
104+
* ``schema.ListField`` objects now have correct behavior for slicing operations
105+
and the ``pop()`` method (issue 92).
106+
* Added a ``revisions()`` method to the Database class (issue 99).
107107
* Make sure we always return UTF-8 from the view server (issue 81).
108108

109109

110110
Version 0.6 (Jul 2, 2009)
111111
-------------------------
112112

113113
* Compatible with CouchDB 0.9.x.
114-
* `schema.DictField` instances no longer need to be bound to a `Schema`
114+
* ``schema.DictField`` instances no longer need to be bound to a ``Schema``
115115
(issue 51).
116-
* Added a `config` property to the `client.Server` class (issue 67).
117-
* Added a `compact()` method to the `client.Database` class (issue 37).
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.
121-
* `schema.ListField` proxy objects now support the `__contains__()` and
122-
`index()` methods (issue 77).
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`
116+
* Added a ``config`` property to the ``client.Server`` class (issue 67).
117+
* Added a ``compact()`` method to the ``client.Database`` class (issue 37).
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.
121+
* ``schema.ListField`` proxy objects now support the ``__contains__()`` and
122+
``index()`` methods (issue 77).
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``
125125
option is set (issue 76).
126-
* Removed the `eager` option on the `query()` and `view()` methods of
127-
`schema.Document`. Use the `include_docs` option instead, which doesn't
126+
* Removed the ``eager`` option on the ``query()`` and ``view()`` methods of
127+
``schema.Document``. Use the ``include_docs`` option instead, which doesn't
128128
require an additional request per document.
129-
* Added a `copy()` method to the `client.Database` class, which translates to
129+
* Added a ``copy()`` method to the ``client.Database`` class, which translates to
130130
a HTTP COPY request (issue 74).
131-
* Accessing a non-existing database through `Server.__getitem__` now throws
132-
a `ResourceNotFound` exception as advertised (issue 41).
133-
* Added a `delete()` method to the `client.Server` class for consistency
131+
* Accessing a non-existing database through ``Server.__getitem__`` now throws
132+
a ``ResourceNotFound`` exception as advertised (issue 41).
133+
* Added a ``delete()`` method to the ``client.Server`` class for consistency
134134
(issue 64).
135-
* The `couchdb-dump` tool now operates in a streaming fashion, writing one
135+
* The ``couchdb-dump`` tool now operates in a streaming fashion, writing one
136136
document at a time to the resulting MIME multipart file (issue 58).
137137
* It is now possible to explicitly set the JSON module that should be used
138138
for decoding/encoding JSON data. The currently available choices are
139-
`simplejson`, `cjson`, and `json` (the standard library module). It is also
139+
``simplejson``, ``cjson``, and ``json`` (the standard library module). It is also
140140
possible to use custom decoding/encoding functions.
141141
* Add logging to the Python view server. It can now be configured to log to a
142142
given file or the standard error stream, and the log level can be set debug
@@ -146,82 +146,82 @@ Version 0.6 (Jul 2, 2009)
146146
Version 0.5 (Nov 29, 2008)
147147
--------------------------
148148

149-
* `schema.Document` objects can now be used in the documents list passed to
150-
`client.Database.update()`.
151-
* `Server.__contains__()` and `Database.__contains__()` now use the HTTP HEAD
152-
method to avoid unnecessary transmission of data. `Database.__del__()` also
149+
* ``schema.Document`` objects can now be used in the documents list passed to
150+
``client.Database.update()``.
151+
* ``Server.__contains__()`` and ``Database.__contains__()`` now use the HTTP HEAD
152+
method to avoid unnecessary transmission of data. ``Database.__del__()`` also
153153
uses HEAD to determine the latest revision of the document.
154-
* The `Database` class now has a method `delete()` that takes a document
154+
* The ``Database`` class now has a method ``delete()`` that takes a document
155155
dictionary as parameter. This method should be used in preference to
156-
`__del__` as it allow conflict detection and handling.
157-
* Added `cache` and `timeout` arguments to the `client.Server` initializer.
158-
* The `Database` class now provides methods for deleting, retrieving, and
156+
``__del__`` as it allow conflict detection and handling.
157+
* Added ``cache`` and ``timeout`` arguments to the ``client.Server`` initializer.
158+
* The ``Database`` class now provides methods for deleting, retrieving, and
159159
updating attachments.
160-
* The Python view server now exposes a `log()` function to map and reduce
160+
* The Python view server now exposes a ``log()`` function to map and reduce
161161
functions (issue 21).
162162
* Handling of the rereduce stage in the Python view server has been fixed.
163-
* The `Server` and `Database` classes now implement the `__nonzero__` hook
163+
* The ``Server`` and ``Database`` classes now implement the ``__nonzero__`` hook
164164
so that they produce sensible results in boolean conditions.
165165
* The client module will now reattempt a request that failed with a
166166
"connection reset by peer" error.
167-
* inf/nan values now raise a `ValueError` on the client side instead of
167+
* inf/nan values now raise a ``ValueError`` on the client side instead of
168168
triggering an internal server error (issue 31).
169-
* Added a new `couchdb.design` module that provides functionality for
169+
* Added a new ``couchdb.design`` module that provides functionality for
170170
managing views in design documents, so that they can be defined in the
171171
Python application code, and the design documents actually stored in the
172172
database can be kept in sync with the definitions in the code.
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
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
175175
the patch (issue 33).
176-
* The `keys` option for views is now supported (issue 35).
176+
* The ``keys`` option for views is now supported (issue 35).
177177

178178

179179
Version 0.4 (Jun 28, 2008)
180180
--------------------------
181181

182182
* Updated for compatibility with CouchDB 0.8.0
183183
* Added command-line scripts for importing/exporting databases.
184-
* The `Database.update()` function will now actually perform the `POST`
184+
* The ``Database.update()`` function will now actually perform the ``POST``
185185
request even when you do not iterate over the results (issue 5).
186-
* The `_view` prefix can now be omitted when specifying view names.
186+
* The ``_view`` prefix can now be omitted when specifying view names.
187187

188188

189189
Version 0.3 (Feb 6, 2008)
190190
-------------------------
191191

192-
* The `schema.Document` class now has a `view()` method that can be used to
192+
* The ``schema.Document`` class now has a ``view()`` method that can be used to
193193
execute a CouchDB view and map the result rows back to objects of that
194194
schema.
195195
* The test suite now uses the new default port of CouchDB, 5984.
196196
* Views now return proxy objects to which you can apply slice syntax for
197197
"key", "startkey", and "endkey" filtering.
198-
* Add a `query()` classmethod to the `Document` class.
198+
* Add a ``query()`` classmethod to the ``Document`` class.
199199

200200

201201
Version 0.2 (Nov 21, 2007)
202202
--------------------------
203203

204-
* Added __len__ and __iter__ to the `schema.Schema` class to iterate
204+
* Added __len__ and __iter__ to the ``schema.Schema`` class to iterate
205205
over and get the number of items in a document or compound field.
206206
* The "version" property of client.Server now returns a plain string
207207
instead of a tuple of ints.
208208
* The client library now identifies itself with a meaningful
209209
User-Agent string.
210-
* `schema.Document.store()` now returns the document object instance,
210+
* ``schema.Document.store()`` now returns the document object instance,
211211
instead of just the document ID.
212-
* The string representation of `schema.Document` objects is now more
212+
* The string representation of ``schema.Document`` objects is now more
213213
comprehensive.
214214
* Only the view parameters "key", "startkey", and "endkey" are JSON
215215
encoded, anything else is left alone.
216216
* Slashes in document IDs are now URL-quoted until CouchDB supports
217217
them.
218218
* Allow the content-type to be passed for temp views via
219-
`client.Database.query()` so that view languages other than
219+
``client.Database.query()`` so that view languages other than
220220
Javascript can be used.
221-
* Added `client.Database.update()` method to bulk insert/update
221+
* Added ``client.Database.update()`` method to bulk insert/update
222222
documents in a database.
223-
* The view-server script wrapper has been renamed to `couchpy`.
224-
* `couchpy` now supports `--help` and `--version` options.
223+
* The view-server script wrapper has been renamed to ``couchpy``.
224+
* ``couchpy`` now supports ``--help`` and ``--version`` options.
225225
* Updated for compatibility with CouchDB release 0.7.0.
226226

227227

0 commit comments

Comments
 (0)