v0.7.1
August 20, 2026Search queries that mean what you wrote
- OR now has a precedence. It used to be a flag on the whole query, so a single OR anywhere turned every term into an alternative: from:alice OR from:bob subject:invoice did not mean "either sender, about invoices" — it returned everything from alice, everything from bob and everything whose subject said invoice, whoever sent it. On a 6,787-message mailbox that is the difference between 49 hits and 2,102. A query is now a list of AND-ed groups, each group a list of OR-ed terms, and OR is what puts two terms in the same group: a OR b c reads as (a OR b) AND c. There are still no parentheses.
- after:X before:Y was impossible to express. The query held a single date filter, so the second one silently replaced the first and only before: survived — half of what you typed was dropped without a word. Date and size filters now accumulate, which also turns size:>1mb size:<5mb into a real band.
- after: now includes its own day and before: still excludes its own, so after:2024-01-01 before:2025-01-01 is exactly the year 2024 — the half-open reading Gmail's operators use, and consistent with date:A..B, which was already inclusive. Both manuals and both READMEs document the precedence rule and the date bounds. 23 new tests (234 in total).