You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New features
Brand settings. The operator's brand replaces the product credit: appearance.brand.accent (a hex colour), .font (system-sans, the default, system-serif, system-mono, or a Google Fonts family, 400/600/700) and .header (auto, the default, which shows the logo when one is set and the site name otherwise; logo; name; logo_and_name). Colours for links, focus rings and button text are chosen to keep contrast. The brand applies to system mails, campaign and archive templates, public pages and the admin preview (D127). Transactional templates, sequence steps and their previews receive the same eight brand values (brand_accent, brand_link, brand_on_accent, brand_font, brand_header, logo_url, site_name, site_url) at the top level of their data, and the sample transactional template uses them (D128). The AGPL source offer moves from the public footer to a "Source code" link in the admin sidebar (D127).
Logo and favicon upload in the brand settings. It needs settings:manage and media:manage (D127).
Site URL. The new setting app.site_url (empty by default; an absolute http or https URL) is the operator's own site. When set, the logo on every public page links to it, result and error pages get a "Back to " link, and the site name in the footer of the opt-in and data mails links to it. It is set in the admin's General settings or with PUT /api/settings/app.site_url. It is not the root URL (D123).
Every public page is branded through one shell, including the /m/ pages, and an empty public subscription form answers 200 (D119).
Webhook secret rotation.POST /api/webhooks/{id}/rotate-secret with overlap_hours (0–168, default 24) returns the new secret once. During the overlap each delivery carries one v1 signature per secret, newest first, and retention clears the old secret after the overlap. MCP tool rotate_webhook_secret. The operations guide has a tested receiver helper (D130).
Operator views for sequence mail. A send log page and a Sends tab on the subscriber show the subject, kind, sequence and step, status and skip reason. Sends are counted by kind, external_id is shown and searchable, and cap holds, skip reasons and condition exits are named (D135). A send queued from this release on stores its template name and sequence name when it is queued (migration 31), so it keeps them after the template or sequence is renamed or deleted, and after a wipe. Steps have no name: a send shows its step's position. Sends queued before the upgrade store no names; they show the live names until the template or sequence is deleted, as before (D139).
Visible skip reasons. A refused sequence start is named in enrollments.skipped (subscriber_blocklisted, or suppressed for marketing), stored on the event and shown in the admin Events tab. Campaign skips keep a reason, listed by GET /api/campaigns/{id}/skipped (D131).
Generated plain-text part. HTML mail sent without an explicit alternative body gets a generated text/plain part. Hidden content and preheader padding are dropped, and links are written as text <URL> (D118). Ordered lists are numbered, and HTML's Greek, symbol and uppercase named references are decoded (D134).
Liquid. Twenty-three filters are added, among them size, json, downcase, replace (literal text, no regular expressions), split, join, truncate, strip_html, the arithmetic filters and url_encode (RFC 3986). A list or object prints as text. Date formats accept %%, and a value that is not a date or a calendar date that does not exist renders empty. A literal nil, empty or blank reads as nil. A save renders the template once against the preview's sample data and refuses a failure the template's own text causes. Before that render, literal filter arguments, date formats and the use of loop objects (forloop) are checked in the template's whole text, including branches the sample data never reaches. URLs are not checked at save. At render, only the built-in URL fields (unsubscribe_url, manage_url, optin_url, message_url, archive_url, logo_url, reset_url, root_url) must be http or https URLs, and track_link accepts only http and https; other URLs in data are not checked, so the caller checks their scheme. divided_by always divides as a decimal, and , true rounds down (D134).
Port 0 for serve.--port 0 or IGLO_EMAIL_PORT=0 binds a port the OS chooses and prints listening on port N. Port 0 needs --root-url (D144).
Suppressions. After a self-wipe, or the public "Unsubscribe from all mailing lists" option, keyed hashes of the email and external ID are stored. Later grants answer suppressed. DELETE /api/suppressions (suppressions:manage) clears a suppression, and so does the person's own opt-in confirmation (D125, D128).
Stable error codes. Every API error carries a stable code, and every 429 and 503 carries Retry-After, including HTML pages (D129, D138).
Changed behaviour and API changes
Campaign test sends are inert. Their links use a reserved placeholder campaign UUID that reaches a test page before any lookup, they are untracked and have no view pixel (D117). Their subject starts with [Test] (D124).
An event's occurred_at more than 15 minutes in the future is refused with 400 invalid_fields, and nothing is written (D124).
An event that names an address whose holder has no external ID claims that holder if it is on no lists or the caller manages one of its lists. Otherwise the answer is 409 email_conflict and nothing is written (D129). An e-mail-only event writes name and attributes under the events permission (D138).
subscriber_events:get is enforced on REST and MCP. Every public state change (manage, export, wipe, blocklist) needs a send or campaign that delivered to the person; the placeholder link of opt-in mail is the exception and only ends pending double opt-ins. POST /subscription/export/{uuid} and POST /subscription/wipe/{uuid} with a subscriber UUID alone answer 404. Export is offered from a campaign's, a marketing send's or a transactional send's own paths; wipe only from a campaign's or a marketing send's (D126, D123).
The transactional manage view never offers a rename and is titled "Your email settings". The placeholder link (that of opt-in mail, and of transactional mail sent before this release) ends only pending double opt-ins, and keeps an active single opt-in membership (D137).
Public pages offer only what a subscriber can act on. The manage link and form are hidden when there is no public list to manage. The public "all lists" option unsubscribes from every list and records a marketing suppression instead of blocklisting, and transactional mail keeps flowing (D128). Public copy says what happened, and a wipe asks for confirmation first (D123).
Webhooks: the public "all lists" option now sends subscriber.unsubscribed with data.list_ids and data.suppressed: true, not subscriber.blocklisted; a single-list unsubscribe's subscriber.unsubscribed has no suppressed field (D128). A self-wipe's subscriber.deleted now carries the person's external_id and list_ids; email stays empty, and an administrative delete's payload is unchanged (D125).
Sequence exits on unsubscribe: leaving one list (a mail's link, the page's form, the API, an admin action, or a bounce's unsubscribe action, which leaves every list) ends only the running enrollments of sequences tied to that list whose next step is marketing. The all-lists option ends every running enrollment whose next step is marketing. An enrollment whose next step is transactional keeps running in both cases. Before, a single-list unsubscribe ended every enrollment of a sequence tied to the list (D128).
Personal pages (/subscription/, /m/, /campaign/) send Cache-Control: no-store, Referrer-Policy: no-referrer, X-Frame-Options: DENY and frame-ancestors 'none'. The signup form stays frameable. Data-export mail is throttled to one per subscriber per ten minutes. Private webhook targets are refused by default (D122).
The send log is scoped to the lists a list-scoped reader holds, in the API, the admin page and MCP (D139).
Settings are validated on save, only the values a save changes: notify emails, from addresses, trusted URLs, sliding window, vacuum cron, S3 expiry and SMTP idle/retry. send_at refuses impossible dates (D136).
After a start, the first send waits one send-rate interval. A transactional send with many recipients yields between renders. An SMTP server that never greets counts as not sent: transactional mail is queued again, and marketing mail is failed and never retried (D140).
A campaign without recipients is finished by the next scan, about 5 s after its start, instead of at once (D120).
GET /api/mcp answers 405 with the JSON error envelope, and step preview and test routes check the step ID before the sequence (D121).
Fixes
An event exit is shown on a single event in the Events tab, which also loads faster for subscribers with many events.
Liquid edge cases: unexposed loop properties are refused at save in every position. A nil, empty or blank input or argument from data in plus, minus, times, divided_by and round renders empty instead of failing the send.
The admin form splits notify_emails at top-level commas only, so a quoted display name with a comma is kept. A save that makes another from_email entry the first one checks that entry.
The placeholder one-click unsubscribe says when nothing changed.
Upgrade notes
Migrations 23 to 31 run at start. As before, a verified snapshot is written to backups/ first. Take and verify a backup before upgrading, as in the operations guide.
Migration 27 rewrites the seeded campaign, archive and sample transactional templates that were never edited: it removes the product credit and applies the brand. Migration 30 rewrites the unedited sample transactional template again so that its button, links and font take the brand. They match on the template's type and its exact seeded body, not its name, so a template that was only renamed is rewritten too; a template whose body was edited (or a campaign template with a stored body_source) is not changed. Remove a credit from those by hand if you want, and use the brand values in them if you want the brand.
webhooks.block_private_addresses is turned on once if it stored false. If you chose false for a receiver on a private network, set it back after the upgrade. At every start, the log names each enabled webhook whose target the block refuses (D122).
Webhook receivers: the public "all lists" option no longer sends subscriber.blocklisted. It sends subscriber.unsubscribed with data.suppressed: true, and the subscriber's status stays enabled. A receiver that treated subscriber.blocklisted as the person leaving every list must handle this event instead. A self-wipe's subscriber.deleted now carries external_id and list_ids (D125, D128).
An integration that used POST /subscription/export/{uuid} or /subscription/wipe/{uuid} with a subscriber UUID alone must use the admin API (GET /api/subscribers/{id}/export, DELETE /api/subscribers/{id}) or a delivered mail's own paths: export through a campaign's, marketing send's or transactional send's paths, wipe only through a campaign's or marketing send's paths (D126).
Transactional mail sent before the upgrade has a manage link to the placeholder path. That link now shows and ends only the subscriber's pending double opt-ins, with no name field, so confirmed lists and the name cannot be changed from it. Recipients use a newer mail or contact the operator (D126, D137).
A person who wiped their data, or used the all-lists option, is no longer put back on a list by an event, create or import. Their grant answers suppressed, and your integration must ask the person to confirm (D125, D128).
app.site_url is empty after the upgrade. Set it to your own site if you want the public pages and the opt-in and data mails to link back to it (D123).
Only an install that ran an untagged build of main from 0d71ed88 onward can hold a stored divided_by. Releases up to v1.4.1 refused it. See the operations guide's upgrade notes (D134).
A brand font set to a Google family makes browsers that open the public pages, archived campaign pages and the admin sign-in pages load it from Google Fonts (fonts.googleapis.com, fonts.gstatic.com). Mail never loads a web font: it names the family in an inline font stack. A system font loads nothing.