The Himalaya CLI scope has changed. It does not include anymore the synchronization, nor the envelope watching. These scopes have moved to dedicated projects:
- Neverest CLI, CLI to synchronize, backup and restore emails
- Mirador CLI, CLI to watch mailbox changes
Due to the long time difference with the previous v1.0.0-beta.4 release, this changelog may be incomplete. The simplest way to upgrade is to reconfigure Himalaya CLI from scratch, using the wizard or the config.sample.toml.
Himalaya CLI will now try to adopt the conventional commits specification. Tools like git-cliff may help us generating more accurate changelogs in the future.
Added
-
Added
message editcommand to edit a message. To edit on place (replace a message), use--on-place. -
Added
account.list.table.presetglobal config option,accounts.<name>.folder.list.table.presetandaccounts.<name>.envelope.list.table.presetaccount config options.These options customize the shape of tables, see examples at
comfy_table::presets. Defaults to"|| |-||| ", which corresponds tocomfy_table::presets::ASCII_MARKDOWN. -
Added
account.list.table.name-colorconfig option to customize the color used for the accounts'NAMEcolumn (defaults togreen). -
Added
account.list.table.backends-colorconfig option to customize the color used for the folders'BACKENDScolumn (defaults toblue). -
Added
account.list.table.default-colorconfig option to customize the color used for the folders'DEFAULTcolumn (defaults toreset). -
Added
accounts.<name>.folder.list.table.name-coloraccount config option to customize the color used for the folders'NAMEcolumn (defaults toblue). -
Added
accounts.<name>.folder.list.table.desc-coloraccount config option to customize the color used for the folders'DESCcolumn (defaults togreen). -
Added
accounts.<name>.envelope.list.table.id-coloraccount config option to customize the color used for the envelopes'IDcolumn (defaults tored). -
Added
accounts.<name>.envelope.list.table.flags-coloraccount config option to customize the color used for the envelopes'FLAGScolumn (defaults toreset). -
Added
accounts.<name>.envelope.list.table.subject-coloraccount config option to customize the color used for the envelopes'SUBJECTcolumn (defaults togreen). -
Added
accounts.<name>.envelope.list.table.sender-coloraccount config option to customize the color used for the envelopes'FROMcolumn (defaults toblue). -
Added
accounts.<name>.envelope.list.table.date-coloraccount config option to customize the color used for the envelopes'DATEcolumn (defaults todark_yellow). -
Added
accounts.<name>.envelope.list.table.unseen-characcount config option to customize the char used for unseen envelopes (defaults to*). -
Added
accounts.<name>.envelope.list.table.replied-characcount config option to customize the char used for replied envelopes (defaults toR). -
Added
accounts.<name>.envelope.list.table.flagged-characcount config option to customize the char used for flagged envelopes (defaults to!). -
Added
accounts.<name>.envelope.list.table.attachment-characcount config option to customize the char used for envelopes with at least one attachment (defaults to@).
Changed
-
Refactored the
account configurecommand: this command stands now for creating or editing account configurations from the wizard. The command requires thewizardcargo feature. -
Improved the
account doctorcommand: it now checks the state of the config, and the new--fixargument allows you to configure keyring, OAuth 2.0 etc. -
Improved long version
--version. [#496] -
Improved error messages when missing cargo features. For example, if a TOML configuration uses the IMAP backend without the
imapcargo features, the errormissing "imap" featureis displayed. #20 -
Normalized enum-based configurations, using the internally tagged representation
type =. It should reduce issues due to misconfiguration, and improve othe error messages. Yet it is not perfect, see #802:-
imap.*,maildir.*andnotmuch.*moved tobackend.*:# before imap.host = "localhost" imap.port = 143 # after backend.type = "imap" backend.host = "localhost" backend.port = 143
-
smtp.*andsendmail.*moved tomessage.send.backend.*:# before smtp.host = "localhost" smtp.port = 25 # after message.send.backend.type = "smtp" message.send.backend.host = "localhost" message.send.backend.port = 25
-
pgp.backendrenamedpgp.type:# before pgp.backend = "commands" pgp.encrypt-cmd = "gpg --encrypt --quiet --armor <recipients>" # after pgp.type = "commands" pgp.encrypt-cmd = "gpg --encrypt --quiet --armor <recipients>"
-
{imap,smtp}.authmoved as well:# before imap.password.cmd = "pass show example" smtp.oauth2.method = "xoauth2" # after backend.auth.type = "password" backend.auth.cmd = "pass show example" message.send.backend.auth.type = "oauth2" message.send.backend.auth.method = "xoauth2"
-
-
Moved IMAP and SMTP
encryptiontoencryption.type.This change prepares the config to accept different TLS providers with their options. The
trueandfalsevariant have been removed as well:# before backend.encryption = "none" # or false backend.encryption = "start-tls" message.send.backend.encryption = "tls" # or true # after backend.encryption.type = "none" backend.encryption.type = "start-tls" message.send.backend.encryption.type = "tls"
Fixed
- Fixed pre-release archives issue. [#492]
- Fixed mailto parsing issue. [core#10]
- Fixed
Answeredflag not set when replying to a message. [#508]
Removed
- Removed systemd service from
assets/folder, as Himalaya CLI scope does not include synchronization nor watching anymore.