Repository navigation
Release 2.4.5
Release Note
Security
- Bearer tokens are now stored as BLAKE3 digests. The migration runs automatically
and idempotently at startup, before the listener binds. Existing tokens keep working;
only the stored form changes. Pending MFA challenges are dropped (they live for five
minutes — retry the login). - Server-side logout. Signing out now invalidates the session on the server instead
of only dropping the client-side token, and the WebUI starts a clean session after
sign-out or sign-in. - Hardening headers are sent on every response.
- Forwarding headers are only trusted from configured proxies.
X-Forwarded-For,
ForwardedandX-Real-IPare ignored unless the peer matches
BICHON_TRUSTED_PROXIES(comma-separated IPs/CIDRs).*restores the old
trust-any behaviour and is insecure — use it only as a temporary escape hatch. - Cross-origin API access is denied unless configured. Set
BICHON_CORS_ORIGINS
for browser apps served from another origin. Same-origin deployments and reverse
proxies are unaffected. - Autoconfig discovery is hardened against SSRF. Private, loopback and link-local
targets — including redirects to them — are refused. - HTML email bodies are sanitised server-side before preview. The archived message
itself is unchanged. - The default admin password must be changed on first login.
- Avatar uploads are shrunk before upload and reject non-image data.
Fixed
- mbox exports now escape
From_lines correctly, and mboxrd imports unescape them,
so export/import round-trips no longer corrupt messages (#423 — thanks
@jayhemnani9910). - The
X-Bichon-Metadataexport header is now opt-in. It adds a header the original
message never had; enable it from the export dialog,bichon-cli --include-metadata,
or the API'sinclude_metadataflag when you need folder/tag restoration on
re-import. - The WebUI import page now decodes
X-Bichon-Metadatacorrectly. The header is
Base64-encoded JSON, but the page parsed the raw value, so auto-detect silently fell
back to Gmail labels or the file name instead of the recorded folder. - Search results show the full source path on hover (#438).
- The rows-per-page trigger no longer clips its focus ring (#436).
Web UI
- Optional top navigation bar (#424).
- Monochrome logo across the app (#426).
- Runtime settings can be edited from the WebUI.
- Language selectors show country flags (#425).
- Accounts table gained an "All" page-size option (#435).
- Stored profile avatars can be removed (#430).
- Table headers are consistent, long role names stay inside the table, and long titles
are ellipsized. - Header action tooltips are unified and localized (#434).
- The auth-type label renders as plain text (#431).
- Text attachment previews are readable and scrollable.
- The dashboard footer stays on screen and the top tables scroll internally.
- Settings tabs, fonts and scroll layout polish.
Upgrade notes
- If the default admin password is still in use, the next login will require setting a
new one. - Behind a reverse proxy, set
BICHON_TRUSTED_PROXIESto the proxy addresses;
otherwise forwarding headers are ignored and the socket peer is treated as the
client address. - Cross-origin frontends or embeds must be listed in
BICHON_CORS_ORIGINS. - Internal autoconfig endpoints (private ranges) are no longer auto-discovered;
configure the IMAP server manually. - Mbox round-trips: enable the metadata header when you plan to re-import. Without
it, Bichon still quotesFrombody lines mboxrd-style, but the importer cannot
prove it should unquote them and cannot restore folders or tags. See
Import & Export → MBOX round-trip. - Do not downgrade to a build older than 2.4.5 after starting 2.4.5. Tokens are
stored as digests that older builds cannot verify, and users would need to recreate
them. - Existing backups and restores are unaffected.
Thanks to @jayhemnani9910 for the mbox From_ escaping fix, to @FasteryXD for the many
detailed issue reports that shaped this release, and to everyone who reported issues and
sent pull requests.
What's Changed
- fix(export): escape From_ lines in mbox exports by @jayhemnani9910 in #423
New Contributors
- @jayhemnani9910 made their first contribution in #423
Full Changelog: 2.4.4...2.4.5