Skip to content

2.30.0

Choose a tag to compare

@goldnead goldnead released this 18 Oct 17:40
· 100 commits to main since this release
ceff551

Changed: "Recent Grant" sees a lead magnet's grant on a reader without an account

statamic-lead-magnets writes the grant of a download freebie on the address as a contact (subject type lead-magnet-contact, id a hash of the address), not as an email subject and not on an account. "Recent Grant" asked after those two only, so for a reader who had just confirmed a freebie it answered found: false, and a flow that branches on it (a welcome series that wants to bridge from the freebie) never learned that one had come first.

It now asks the lead-magnets addon for the address's contact (LeadMagnetSubject::for()) and reads that subject's grants as well. Without the addon nothing changes. automations.integrations.lead_magnets.subject names the class (default Goldnead\LeadMagnets\Support\LeadMagnetSubject). Only "Recent Grant" is affected; "Check Access" is unchanged.

No migration, no new required config key.

2.29.1 — 2026-10-18

Fixed: the mail tile's browser is sealed off

The browser that photographs a send_email mail for the canvas (2.28.0) ran without its sandbox and loaded whatever the mail's HTML referenced. Now:

  • The HTML is reduced before the browser sees it: scripts, frames, plugins, SVG, stylesheets, <base>, meta refresh, image-set() and any style block or attribute with a CSS escape are removed, and every loadable URL (src, srcset, background, poster, CSS url(), @import) survives only as data:, cid: or on the app's own host. Anything else, relative paths and file:// included, becomes a transparent pixel.
  • Chromium is started with JavaScript off and a dead proxy that catches every request, loopback included, except the app's own host.
  • The sandbox stays on. It is switched off only when running as root (where Chromium refuses to start with it, the usual container case) or when automations.thumbnails.no_sandbox / STATAMIC_AUTOMATIONS_NO_SANDBOX says so.
  • automations.thumbnails.timeout (default 20 seconds per mail) replaces the fixed 30.
  • Deleting an automation now deletes its pictures (automations/thumbs/{uuid}/), on both the database and the flat-file driver.

Not covered: a mail that references an image on the app's own host is drawn with that image (that is the point of the allow-list); a sandbox-less host (root, container) still runs Chromium unsandboxed, now on sanitized HTML with no network.

Changed: requires goldnead/statamic-flow-canvas ^1.6.1

1.6.1 moves the canvas components from Tailwind utilities to plain CSS, so an installation that only has this addon draws them correctly.

Upgrading

No migration. Set STATAMIC_AUTOMATIONS_NO_SANDBOX=true only if Chromium fails to start with the sandbox on a non-root user.