diff --git a/CHANGELOG.md b/CHANGELOG.md index 18eca2df..aef215fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,96 @@ https://github.com/inbuxa/inbuxa-server/security/advisories. Every version PR adds that version's entry here. CI refuses a version this file has no entry for (`tools/release/version.py --changelog`). +## [27.1-rc.32] - 2026-11-19 + +Passkey sign-in, a Logs page that can filter and follow, subjects in +delivery history, a dark-mode logo, QR-code links in the spam filter, and +the server-side pieces for running inbuxa on Kubernetes. + +### Added +- Passkeys: accounts can sign in with a passkey on the server's sign-in + page, by autofill or a "Sign in with a passkey" button, in both the + authorization-code and device flows. A passkey is enough on its own, with + no TOTP code after it. Passkeys are added on a new page the server hosts, + `/passkey/register`, after the password (and TOTP code) or an existing + passkey, and managed over JMAP as `inbuxa:Passkey`. Removing one signs the + account out everywhere. Passkeys are allowed by default; `passkeysAllowed` + turns them off for the server, a tenant or a domain, and the session tells + clients whether this account may add one. Accounts on an external + directory (LDAP, SQL, OIDC) can't use passkeys, and IMAP, SMTP and the + other mail protocols still use passwords or app passwords. Spec: + `docs/spec/features/passkeys.md`. Thanks to Stefan. (#466, #468, #469, + #470, #471, #474, fixes #334) +- Delivery history: inbound and outbound lists show each message's subject. + It comes from a debug-level event, `queue.message-subject`, capped at 255 + characters, so it stays out of info-level log files and OpenTelemetry + exports. Only full administrators can read it, and it is kept as long as + history is. History stored before this release has no subject. Thanks to + Faisal. (#452, fixes #228) +- Logs: `x:Log/query` filters by level and above, component and time, and + the Log tracer can write JSON lines (`format`: `text`, the default, or + `json`). The Logs page reads text, JSON and a file holding both. Thanks to + Stefan. (#455, #462, fixes #456) +- Branding: a separate logo for dark mode, `logoDark` on domains and + tenants and `logoUrlDark` server-wide. `/logo?theme=dark` serves it, or + the ordinary logo where none is set; the built-in sign-in and RSVP pages + ask for it when they show dark. Emails keep the light logo. Thanks to + Faisal. (#459, fixes #410) +- Spam filter: "Check links in QR codes" (`scanQrCodes`, off by default) + reads QR codes in a message's images and sends the links through the same + checks as its other links, adding the tag `QR_CODE_URL` (score 0.0 in the + bundled rules, now 3.0.2-inbuxa.2). At most 4 images a message, 4 MB and + 16 megapixels each, and 1 s in all. Thanks to Stefan. (#463, fixes #401) +- OAuth token revocation (RFC 7009) at `POST /auth/revoke`, listed in both + discovery documents. A revoked token is refused on every node until it + would have expired. (#438) +- `inbuxa --upgrade-store` upgrades the store layout and exits, and + `inbuxa --upgrade-plan` says, read only, what it would do and whether a + step needs every other node stopped. Both are for orchestrators that + upgrade the store as a job of its own. (#448, #457) +- `inbuxa --seed ` sets up a new store from a file of JMAP method + calls, once, then exits. Spec: `docs/spec/features/store-seed.md`. (#451) +- Secrets from files: `INBUXA_RECOVERY_ADMIN_FILE`, + `INBUXA_WEBMAIL_CLIENT_SECRET_FILE` and, for the relay, + `INBUXA_RELAY_JOIN_TOKEN_FILE`. Setting both forms, or naming a file that + is missing or empty, stops the start. (#461) +- `INBUXA_LISTENER_PORTS` moves or leaves out the default listeners a new + store gets, for example `smtp=2525,submissions=4465,imaps=9993,pop3s=off,https=8443`. + (#443) +- `INBUXA_HTTP_USE_FORWARDED=true|false` overrides "Use X-Forwarded-For" + from the environment. (#467) + +### Changed +- The container image runs with every capability dropped: the binary no + longer carries `cap_net_bind_service` as a file capability. Docker is + unaffected. Elsewhere, binding a port below 1024 needs + `CAP_NET_BIND_SERVICE`, the `net.ipv4.ip_unprivileged_port_start` sysctl, + or higher ports through `INBUXA_LISTENER_PORTS`, and a refused bind now + says so. (#443) +- A start that can't open the data store exits with a code per case: 78 + bad configuration, 69 unreachable, 77 credentials refused, 76 TLS failed, + 1 anything else, with "data store: " on its last line. Before, every + case exited 1. (#472) + +### Fixed +- TLS: with no default certificate set, a connection with no or an unknown + name got whichever certificate came first, and every handshake logged a + warning. The server now uses the certificate for its own hostname (or a + wildcard on its domain), else the first by name, and logs the warning + once per certificate load. Thanks to khashmeshab. (#450, fixes #418) +- Cluster: after a server was renamed, its old node stayed on the dashboard + as "not responding" for a day. The old lease is now dropped once it has + missed two renewals. (#460) + +### Upgrading +- Nothing special: 27.1-rc.31 to 27.1-rc.32 rolls like any update, with no + store layout step. +- Rolling back: an older server can't read delivery-history entries stored + after this upgrade, drops a dark logo if it saves that branding record + again, and ignores a Log tracer's `format` (it writes text). +- Scripts that read the exit code of a failed start: see the data store + codes above. + ## [27.1-rc.31] - 2026-11-18 27.1-rc.30 with 3 security fixes from our own review of the suite (1 high, diff --git a/Cargo.lock b/Cargo.lock index 46c5d2e3..d5455725 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1330,7 +1330,7 @@ dependencies = [ [[package]] name = "common" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "aes-gcm-siv", "ahash", @@ -1518,7 +1518,7 @@ checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" [[package]] name = "coordinator" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "async-nats", "futures", @@ -2003,7 +2003,7 @@ checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" [[package]] name = "dav" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "calcard", "chrono", @@ -2027,7 +2027,7 @@ dependencies = [ [[package]] name = "dav-proto" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "calcard", "chrono", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "directory" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "argon2 0.6.0", @@ -2542,7 +2542,7 @@ dependencies = [ [[package]] name = "email" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "aes 0.9.3", "aes-gcm 0.11.1", @@ -3268,7 +3268,7 @@ dependencies = [ [[package]] name = "groupware" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "calcard", @@ -3570,7 +3570,7 @@ dependencies = [ [[package]] name = "http" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "async-stream", "base64 0.23.1", @@ -3658,7 +3658,7 @@ dependencies = [ [[package]] name = "http_proto" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "common", "compact_str", @@ -4176,7 +4176,7 @@ checksum = "65b27460c2c92b037f3f94c538ed9a3342f3fdf923606781629ccb35f82d042a" [[package]] name = "imap" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "common", @@ -4201,7 +4201,7 @@ dependencies = [ [[package]] name = "imap_proto" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "base64 0.23.1", @@ -4216,7 +4216,7 @@ dependencies = [ [[package]] name = "inbuxa" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "common", "coordinator", @@ -4224,7 +4224,7 @@ dependencies = [ "directory", "email", "groupware", - "http 27.1.0-rc.31", + "http 27.1.0-rc.32", "http_proto", "imap", "jmap", @@ -4250,7 +4250,7 @@ dependencies = [ [[package]] name = "inbuxa-features" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "aho-corasick", @@ -4284,7 +4284,7 @@ dependencies = [ [[package]] name = "inbuxa-outbound-tls" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "idna", "mail-auth", @@ -4298,7 +4298,7 @@ dependencies = [ [[package]] name = "inbuxa-relay" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "aws-lc-rs", "futures-util", @@ -4323,7 +4323,7 @@ dependencies = [ [[package]] name = "inbuxa-relay-proto" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "aws-lc-rs", "base64 0.23.1", @@ -4571,7 +4571,7 @@ dependencies = [ [[package]] name = "jmap" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "async-stream", "base64 0.23.1", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "jmap_proto" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "calcard", @@ -5169,7 +5169,7 @@ dependencies = [ [[package]] name = "managesieve" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "common", "compact_str", @@ -5304,7 +5304,7 @@ checksum = "c797b9d6bb23aab2fc369c65f871be49214f5c759af65bde26ffaaa2b646b492" [[package]] name = "migration" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "common", "email", @@ -5574,7 +5574,7 @@ dependencies = [ [[package]] name = "nlp" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "hashify", @@ -6504,7 +6504,7 @@ dependencies = [ [[package]] name = "pop3" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "common", "directory", @@ -6726,7 +6726,7 @@ dependencies = [ [[package]] name = "proc_macros" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "quote", "syn 3.0.9", @@ -7383,7 +7383,7 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "registry" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "hashify", @@ -7979,7 +7979,7 @@ dependencies = [ [[package]] name = "scim" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "base64 0.23.1", @@ -8005,7 +8005,7 @@ dependencies = [ [[package]] name = "scim-proto" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "hashify", "serde", @@ -8383,7 +8383,7 @@ dependencies = [ [[package]] name = "services" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "aes-gcm 0.11.1", "aho-corasick", @@ -8708,7 +8708,7 @@ checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" [[package]] name = "smtp" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "base64 0.23.1", @@ -8801,7 +8801,7 @@ dependencies = [ [[package]] name = "spam-filter" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "common", "compact_str", @@ -8949,7 +8949,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "store" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "arc-swap", @@ -9209,7 +9209,7 @@ dependencies = [ [[package]] name = "tests" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "aws-lc-rs", @@ -9231,7 +9231,7 @@ dependencies = [ "form_urlencoded", "futures", "groupware", - "http 27.1.0-rc.31", + "http 27.1.0-rc.32", "http_proto", "hyper", "hyper-util", @@ -9847,7 +9847,7 @@ dependencies = [ [[package]] name = "trc" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "base64 0.23.1", @@ -9956,7 +9956,7 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "types" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "blake3", "compact_str", @@ -10126,7 +10126,7 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "utils" -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" dependencies = [ "ahash", "arcstr", diff --git a/Cargo.toml b/Cargo.toml index 84cd64a8..915ac4bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ members = [ # 27.1.3 is "27.1.3", 27.1.0-rc.1 is "27.1-rc.1". tools/release/version.py # reads and bumps it. [workspace.package] -version = "27.1.0-rc.31" +version = "27.1.0-rc.32" [workspace.lints.clippy] result_unit_err = "allow"