Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14D45D256 for ; Wed, 22 May 2013 17:19:45 +0000 (UTC) Received: (qmail 29776 invoked by uid 500); 22 May 2013 17:19:45 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 29648 invoked by uid 500); 22 May 2013 17:19:44 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 29297 invoked by uid 99); 22 May 2013 17:19:42 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 17:19:42 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BC6CA8934FA; Wed, 22 May 2013 17:19:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: djc@apache.org To: commits@couchdb.apache.org Date: Wed, 22 May 2013 17:19:41 -0000 Message-Id: <07d7e5e459424991b01f77298497a98f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/4] git commit: updated refs/heads/master to 661f414 Updated Branches: refs/heads/1.3.x 218c25377 -> b9f5dd0cd refs/heads/master 7a939451e -> 661f41430 refs/heads/rst-readme [created] ee224443b docs: add Upgrade Notes for 1.2.0 Synthesized from the Breaking_changes page on the wiki. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ee224443 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ee224443 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ee224443 Branch: refs/heads/master Commit: ee224443b7d6d8c74005818ec0b5dff43d4cf040 Parents: 7a93945 Author: Dirkjan Ochtman Authored: Wed May 22 19:15:13 2013 +0200 Committer: Dirkjan Ochtman Committed: Wed May 22 19:15:13 2013 +0200 ---------------------------------------------------------------------- share/doc/src/changelog.rst | 44 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/ee224443/share/doc/src/changelog.rst ---------------------------------------------------------------------- diff --git a/share/doc/src/changelog.rst b/share/doc/src/changelog.rst index 2579a43..b567c81 100644 --- a/share/doc/src/changelog.rst +++ b/share/doc/src/changelog.rst @@ -213,6 +213,50 @@ Windows Version 1.2.0 ------------- +Upgrade Notes +^^^^^^^^^^^^^ + +.. warning:: + + This version drops support for the database format that was introduced in + version 0.9.0. Compact your older databases (that have not been compacted + for a long time) before upgrading, or they will become inaccessible. + +Security changes +~~~~~~~~~~~~~~~~ + +The interface to the ``_users`` and ``_replicator`` databases have been +changed so that non-administrator users can see less information: + +* In the ``_users`` database: + + * User documents can now only be read by the respective users, as well as + administrators. Other users cannot read these documents. + * Views can only be defined and queried by administrator users. + * The ``_changes`` feed can only be queried by administrator users. + +* In the ``_replicator`` database: + + * Documents now have a forced ``owner`` field that corresponds to the + authenticated user that created them. + * Non-owner users will not see confidential information like passwords or + OAuth tokens in replication documents; they can still see the other + contents of those documents. Administrators can see everything. + * Views can only be defined and queried by administrators. + +Database Compression +~~~~~~~~~~~~~~~~~~~~ + +The new optional (but enabled by default) compression of disk files requires +an upgrade of the on-disk format (5 -> 6) which occurs on creation for new +databases and views, and on compaction for existing files. This format is not +supported in previous releases, so rollback would require replication to the +previous CouchDB release or restoring from backup. + +Compression can be disabled by setting ``compression = none`` in your +``local.ini`` ``[couchdb]`` section, but the on-disk format will still be +upgraded. + Authentication ^^^^^^^^^^^^^^