Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package himalaya for openSUSE:Factory checked in at 2026-07-28 18:20:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/himalaya (Old) and /work/SRC/openSUSE:Factory/.himalaya.new.2004 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "himalaya" Tue Jul 28 18:20:33 2026 rev:10 rq:1368199 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/himalaya/himalaya.changes 2026-03-27 06:41:33.510287446 +0100 +++ /work/SRC/openSUSE:Factory/.himalaya.new.2004/himalaya.changes 2026-07-28 18:22:13.583576718 +0200 @@ -1,0 +2,114 @@ +Tue Jul 28 13:11:56 UTC 2026 - Michael Vetter <[email protected]> + +- Update to 2.0.0: + Added: + * Added Gmail REST API support: a [gmail] account backend behind the shared + mail commands (--backend gmail), plus a protocol-specific gmail command + exposing the full REST surface (profile, labels, messages, attachments, + drafts, threads, history, settings). Authenticates with a single OAuth 2.0 + bearer token (gmail.auth.token.raw / .command), the only authorization + Gmail's REST API accepts. + * Added Microsoft Graph REST API support: a [msgraph] account backend behind + the shared mail commands (--backend msgraph), plus a protocol-specific + msgraph command exposing the Graph mail surface (profile, mail-folder, + message, attachment). Mirrors [gmail], authenticating with a single OAuth + 2.0 bearer token. + * Restored the RFC 2971 ID-after-auth quirk as imap.id.{auto, fields}, + replacing the v1.2.0 imap.extensions.id.send-after-auth flag dropped during + the v2 migration. + * Brought the m2dir backend to CLI feature parity with maildir (messages, + flags, envelopes). Mailbox rename and message copy / move still await + io-m2dir support. + * Added --save <MAILBOX> to messages send, mirroring the flag on messages + compose / reply / forward. + * Added --send to messages add (alias messages save), mirroring messages send --save. + * Added raw passthrough commands imap raw <command> and smtp raw <command>. + * The wizard now pre-fills mailbox.alias.* from the server, so a generated + account has a working default mailbox (the inbox alias, which backs + commands that omit -m/--mailbox) and known Sent/Drafts/Trash/… targets + without hand-editing ids. JMAP reads the RFC 8621 mailbox roles live over + the tested connection. Gmail and Microsoft Graph map their fixed + system-label ids (INBOX, SENT, …) and well-known folder names (inbox, + sentitems, …). IMAP pins the reserved INBOX only. The other special-use + roles await LIST RETURN (SPECIAL-USE) support in io-imap (upstream + imap-codec has none yet). + * Added the json-schema <DIR> command, which writes one JSON Schema file per + structured-output command (himalaya-<cmd>-<subcmd>.json) describing its + --json payload, so downstream tooling can validate and type Himalaya's + machine output. Only the schemas for compiled-in backends are emitted + (#547). + * The discovery wizard now falls back to the system DNS resolver + (/etc/resolv.conf on unix, the network adapters on windows) before the + Cloudflare default, making the resolution chain HIMALAYA_DNS_RESOLVER then + system then 1.1.1.1. This avoids leaking the email domain to a third-party + resolver and works around networks that block the default. + * Added local socket-proxy support: imap.server / smtp.server now accept a + unix:///path scheme to connect through a pre-authenticated session proxy + such as sirup. No SASL is negotiated over the socket (the session arrives + already authenticated), and a single-session proxy can back the storage + backend without Himalaya opening a second connection (#264). + Changed: + * Flattened the imap command tree into top-level verbs mirroring the + protocol's flat command list (select, create, append, store, fetch, …), + replacing the former mailbox / envelope / message / flag subgroups. + * Unified raw-message input across the messages, imap, maildir, jmap, msgraph + and smtp send/add commands behind a single MessageArg (file path, inline + raw, or piped stdin), and removed the legacy --file flag on messages add. + * Split the merged Account out of every client wrapper: subcommands now + receive account and client as sibling arguments instead of reaching through + client.account. + * Breaking: changed bare himalaya (no subcommand) to run the account wizard + instead of listing the default account's envelopes. Himalaya is now a + lower-level tool: envelope listing lives under its explicit commands, and + the bare invocation is the natural entry point for setting up an account. + * Changed the wizard to print the generated account as a ready-to-save TOML + document on stdout instead of writing it to disk, mirroring ortie. Redirect + it into your config file yourself (e.g. himalaya > + ~/.config/himalaya/config.toml). It runs on bare himalaya and is still + proposed when a command finds no config, while a config that exists but + lacks the requested account is now a hard error rather than a wizard + trigger. + * The account's connection is tested before the config is printed, so a bad + credential or endpoint stops the wizard instead of yielding a config that + cannot connect. The output is compact: only the [accounts.<name>] table + stays a section header, every other table is flattened into dotted keys + (imap.sasl.plain.username = …), and empty tables and defaulted values + (starttls, alpn, id.auto) are dropped. + * Reworked the wizard's account-setup flow. The discovery list now shows one + entry per reachable service (IMAP + SMTP, JMAP, Gmail, Microsoft Graph), + and the authentication method is chosen in a second, service-specific + prompt: the SASL mechanism (PLAIN, LOGIN, SCRAM-SHA-256, OAUTHBEARER, …) + for IMAP + SMTP, the HTTP scheme (Basic / Bearer) for JMAP. OAuth 2.0 is no + longer a dead-end list entry: it folds into the "API token" credential + prompt, which now offers the OS keyrings and the OAuth token brokers + (Ortie, pizauth, oama) together, the brokers appearing only when the + service advertises OAuth. + * The wizard now tests IMAP and SMTP as it configures them: the IMAP + connection is validated first, then it asks whether SMTP reuses the same + credentials (the two may advertise different auth), re-running the SASL + prompt for a distinct one, and tests SMTP last. + * The wizard no longer prompts for an account name. It is derived from the + input (the domain's first label, or the folder name). Rename it by editing + the printed [accounts.<name>] table key. + Fixed: + * Fixed compilation error when the wizard feature was disabled (#634). + * Fixed mailbox-alias resolution to apply across every shared messages + subcommand (add, read, reply, forward, copy, move) and the --save flag on + compose / reply / forward, so aliases like mailbox.alias.sent are honoured + before the backend call. + * Fixed swapped save/send success messages ("saved" printed after a pure + send, "sent" after a pure save). + Removed: + * Removed the [message.composer.*] / [message.reader.*] config tables and the + compose-with / reply-with / forward-with / mailto / read-with subcommands. + Richer composition now chains standalone tools such as mml into messages + send / add. + * The "stdout = MIME draft" contract was incompatible with composers spawning + an interactive editor, whose UI inherited the parent's piped stdout. + * Dropped HIMALAYA_CONFIG environment-variable support. -c/--config still + accepts one or more :-separated paths. + * Removed the account configure command (alias account edit) and its + per-field edit wizard. Account setup now goes through the bare himalaya + discovery wizard, leaving account list and account check for inspection. + +------------------------------------------------------------------- Old: ---- himalaya-1.2.0.tar.zst New: ---- himalaya-2.0.0.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ himalaya.spec ++++++ --- /var/tmp/diff_new_pack.vI4uRk/_old 2026-07-28 18:22:16.451677113 +0200 +++ /var/tmp/diff_new_pack.vI4uRk/_new 2026-07-28 18:22:16.451677113 +0200 @@ -17,11 +17,11 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -# https://docs.rs/crate/himalaya/1.2.0/features -%global himalaya_features keyring,notmuch,oauth2,pgp-gpg,pgp-native +# https://docs.rs/crate/himalaya/2.0.0/features +%global himalaya_features maildir Name: himalaya -Version: 1.2.0 +Version: 2.0.0 Release: 0 Summary: Command-line interface for email management #SourceLicense: MIT @@ -59,9 +59,9 @@ install -d -m 0755 %{buildroot}%{_datadir}/bash-completion/completions \ %{buildroot}%{_datadir}/fish/vendor_completions.d \ %{buildroot}%{_datadir}/zsh/site-functions %{buildroot}%{_mandir}/man1 -./target/release/%{name} completions bash > %{buildroot}%{_datadir}/bash-completion/completions/%{name} -./target/release/%{name} completions fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish -./target/release/%{name} completions zsh > %{buildroot}%{_datadir}/zsh/site-functions/_%{name} +./target/release/%{name} completion bash > %{buildroot}%{_datadir}/bash-completion/completions/%{name} +./target/release/%{name} completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish +./target/release/%{name} completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_%{name} ./target/release/%{name} man %{buildroot}%{_mandir}/man1 %check @@ -70,7 +70,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files -%license LICENSE +%license LICENSE-MIT LICENSE-APACHE %doc CHANGELOG.md README.md config.sample.toml %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop ++++++ _service ++++++ --- /var/tmp/diff_new_pack.vI4uRk/_old 2026-07-28 18:22:16.599682294 +0200 +++ /var/tmp/diff_new_pack.vI4uRk/_new 2026-07-28 18:22:16.611682714 +0200 @@ -1,7 +1,7 @@ <services> <service name="cargo_vendor" mode="manual"> <param name="src">https://github.com/pimalaya/himalaya.git</param> - <param name="revision">v1.2.0</param> + <param name="revision">v2.0.0</param> <param name="versionrewriteregex">^v?(.*)</param> <param name="versionrewritepattern">$1</param> <param name="update">false</param> ++++++ himalaya-1.2.0.tar.zst -> himalaya-2.0.0.tar.zst ++++++ ++++ 41907 lines of diff (skipped) ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/himalaya/vendor.tar.zst /work/SRC/openSUSE:Factory/.himalaya.new.2004/vendor.tar.zst differ: char 7, line 1
