From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 04C70431FBF for ; Mon, 10 Nov 2014 05:14:02 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rMzmOocq7vzy for ; Mon, 10 Nov 2014 05:13:55 -0800 (PST) Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A8094431FB6 for ; Mon, 10 Nov 2014 05:13:55 -0800 (PST) X-AuditID: 1209190d-f79c06d000006f95-9a-5460ba0f1cf2 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id D7.1A.28565.F0AB0645; Mon, 10 Nov 2014 08:13:51 -0500 (EST) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id sAADDnkf030071; Mon, 10 Nov 2014 08:13:50 -0500 Received: from drake (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com [216.15.114.40]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id sAADDloN030289 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 10 Nov 2014 08:13:48 -0500 Received: from amthrax by drake with local (Exim 4.84) (envelope-from ) id 1Xnomx-0001kN-3q; Mon, 10 Nov 2014 08:13:47 -0500 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH] NEWS: Database version 3, API improvements, and ghost messages Date: Mon, 10 Nov 2014 08:13:42 -0500 Message-Id: <1415625222-6669-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 2.1.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGIsWRmVeSWpSXmKPExsUixG6nosu/KyHEoH0lr8WN1m5Gi+s3ZzI7 MHk8W3WL2WPLoffMAUxRXDYpqTmZZalF+nYJXBkTJv1iLmjiq5j38Q1bA+Mq7i5GTg4JAROJ Tcdb2SBsMYkL99YD2VwcQgKzmSS+tj5hhXA2Mkp07NoD5Vxkkri6+yMjhDOJUeL3zq2sIP1s AhoSv28tZgKxRQSkJXbenQ0WZxawlLj6tR0sLizgL7F+3xtmEJtFQFXiyeX1YLt5Bewlpk/8 zwhxh5zE3smrWSYw8i5gZFjFKJuSW6Wbm5iZU5yarFucnJiXl1qka6SXm1mil5pSuokRFByc krw7GN8dVDrEKMDBqMTDO+N9fIgQa2JZcWXuIUZJDiYlUd60rQkhQnxJ+SmVGYnFGfFFpTmp xYcYJTiYlUR4ObYD5XhTEiurUovyYVLSHCxK4rybfvCFCAmkJ5akZqemFqQWwWRlODiUJHgl dgI1ChalpqdWpGXmlCCkmTg4QYbzAA1/uANkeHFBYm5xZjpE/hSjopQ4bzJIQgAkkVGaB9cL i95XjOJArwjz7gKp4gFGPlz3K6DBTECD35WADS5JREhJNTDacDGzzGfekc6/+NUWp1lP4hez T/5+4K7k0pDQI/2SkXUiVuouC8uqDjb9E/1q9KXXKGlDZnJ135ytZ5S1bybXf5xl+KZM6223 wxnu8HYFAa8dS02WRn+dt6XaIuLjzxyp6XNmvHpq+fWXyS8lxZ7fMSyaD7h8Ur/etsmLuiq1 99ImjYurd6krsRRnJBpqMRcVJwIAoYdDr7kCAAA= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2014 13:14:02 -0000 --- NEWS | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/NEWS b/NEWS index b30ed1b..7a121e4 100644 --- a/NEWS +++ b/NEWS @@ -36,9 +36,39 @@ Improved `q` binding in notmuch buffers Library changes --------------- +Introduced database version 3 with support for "database features." + + Features are independent aspects of the database schema. + Representing these independently of the database version number will + let us evolve the database format faster and more incrementally, + while maintaining better forwards and backwards compatibility. + +Library users are no longer required to call `notmuch_database_upgrade` + + Previously, library users were required to call + `notmuch_database_needs_upgrade` and `notmuch_database_upgrade` + before using a writable database. Even the CLI didn't get this + right, and it is no longer required. Now, individual APIs may + return `NOTMUCH_STATUS_UPGRADE_REQUIRED` if the database format is + too out of date for that API. + +Library users can now abort an atomic section by closing the database + + Previously there was no supported way to abort an atomic section. + Callers can now simply close the database, and any outstanding + atomic section will be aborted. + Add return status to notmuch_database_close and notmuch_database_destroy +Bug fixes and performance improvements for thread linking + + The database now represents missing-but-referenced messages ("ghost + messages") similarly to how it represents regular messages. This + enables an improved thread linking algorithm that performs better + and fixes a bug that sometimes prevented notmuch from linking + messages into the same thread. + nmbug ----- -- 2.1.1