src/docs/src/whatsnew/0.9.rst
.. Licensed under the Apache License, Version 2.0 (the "License"); you may not .. use this file except in compliance with the License. You may obtain a copy of .. the License at .. .. http://www.apache.org/licenses/LICENSE-2.0 .. .. Unless required by applicable law or agreed to in writing, software .. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT .. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the .. License for the specific language governing permissions and limitations under .. the License.
.. _release/0.9.x:
.. contents:: :depth: 1 :local:
.. _release/0.9.x/upgrade:
The response to a bulk creation / update now looks like this
.. code-block:: javascript
[
{"id": "0", "rev": "3682408536"},
{"id": "1", "rev": "3206753266"},
{"id": "2", "error": "conflict", "reason": "Document update conflict."}
]
The database file format has changed. CouchDB itself does yet not provide any
tools for migrating your data. In the meantime, you can use third-party scripts
to deal with the migration, such as the dump/load tools that come with the
development version (trunk) of couchdb-python_.
.. _couchdb-python: http://code.google.com/p/couchdb-python/
The view query API has been changed: count has become limit.
This is a better description of what the parameter does, and should be a simple
update in any client code.
The view URLs have been moved to design document resources. This means that paths that used to be like::
http://hostname:5984/mydb/_view/designname/viewname?limit=10
will now look like::
http://hostname:5984/mydb/_design/designname/_view/viewname?limit=10.
See the REST, Hypermedia, and CouchApps_ thread on dev for details.
.. _REST, Hypermedia, and CouchApps: http://mail-archives.apache.org/mod_mbox/couchdb-dev/200902.mbox/%[email protected]%3E
Names of attachments are no longer allowed to start with an underscore.
Some refinements have been made to error handling. CouchDB will send 400 instead
of 500 on invalid query parameters. Most notably, document update conflicts now
respond with 409 Conflict instead of 412 Precondition Failed. The error code
for when attempting to create a database that already exists is now 412
instead of 409.
CouchDB 0.9 changes sections and configuration variable names in configuration
files. Old .ini files won't work. Also note that CouchDB now ships with two .ini
files where 0.8 used couch.ini there are now default.ini and local.ini.
default.ini contains CouchDB's standard configuration values. local.ini is
meant for local changes. local.ini is not overwritten on CouchDB updates, so
your edits are safe. In addition, the new runtime configuration system persists
changes to the configuration in local.ini.
.. _release/0.9.2:
559)... _release/0.9.1:
README for better security.334).. _release/0.9.0:
couchdb script now supports system chainable configuration files.configure.ac to manually link libm for portability.configure.ac to extended default library paths.