]> git.notmuchmail.org Git - notmuch/blobdiff - NEWS
NEWS: news for notmuch_directory_delete
[notmuch] / NEWS
diff --git a/NEWS b/NEWS
index 043da673d26f672792c02359f5127678a8b508a3..c544a8ef88f4fe3ab6c1114dfeafb1ba57da38f0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,13 @@ Database revision tracking: `lastmod:` queries
   every tagging operation. See the discussion of `lastmod:` in
   `notmuch-search-terms(7)` for more information.
 
+Date queries now support `date:<expr>..!` shorthand for
+`date:<expr>..<expr>`
+
+  You can use, for example, `date:yesterday..!` to match from the
+  beginning of yesterday to the end of yesterday. For further details,
+  please refer to the `notmuch-search-terms` manual page.
+
 Notmuch database upgrade to support `lastmod:` queries
 
   The above mentioned `lastmod:` prefix. This will be done
@@ -44,6 +51,16 @@ Database revision tracking
   rollover and reinitialization, and `notmuch-count(1)` gained a
   `--lastmod` option to query database revision tracking data.
 
+The `notmuch address` command supports new deduplication schemes
+
+  `notmuch address` has gained a new `--deduplicate` option to specify
+  how the results should be deduplicated, if at all. The alternatives
+  are `no` (do not deduplicate, useful for processing the results with
+  external tools), `mailbox` (deduplicate based on the full, case
+  sensitive name and email address), and `address` (deduplicate based
+  on the case insensitive address part). See the `notmuch-address`
+  manual page for further information.
+
 Emacs Interface
 ---------------
 
@@ -71,6 +88,19 @@ Library
 The use of absolute paths is now enforced when calling
 `notmuch_database_{open, create}`.
 
+New function `notmuch_directory_delete` to delete directory documents
+
+  Previously there was no way to delete directory documents from the
+  database, leading to confusing results when the "ghost" directory
+  document of a renamed or deleted filesystem directory was
+  encountered every time the parent directory was being scanned by
+  `notmuch new`. The mtime of the old directory document was also used
+  if a directory by the same name was added again in the filesystem,
+  potentially bypassing the scan for the directory. The issues are
+  fixed by providing a library call to delete directory documents, and
+  deleting the old documents in `notmuch new` on filesystem directory
+  removal or rename.
+
 Database revision tracking
 
   Revision tracking is supported via a new prefix "lastmod:" in the