Repository navigation
0.9.5
Added
GET /healthchecks D1 and R2 and answers{"ok":true,"d1":"ok","r2":"ok"}, or 503 naming the store that failed. The Worker answers it before the Access check. Add/healthto the Access bypass next to/mcpand/.well-known(docs/setup.md, step 5);npm run smokechecks it and fails until it's there.- Error alerts. Requests that throw, inbound mail the Worker can't store and failed cron steps are recorded. With
ALERT_TOset invars, the hourly cron mails that address the errors since the last alert, and a failed health check, from the first address inEMAIL_ADDRESSES. Unset sends nothing. Recorded errors are kept 30 days. npm run test:browseropens the mail view in Chromium at desktop width and at 375px against a dev server with local bindings and the sample inbox. CI runs it as thebrowserjob.
Changed
-
The app is PlaraMail.
APP_NAMEdefaults to PlaraMail, the lockups and the link preview card carry the new wordmark, and the MCP server reports its name asplaramail. The Fold mark and the app icons are unchanged. -
Build env vars are
PLARAMAIL_WRANGLER_CONFIG,PLARAMAIL_PUBLIC_DIR,PLARAMAIL_DEMOandPLARAMAIL_PERSIST. The earlier names are not read. -
The example
wrangler.jsoncnames the Worker, the D1 database and the R2 bucketplaramail, and the draft queuesplaramail-draftsandplaramail-drafts-dlq. -
public/brand/lockup-dark.pngandlockup-light.pngare 332 × 74. A deployment with its own lockups makes them that size (public/brand/README.md). -
docs/setup.md has a section on renaming a deployment: the Worker moves with its Durable Objects through a transfer migration; R2 and the queues are copied; the D1 database keeps its name.
-
Every source file carries the license header, and
tests/public-scrub.test.mjskeeps it so. Tests use example hosts for Cloudflare Access, and the search prompt names no real company. -
README screenshots are retaken on 0.9.5 in both themes. The Alex sample inbox keeps the Supabase compute notice (O-19) in the Inbox instead of Archive, and it is the open message in the hero shot.
Fixed
- Enter in search opens the first result only once the results for what you typed have arrived. Before, a quick Enter opened the first conversation of the list you were on, which at phone width covered the results.
Upgrading
- Add
/healthto the deployment's Access bypass application, ornpm run smokefails on it. - A deploy repo renames its build env vars before it builds 0.9.5. A build or
npm run deploythat sets only an earlier name stops and names the new one (scripts/check-env.mjs), instead of using this repo's example config and deploying a new Worker namedplaramail. - Keep your own Worker, D1, R2, KV and queue names in your config. Nothing has to be renamed. To rename anyway, follow Renaming a deployment in docs/setup.md.
- If your config sets
APP_NAMEto the previous default, set it toPlaraMail.
D1 migration: 0012_error_log.sql. npm run deploy applies it.