v0.7.2
Upgrade note
- The every-minute mail.tm poll is no longer in the default
wrangler.jsonc. Domain deployments stop being invoked 1,440 times a day. If you run mail.tm mode, add "*/1 * * * *" back to triggers.crons and redeploy, or you'll receive no mail.
- Cloudflare preview URLs are now off by default (
preview_urls: false).
Changed
/new now shows the address's short ID in front of the address, as /list does (#12345 address@yourdomain.com), on Discord, Telegram and Slack.
Fixed
/new no longer fails for everyone when create and torch churn fills the shared short-id pool. Torching an address now releases its id immediately.
- Rate limits and the active-address cap now hold under concurrent commands.
- Telegram no longer redelivers and re-runs a command when the reply can't be sent, for example if the bot is blocked.
- Mail with a malformed numeric HTML entity is no longer dropped.
- Expiry reminders on Telegram and Slack now show a real UTC time and the correct opt-out command. Reminders per run are capped at 20 owners.
- Reminder bookkeeping no longer breaks for an owner with more than 99 due addresses.
- Discord: mail with more than 10 attachments is no longer rejected whole. Extras are dropped with a note.
- mail.tm: a message that can't be parsed no longer blocks its mailbox or stops other mailboxes from being polled.
- mail.tm: messages are no longer delivered twice.
- mail.tm: oversized messages are dropped.
- mail.tm: no orphaned mailbox is left when registering an address fails.
- mail.tm:
/new is faster because the domain is cached and create retries are capped at 3.
Security
- HTML-to-text conversion now runs in linear time. A crafted 256KB email used to cost about 23 seconds of CPU.
- Sender-controlled links, Slack control syntax (
<!channel>, masked links) and newline-forged Subject and From lines no longer render as live markup on Discord or Slack.
- Attachment filenames are stripped of control and bidi characters and path separators. The "original HTML attached" note now warns that it is the sender's markup.
- Discord requests older than 5 minutes are rejected. Oversized unauthenticated request bodies get a 413.
/counters is cached for 5 minutes, which protects D1 read quotas.
- Telegram webhook secret is compared in constant time.
- The status page now sends a CSP,
nosniff and frame-ancestors 'none'.
- Rate-limit lookups ignore inherited property names such as
/constructor.
- Logs show short ids instead of full addresses.
- CI uses a read-only token and no persisted checkout credentials. The mirror workflow does the same.
Known issues
- Daily cleanup can delete a row even if the mail.tm account deletion failed.
https://cindermail.xyz
Roadmap