Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 39682 invoked from network); 22 Mar 2009 00:21:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2009 00:21:22 -0000 Received: (qmail 72129 invoked by uid 500); 22 Mar 2009 00:21:21 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 72091 invoked by uid 500); 22 Mar 2009 00:21:21 -0000 Mailing-List: contact dev-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 dev@couchdb.apache.org Received: (qmail 72078 invoked by uid 99); 22 Mar 2009 00:21:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Mar 2009 17:21:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.200.170 as permitted sender) Received: from [209.85.200.170] (HELO wf-out-1314.google.com) (209.85.200.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Mar 2009 00:21:11 +0000 Received: by wf-out-1314.google.com with SMTP id 28so1837294wfa.29 for ; Sat, 21 Mar 2009 17:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=T9EOgS/B6ghQx0PqtjsBV8i6QyQNUB3rU8+eWW/ne+s=; b=LJBoj9s1UxswA3cCougbHeNJMzuYWEVwPREk5Cw6+5aebp1NXfZzlc4W946akBYb8/ 7ZO6Zk7V4/OSnfhYWy5/uoq+JvY94MAjKKH8zsVu+6Vup4ATmIzlU3ZMJdgne0HKEU3A 3DNQcx06v8oGPHwEyOWKWaBrbPzLVkzLrBnVk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=jV7Km0it0eEysA4sHKNezeAgbDhLcqUfVy8jQXFYjs6SlgdKk4c8LYDu1dcht87dGI rAN3Wx6CFvfOHYOQKlewBWvqIYtVPd4EBoh1ppFdkIqxDyAlbV1cq3l77VMMkQ2SPKdK Vhw5mq/nbAlW8wxbyvQTuADdCvmBhhlW3xTlY= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.142.242.11 with SMTP id p11mr2157295wfh.234.1237681250532; Sat, 21 Mar 2009 17:20:50 -0700 (PDT) In-Reply-To: <690BBF33-B060-4AB5-83C5-6A83297EABFF@apache.org> References: <20090321113817.27222.2186@aurora.apache.org> <690BBF33-B060-4AB5-83C5-6A83297EABFF@apache.org> Date: Sun, 22 Mar 2009 00:20:50 +0000 X-Google-Sender-Auth: bea5419dda6580d2 Message-ID: Subject: Re: [Couchdb Wiki] Update of "Breaking changes" by SvenHelmberger From: Chris Anderson To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Mar 21, 2009 at 1:09 PM, Jan Lehnardt wrote: > > On 21 Mar 2009, at 11:38, Apache Wiki wrote: >> >> >> =3D=3D Changes Between 0.8.x and 0.9.0pre =3D=3D >> + >> + =3D=3D=3D Response to Bulk Creation/Updates =3D=3D=3D >> + >> + The response to a bulk creation / update now looks like this >> + >> + {{{ >> + [ >> + =A0 =A0 {"id": "0", "rev": "3682408536"}, >> + =A0 =A0 {"id": "1", "rev": "3206753266"}, >> + =A0 =A0 {"id": "2", "error": "conflict", "reason": "Document update >> conflict."} >> + ] >> + }}} >> >> =3D=3D=3D Database File Format =3D=3D=3D > > I'm not sure this change is intentional. Damien, Chris? > > I'd opt for a full JSON object. Not all client libs like parsing JSON > partials. > The JSON spec allows objects or arrays as the outer member. http://www.json= .org/ As long as it's documented I don't see a problem here. --=20 Chris Anderson http://jchris.mfdz.com