16.12. 1.0.x Branch

16.12.1. Upgrade Notes

Note, to replicate with a 1.0 CouchDB instance you must first upgrade in-placeyour current CouchDB to 1.0 or 0.11.1 – backporting so that 0.10.x canreplicate to 1.0 wouldn’t be that hard. All that is required is patching thereplicator to use the application/json content type.

  • _log and _temp_views are now admin-only resources.
  • bulk_docs now requires a valid _Content-Type header ofapplication/json.
  • JSONP is disabled by default. An .ini option was added to selectivelyenable it.
  • The key, startkey and endkey properties of the request objectpassed to list and show functions nowcontain JSON objects representing the URL encoded string values in the querystring. Previously, these properties contained strings which needed to beconverted to JSON before using.

Warning

Version 1.0.4 contains important security fixes. Previous _1.0.x_releases are not recommended for regular usage.

16.12.2. Version 1.0.4

16.12.2.1. HTTP Interface

  • Fix missing revisions in _changes?style=all_docs.
  • Fix validation of attachment names.

16.12.2.2. Log System

  • Fix file descriptor leak in _log.

16.12.2.3. Replicator

  • Fix a race condition where replications can go stale

16.12.2.4. Security

16.12.2.5. View System

  • Avoid invalidating view indexes when running out of file descriptors.

16.12.3. Version 1.0.3

16.12.3.1. General

  • Fixed compatibility issues with Erlang R14B02.

16.12.3.2. Etap Test Suite

  • Etap tests no longer require use of port 5984. They now use a randomlyselected port so they won’t clash with a running CouchDB.

16.12.3.3. Futon

  • Made compatible with jQuery 1.5.x.

16.12.3.4. HTTP Interface

  • Fix bug that allows invalid UTF-8 after valid escapes.
  • The query parameter include_docs now honors the parameter conflicts.This applies to queries against map views, _all_docs and _changes.
  • Added support for inclusive_end with reduce views.

16.12.3.5. Replicator

  • Enabled replication over IPv6.
  • Fixed for crashes in continuous and filtered changes feeds.
  • Fixed error when restarting replications in OTP R14B02.
  • Upgrade ibrowse to version 2.2.0.
  • Fixed bug when using a filter and a limit of 1.

16.12.3.6. Security

  • Fixed OAuth signature computation in OTP R14B02.
  • Handle passwords with : in them.

16.12.3.7. Storage System

  • More performant queries against changes and _all_docs when using the_include_docs parameter.

16.12.3.8. Windows

  • Windows builds now require ICU >= 4.4.0 and Erlang >= R14B03. SeeCOUCHDB-1152, and COUCHDB-963 + OTP-9139 for more information.

16.12.4. Version 1.0.2

16.12.4.1. Futon

  • Make test suite work with Safari and Chrome.
  • Fixed animated progress spinner.
  • Fix raw view document link due to overzealous URI encoding.
  • Spell javascript correctly in loadScript(uri).

16.12.4.2. HTTP Interface

  • Allow reduce=false parameter in map-only views.
  • Fix parsing of Accept headers.
  • Fix for multipart GET APIs when an attachment was created during alocal-local replication. See COUCHDB-1022 for details.

16.12.4.3. Log System

  • Reduce lengthy stack traces.
  • Allow logging of native types.

16.12.4.4. Replicator

  • Updated ibrowse library to 2.1.2 fixing numerous replication issues.
  • Make sure that the replicator respects HTTP settings defined in the config.
  • Fix error when the ibrowse connection closes unexpectedly.
  • Fix authenticated replication (with HTTP basic auth) of design documentswith attachments.
  • Various fixes to make replication more resilient for edge-cases.

16.12.4.5. Storage System

  • Fix leaking file handles after compacting databases and views.
  • Fix databases forgetting their validation function after compaction.
  • Fix occasional timeout errors after successfully compacting large databases.
  • Fix occasional error when writing to a database that has just been compacted.
  • Fix occasional timeout errors on systems with slow or heavily loaded IO.
  • Fix for OOME when compactions include documents with many conflicts.
  • Fix for missing attachment compression when MIME types included parameters.
  • Preserve purge metadata during compaction to avoid spurious view rebuilds.
  • Fix spurious conflicts introduced when uploading an attachment aftera doc has been in a conflict. See COUCHDB-902 for details.
  • Fix for frequently edited documents in multi-master deployments beingduplicated in _changes and _all_docs. See COUCHDB-968 for details on howto repair.
  • Significantly higher read and write throughput against database andview index files.

16.12.4.6. View Server

  • Don’t trigger view updates when requesting _design/doc/_info.
  • Fix for circular references in CommonJS requires.
  • Made isArray() function available to functions executed in the query server.
  • Documents are now sealed before being passed to map functions.
  • Force view compaction failure when duplicated document data exists. Whenthis error is seen in the logs users should rebuild their views fromscratch to fix the issue. See COUCHDB-999 for details.

16.12.5. Version 1.0.1

16.12.5.1. Authentication

  • Enable basic-auth popup when required to access the server, to preventpeople from getting locked out.

16.12.5.2. Build and System Integration

  • Included additional source files for distribution.

16.12.5.3. Futon

  • User interface element for querying stale (cached) views.

16.12.5.4. HTTP Interface

  • Expose committed_update_seq for monitoring purposes.
  • Show fields saved along with _deleted=true. Allows for auditing of deletes.
  • More robust Accept-header detection.

16.12.5.5. Replicator

  • Added support for replication via an HTTP/HTTPS proxy.
  • Fix pull replication of attachments from 0.11 to 1.0.x.
  • Make the _changes feed work with non-integer seqnums.

16.12.5.6. Storage System

16.12.6. Version 1.0.0

16.12.6.1. Security

  • Added authentication caching, to avoid repeated opening and closing of theusers database for each request requiring authentication.

16.12.6.2. Storage System

  • Small optimization for reordering result lists.
  • More efficient header commits.
  • Use O_APPEND to save lseeks.
  • Faster implementation of pread_iolist(). Further improves performance onconcurrent reads.

16.12.6.3. View Server

  • Faster default view collation.
  • Added option to include update_seq in view responses.

原文: http://docs.couchdb.org/en/stable/whatsnew/1.0.html