From: Jani Nikula Date: Sun, 27 Apr 2014 14:46:17 +0000 (+0300) Subject: NEWS: folder:, path:, and database upgrade X-Git-Tag: 0.18_rc1~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ea4eef298bf45ddce629ff6e221bd84daa0fa24;p=notmuch.git NEWS: folder:, path:, and database upgrade Related news together. --- diff --git a/NEWS b/NEWS index 446befb8..d21921f4 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,49 @@ Notmuch 0.18~rc0 (2014-04-22) ============================= +General +------- + +The `folder:` search prefix now requires an exact match + + The `folder:` prefix has been changed to search for email messages + by the exact, case sensitive maildir or MH folder name. The new + behaviour allows for more accurate mail folder based searches, and + should lead to less surprising results than the old behaviour. Users + are advised to see the `notmuch-search-terms` manual page for + details, and review how the change affects their existing `folder:` + searches. + +There is a new `path:` search prefix. + + The new `path:` search prefix complements the `folder:` prefix. The + `path:` prefix searches for email messages that are in particular + directories within the mail store, optionally recursively using a + special syntax. See the `notmuch-search-terms` manual page for + details. + +Notmuch database upgrade due to `folder:` and `path:` changes + + The above mentioned changes to the `folder:` prefix and the addition + of `path:` prefix require a Notmuch database upgrade. This will be + done automatically, without prompting on the next time `notmuch new` + is run after the upgrade. The upgrade is not reversible, and the + upgraded database will not be readable by older versions of + Notmuch. As a safeguard, a database dump will be created in the + `.notmuch` directory before upgrading. + +Library changes +--------------- + +Notmuch database upgrade + + The libnotmuch consumers are reminded to handle database upgrades + properly, either by relying on running `notmuch new`, or checking + `notmuch_database_needs_upgrade()` and calling + `notmuch_database_upgrade()` as necessary. This has always been the + case, but in practise there have been no database upgrades in any + released version of Notmuch before now. + Command-Line Interface ----------------------