Repository navigation
Carillon 1 is the first stable release: a local watcher firing hooks on what changes in mailboxes, addressbooks and calendars, over IMAP, JMAP, Maildir, CalDAV, CardDAV, Microsoft Graph, the Google APIs and the pimdir store Neverest syncs, alarms of events and tasks included. It shares the configuration and hook shapes of the other Pimalaya CLIs, and prints what it observes as events, --json feeding status bars and scripts.
A 0.x configuration is not carried over: the hooks are renamed, their notifications take another template syntax, and unknown keys are refused. Start over from config.sample.toml.
Added
-
Added the
pimdirbackend, on by default, firing the alarms of one calendar of a local pimdir store that another tool, such as neverest, keeps in sync.It reads
pimdir.root,pimdir.calendar,pimdir.account(the account the calendar is grouped under, any when unset),pimdir.watch.poll.intervalandpimdir.hooks.on-alarm-trigger. The store is never written, and is opened again on every poll.It reads stores of pimdir storage-v1.0.0 through io-pimdir 1.0.0, a later store too while its
read_versionis 1, and refuses a draft's store codedstore-version, naming its root. -
Added
caldav.hooks.on-alarm-trigger, fired when an alarm of an event or a task of the watched calendar reaches its trigger (pimalaya/calendula#29).Alarms are resolved 48 hours ahead and follow the calendar as it changes. They wait on the wall clock, so time asleep counts and a clock change is followed. The hook reads
$summary,$kind,$trigger,$at,$uid,$etag,$recurrenceId,$alarm,$alarmUidand$action.Nothing is stored: an alarm due while carillon was not running never fires, and one reached more than 15 minutes late is dropped with a log line. Cancelled events, completed tasks, acknowledged alarms and
EMAILalarms never fire. -
Added
on-birthday-triggerundercarddav.hooksandpimdir.hooks, fired once a year for eachBDAYandANNIVERSARYof the watched addressbook,pimdir.addressbooknaming a pimdir one beside or instead ofpimdir.calendar.A date fires at the hook's
atlocal time ("09:00"unset),days-beforedays early (0 unset). A year-less date fires every year with$ageempty, a 29 February on 28 February in a common year, and a date given as text never. The hook reads$name,$kind(birthdayoranniversary),$date,$age,$lateand$uid.A date reached late, the machine asleep, fires on waking the same local day, or up to
late-daysdays later (0 unset),$latecounting the days. As for alarms, nothing due while carillon was not running fires.watchprints abirthday-firedevent for each date that fires. -
Added
msgraph.hooks.on-message-change, fired when a draft is edited in place. -
Added
$collectionto every hook, in notifications and command environments: the collection as the account configured it, whatever the backend calls it. -
Added
timeoutto every hook ("30s","5m",90, zero refused).A command still running past it is sent SIGTERM, then SIGKILL five seconds later, and reported as a
hook-failednaming the timeout. Unset, a command runs until it ends. -
Added
account list(aliasls), printing every account sorted by name with the backends it declares.Under
--json,backendsholds the ones the build serves andnotBuiltthe ones it leaves out, which the text marks(not built). It opens nothing and takes no-a. -
Added
account check, replacingcheck, which stays as its hidden alias with itscarillon-checkschema besidecarillon-account-check. -
Added a stable
codeto the--jsonfailure object and to eachaccount checkrow,nullfor a failure carrying none.permission-denied,quota-exceededandrate-limitedcode a server's refusal (an IMAPNOPERMorOVERQUOTA, an HTTP 403, 429 or 507).mailbox-not-found,calendar-not-foundandaddressbook-not-foundcode a watched collection that does not exist, wherever the backend can tell.account-missing,account-default-missingandaccount-default-severalcode an account-acould not take. A pimdir store carillon cannot read gets io-pimdir's codes:store-version,store-uncreated,store-foreign,store-corrupt,store-not-current,store-hash-algo,store-exposedandsync-version.A watch's
session-lostevent carries the code too, so a reader tells a refused account from a network blip. -
Added the rest of io-pimdir's codes to the
carillon-errorschema, as every pimdir app names them, io-pimdir 1.0.0'ssource-emptyincluded. -
Added
caldav.homeandcarddav.home, pinning the home set.Discovery is skipped and
serverbecomes optional, unread whenhomeis set. A block naming neither is refused when read. -
Added an account-level
tlstable, inherited field by field by each backend'stls(provider,rustls.crypto,cert, andclientas one). -
Added
tls.client.certandtls.client.keyon the account and every network backend, a PEM client certificate and its key for mutual TLS. -
Added units to
<backend>.watch.poll.interval,imap.watch.idle.timeoutandjmap.watch.push.ping:"90s","5m","2h","1d"or"1w", beside integer seconds. -
Added the
notifycargo feature, on by default, gating desktop notifications.A build without it needs no D-Bus and refuses a
notifytable, naming the feature. -
Added the
carillon-errorschema of the failure object tojson-schema, and those ofcompletion,manualandjson-schemaitself.Each schema carries an
$idnaming the contract version (v1). -
Added config.sample.toml to the release archives and the Nix package, as share/doc/carillon/config.sample.toml, which install.sh copies under its prefix.
Changed
-
BREAKING: Changed the hooks to the shape Comodoro's take: the table is
<backend>.hooksand a hook's command iscommand,cmdstaying its alias.Every event is named with a bare verb:
on-<subject>-added,-removedand-changedbecomeon-<subject>-add,-removeand-change(on-message-add,on-flag-remove,on-event-change). The former spellings,<backend>.hookincluded, are refused as unknown keys.on-alarm-triggerkeeps its name. -
BREAKING: Changed hook notifications to pimalaya-config's templates, in the shell syntax hook commands use.
${name:default}becomes${name:-default}.$sender_name,$sender_address,$recipient_nameand$recipient_addressbecome$senderName,$senderAddress,$recipientNameand$recipientAddress, in command environments too.The former spelling is refused when the configuration is read, naming what to rewrite. A default no longer excuses a variable the hook does not have.
-
BREAKING: Changed hook commands to run off the watch, with no stdin, one instance per command of an account.
A slow hook no longer delays the next change nor drops the alarms due meanwhile. Firings wait their turn in order, an exact duplicate dropped, 1000 waiting at most. A shutdown sends SIGTERM to the running commands, then SIGKILL after a second.
-
BREAKING: Changed
watchto print what it observes on stdout, one event per line, then one result line once SIGINT, SIGTERM or SIGHUP stops it ({"stoppedBy":"signal"}, exit 0).The events are
session-opened,session-lost,changed,hook-failedandalarm-fired, described by thecarillon-watchandcarillon-watch.eventsschemas. Text events reach a pipe too, for a status bar, a control or bidi character a server or store handed them printing as U+FFFD.A lost session and a failed hook are events rather than
warnlog lines, and a hook command exiting non-zero is a failed hook. A hook command's stdout goes to carillon's stderr. A second signal ends the process at once with 130.hook-failednames thehookand the itemid.alarm-firedgives itstriggerin UTC (2026-11-20T15:22:22Z), while$triggerand$atkeep the system zone's offset. -
BREAKING: Changed the configuration to refuse an unknown key at the root and in an account, as backend tables already did.
A file is no longer shared with himalaya's account keys. The keys moved under each backend before 0.1 (the account-level
folder,mailbox,collection,watchandhooks, and thedavbackend) are refused as any unknown key. -
BREAKING: Changed a backend the build leaves out to fail coded
backend-not-builtwhen a command reaches it, where 0.2 skipped it.The configuration still loads, so one file serves every build.
watchstops such an account for the run, the others watching on, and fails with exit 1 when none is left. -
BREAKING: Changed the
davcargo feature intocaldavandcarddav, both on by default.A packager building with
--features davbuilds with--features caldav,carddav. No configuration key changes. -
BREAKING: Changed a host that is not ASCII to be refused.
A DAV
serverorhomeor a JMAPservernaming one fails asking for its Punycode form (xn--...), where it was converted silently. -
BREAKING: Changed
-cto take one path per flag, repeated to merge several files.A value is no longer split on
:, and theCARILLON_CONFIGenvironment variable is no longer read. -
BREAKING: Changed
-ato resolve one way inwatchandaccount check.-a defaultnames the account calleddefault, wherechecktook the account marked default (omit-afor that). An unknown name lists the accounts the configuration holds, and several accounts marked default are refused, where one of them was picked. -
BREAKING: Changed a bare
carillonfinding no configuration to fail with exit 1, naming the path it looked at and the sample, where it printed the help and exited 0.With a configuration, a broken one included, it still prints the help. Under
--jsonit is refused codedusage-invalid, exit 2. -
BREAKING: Changed
manual,completionandjson-schemagiven no argument to be refused naming--dir, exit 2, wheremanualandcompletionprinted their help. -
BREAKING: Changed a command line refused under
--jsonto print the failure object codedusage-invalidon stdout, nothing on stderr, still exiting 2. -
BREAKING: Changed
account checkto exit 3 when a backend failed, once its report is printed. -
BREAKING: Changed the
account checkoutput to pimalaya-cli's list of accounts.--jsonprints{"accounts": [{"account", "backends"}]}, each backend row carryingbackend,ok,error,codeandtls. The text printsAccount:then one aligned<backend>:field per backend.tlsis the TLS the backend resolved to,{provider, crypto, cert, clientCert}, ornullfor a local backend or a cleartext connection. The text appends, TLS <parts>to the row. -
Changed piped
--jsonoutput to print one value per line. -
Changed the default features to include
vendored: a default build bundles SQLite and D-Bus, where it linked the system libraries and failed to start without them. -
Changed
caldav.calendarandcarddav.addressbooknaming one path segment to be looked up under the home set the server's principal names, the id an account listing gives.Absolute paths and other relative paths read as before.
-
Changed
caldav.calendarandcarddav.addressbookto take a listed id percent-decoded or not (My BookorMy%20Book).A DAV hook's
$idkeeps the spelling of the href the server serves,%20included. -
Changed
gpeople.addressbook = "contacts"to watch every contact the account owns, andmsgraph.addressbook = "contacts"to name the default contact folder. -
Changed an IMAP or Gmail watch reopened after a lost session to report what moved during the outage, where it took a new baseline.
An IMAP mailbox recreated meanwhile still takes one. The JMAP event stream reopens from the last event read, so a server keeping its events pushes what moved between two streams.
-
Changed config.sample.toml to Himalaya's shape: one commented key per line with a short note, a section per backend, flat
proxyandtlskeys, every hook listed; it loads as written and with each alternative uncommented. -
Changed the help to print each paragraph on one line whatever the terminal width, and without colour.
Removed
-
BREAKING: Removed the wizard: the
configurecommand (aliaswizard) and the offer to run it when no configuration is found.A configuration is written by hand from config.sample.toml. A command finding none at a terminal shows the commands creating it from the sample.
Fixed
-
Fixed
account checkpassing amaildirblock whose root is no Maildir or lacks the mailbox: the row opens and lists the mailbox as a watch does, failing codedmailbox-not-found. -
Fixed an IMAP watch losing every change against a server answering its
ENABLEwith a bareOK: it takes the QRESYNC path only whenENABLEDnames QRESYNC. -
Fixed IMAP flags reaching
$flagand the--jsonevents as sent (\Seen,$Forwarded).A system flag now reads without its backslash and
$ForwardedreadsPassed, as on JMAP and Maildir. Flag filters matched either spelling and are unchanged. -
Fixed IMAP and Gmail arrivals handing their hook RFC 2047 encoded words (
=?UTF-8?Q?R=C3=A9union?=).$subject,$sender,$senderName,$recipientand$recipientNameare decoded. -
Fixed a Gmail arrival reading
$recipientfromTocut at its first comma, so"Doe, Jane" <jane@example.org>gave"Doe. -
Fixed an IMAP arrival resolving to another message's data when the server adds a FETCH of its own to the answer.
-
Fixed
imap.sasl.scram-sha-256failing as an unsupported mechanism. -
Fixed a Gmail history listing that never ends holding the watch: it stops on a repeated page token or past 1000 pages, and the watch resumes from now.
-
Fixed
-bnaming a backend the account has no block for failing uncoded,watchretrying it for ever.account checkandwatchfail codedcapability-missing, andwatchstops that account for the run. -
Fixed a JMAP round of more items than the server's
maxObjectsInGetbeing refused, so none of them fired a hook. -
Fixed a JMAP round reading one
/changesanswer only, the rest of ahasMoreChangesbatch waiting for the next push or poll. -
Fixed a JMAP watch missing what moved while its server answered
cannotCalculateChanges: the collection is listed again and only what differs is reported. -
Fixed a JMAP collection larger than one page being watched as its first page.
-
Fixed a JMAP item moving while its collection was first listed being lost.
-
Fixed a JMAP watch presenting its first credential after a reconnect, so a rotated token lost the session and the change that came with its expiry.
-
Fixed a dead JMAP event stream holding a push watch: one that sent nothing for three pings is opened again.
-
Fixed a DAV watch or an IMAP envelope resolution holding a dead connection after a resume or a network change until TCP gave up: a request unanswered for 60 seconds fails and the connection is reopened.
-
Fixed a DAV watch losing what moved when the server closed its idle connection: the round is run again on a fresh connection.
-
Fixed a DAV server with no
sync-collectionbeing unwatchable: the collection is listed on every poll instead. -
Fixed a rejected DAV sync token hiding what moved meanwhile.
-
Fixed a DAV listing reading a member the server answered with an error (a 403, a 5xx) as removed: no removal is reported and a warning is logged.
-
Fixed a DAV answer that is not one whole multistatus reading as a shorter listing: the round fails.
-
Fixed a calendar holding events and tasks skipping every member whose content type names no component.
-
Fixed a DAV collection id naming no collection reaching the server (
"",/,..,work/x/..).An id that is empty,
/alone, or holds an empty,.or..segment, encoded forms included, is refused before connecting, codedcalendar-not-foundoraddressbook-not-found. -
Fixed a relative DAV collection id holding a byte a path segment cannot hold raw being sent as given: it is percent-encoded,
\included. -
Fixed a DAV server answering 401 to a block with no
authfailing with a bareWebDAV server returned HTTP 401: the error says the account configures noauth. -
Fixed a Microsoft Graph contact folder or calendar past the first listing page not being found by id, nested contact folders included.
-
Fixed a
gpeoplewatch failing on a sync-token page whosetotalItemsis negative. -
Fixed hook notification variables read as markup where the daemon reads it:
Alice <alice@example.org>shows as written.&,<,>,"and'are escaped, a line break or a tab turns into a space, and other control and bidirectional override characters are dropped. -
Fixed a credential command prompting for a password hanging: it reads the terminal again.
-
Fixed install.sh fetching from soywod/carillon archive names no release publishes: it fetches the
aarch64-linux,x86_64-darwinandaarch64-darwinarchives from pimalaya/carillon, and installs on i686, armv6l and armv7l Linux too. -
Fixed install.sh saving an HTTP error page as the archive: the download fails on an HTTP error.
Security
-
Fixed RUSTSEC-2026-0382, RUSTSEC-2026-0383, RUSTSEC-2026-0385 and RUSTSEC-2026-0387 by bumping crypto-bigint to 0.7.10, ctutils to 0.4.6, rustls-webpki to 0.103.16 and webpki-root-certs to 1.0.11.
-
Fixed a hostile or broken server crashing, stalling or exhausting the watch.
HTTP response heads are capped at 64 KiB and bodies at 256 MiB, a body cut short fails, and a huge chunk size no longer panics. An IMAP greeting carrying a literal no longer panics, FETCH lines are scanned under a cap, and a WebDAV multistatus is parsed in linear time, its nesting capped at 64 where a deep one overflowed the stack.
-
Fixed passwords and SASL responses reaching IMAP trace logs.
-
Fixed a TOML parse error printing its source line, which may hold a secret.
-
Fixed a text error report printing raw the control characters a server handed it: its chain is sanitized line by line.
-
Changed
--log-fileto create its file readable by its owner alone (0600) and to refuse a symbolic link.