Import upstream v1.1.0 #88

Merged
jcoffey-dev merged 2 commits from import/upstream-v1.1.0 into main 2026-11-17 15:42:34 +00:00
Owner

Merges upstream v1.1.0 (refs #86), keeping main's own layout.

Upstream's v1.1.0 reorganized its source tree and rewrote most of the moved files (rename similarity 30-45%). The only behavior change in v1.0.17..v1.1.0 is the Email/parse rematch on export, which #87 covers with our own fix and test. So this merge records upstream v1.1.0 as merged and takes:

  • the dependency updates: mail-parser 1.0.1, rusqlite 0.43, hashify 0.3.2, plus patch bumps
  • mail-parser 1.0 API changes: emailmeta reads Message-ID/Keywords through headers().all() and addresses through AddressList::mailboxes(); Takeout label decoding uses HeaderForm::Text (the parsers::MessageStream path is gone)

Left out: upstream's console module (its banner prints the Stalwart logo) and terminal_size, which only it uses.

Note for later imports: upstream's files now live at new paths, so future releases will conflict as modify/delete against main's layout. Each one will need its fixes ported by hand, the way #87 ported v1.0.17's.

Checks (local):

  • cargo fmt --check, cargo clippy --locked --all-targets: clean
  • cargo test --locked: 1727 passed, 0 failed, 71 ignored
  • cargo test --locked --test integration_inbuxa -- --ignored (inbuxa rc.4 container): 4 passed
  • Upstream diff 0c02119..6afddcf scanned: no hidden characters, no text aimed at automated tools

After this lands: push refs/heads/upstream (6afddcf) to origin and close #86.

Merges upstream v1.1.0 (refs #86), keeping main's own layout. Upstream's v1.1.0 reorganized its source tree and rewrote most of the moved files (rename similarity 30-45%). The only behavior change in v1.0.17..v1.1.0 is the Email/parse rematch on export, which #87 covers with our own fix and test. So this merge records upstream v1.1.0 as merged and takes: - the dependency updates: mail-parser 1.0.1, rusqlite 0.43, hashify 0.3.2, plus patch bumps - mail-parser 1.0 API changes: emailmeta reads Message-ID/Keywords through `headers().all()` and addresses through `AddressList::mailboxes()`; Takeout label decoding uses `HeaderForm::Text` (the `parsers::MessageStream` path is gone) Left out: upstream's console module (its banner prints the Stalwart logo) and `terminal_size`, which only it uses. Note for later imports: upstream's files now live at new paths, so future releases will conflict as modify/delete against main's layout. Each one will need its fixes ported by hand, the way #87 ported v1.0.17's. Checks (local): - `cargo fmt --check`, `cargo clippy --locked --all-targets`: clean - `cargo test --locked`: 1727 passed, 0 failed, 71 ignored - `cargo test --locked --test integration_inbuxa -- --ignored` (inbuxa rc.4 container): 4 passed - Upstream diff 0c02119..6afddcf scanned: no hidden characters, no text aimed at automated tools After this lands: push `refs/heads/upstream` (6afddcf) to origin and close #86.
jcoffey-dev added 2 commits 2026-11-17 15:23:01 +00:00
Upstream commit 08ccf5ddfe9bcdd973df6cab8f89374e454af091, renamed by scripts/upstream-import.py.
Merge upstream v1.1.0
ci / test (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 4m51s
ci / announce (pull_request) Skipped
c3f199c153
Upstream's v1.1.0 is a reorganization of its source tree (src/db ->
src/archive, src/sync/import_* -> src/import/*, src/sync/export ->
src/export, src/exchange_* -> src/exchange/*, src/cli.rs -> src/cli/), with
most moved files rewritten. Main keeps its own layout: the fork's changes in
those files and its own modules are too far from upstream's new code to
port without reworking tested code, and v1.1.0 changes no behavior apart
from v1.0.17's Email/parse rematch, which #87 covers with our own fix.

Taken: the dependency updates (mail-parser 1.0.1, rusqlite 0.43,
hashify 0.3.2 and patch bumps). mail-parser 1.0 changed its API:
emailmeta reads Message-ID and Keywords through headers().all() and
addresses through AddressList::mailboxes(), and Takeout label decoding
uses HeaderForm::Text instead of the removed parsers::MessageStream.

Left out: upstream's console module, whose banner prints the Stalwart
logo, and terminal_size, which only it uses.

Refs #86.
jcoffey-dev merged commit 0a8dbecc70 into main 2026-11-17 15:42:34 +00:00
jcoffey-dev deleted branch import/upstream-v1.1.0 2026-11-17 15:42:34 +00:00
Sign in to join this conversation.