]> git.cworth.org Git - notmuch-wiki/blob - news/release-0.9.mdwn
News for release 0.38.3
[notmuch-wiki] / news / release-0.9.mdwn
1 [[!meta date="2011-10-01"]]
2
3 Notmuch 0.9 (2011-10-01)
4 ========================
5
6 New, general features
7 ---------------------
8
9 ### Correct handling of interruptions during `notmuch new`
10
11 `notmuch new` now operates as a series of small, self-consistent
12 transactions, so it can correctly resume after an interruption or
13 crash.  Previously, interruption could lose existing tags, fail to
14 detect messages on resume, or leave the database in a state
15 temporarily or permanently inconsistent with the mail store.
16
17 Library changes
18 ---------------
19
20 ### New functions
21
22 `notmuch_database_begin_atomic` and `notmuch_database_end_atomic`
23 allow multiple database operations to be performed atomically.
24
25 `notmuch_database_find_message_by_filename` does exactly what it says.
26
27 ### API changes
28
29 `notmuch_database_find_message` (and `n_d_f_m_by_filename`) now return
30 a status indicator and uses an output parameter for the
31 message. This change required changing the SONAME of libnotmuch to
32 libnotmuch.so.2
33
34 Python bindings changes
35 -----------------------
36
37   - Re-encode python unicode objects to utf-8 before passing back to
38     libnotmuch.
39   - Support `Database().begin_atomic()/end_atomic()`
40   - Support `Database().find_message_by_filename()`
41     NB! This needs a db opened in READ-WRITE mode currently, or it will crash
42     the python process. The is a limitation (=bug) of the underlying libnotmuch.
43   - Fixes where we would not throw NotmuchErrors when we should (Justus Winter)
44   - Update for `n_d_find_message*` API changes (see above).
45
46 Ruby bindings changes
47 ---------------------
48
49   - Wrap new library functions `notmuch_database_{begin,end}_atomic.`
50   - Add new exception `Notmuch::UnbalancedAtomicError.`
51   - Rename destroy to destroy! according to Ruby naming conventions.
52   - Update for `n_d_find_message*` API changes (see above).
53
54 Emacs improvements
55 ------------------
56
57   * Add gpg callback to crypto sigstatus buttons to retrieve/refresh
58     signing key.
59   * Add `notmuch-show-refresh-view` function (and corresponding binding)
60     to refresh the view of a notmuch-show buffer.
61
62 Reply formatting cleanup
63 ------------------------
64
65 `notmuch reply` no longer includes notification that non-leafnode
66 MIME parts are being suppressed.