couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "BreakingChanges" by ChristopherLenz
Date Mon, 26 May 2008 15:18:19 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by ChristopherLenz:

The comment on the change is:
DELETE status code and attachments structure change

  === Database File Format ===
  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.
+ === Document Structure Changes ===
+ In the JSON structure for attachments, the member name `content-type` has been changed to
`content_type` (note the underscore). This change was made for consistency with the general
naming scheme in CouchDB, and enable easier access from Javascript code.
  === View Definition Changes ===
@@ -58, +62 @@

  === HTTP API Changes ===
+ === DELETE Status Code ===
+ Successful deletion of a database or document using the `DELETE` HTTP method now results
in a `200 OK` response instead of the `202 Accepted` response used before. The rationale for
this change is that the deletion is performed immediately, while a 202 status code implies
that the action has been triggered but may not have completed at the time of the response.
  ==== Bulk Updates ====
  The JSON structure for bulk updates has been changed slightly for both requests and responses.

View raw message