Repository navigation
RespondKit 0.6.1 — attachments on the hosted API and aligned composer controls
RespondKit 0.6.1
Release notes
A patch release for two problems found on SubPorter's web widget with 0.6.0.
- Attachments work on the hosted API. The production Worker had no
ATTACHMENTSR2 binding, so every upload answered "Attachments are not configured." (and email ingress could not store raw mail).apps/api/wrangler.jsoncnow bindsATTACHMENTSto therespondkit-attachments-stagingbucket in thestagingenvironment (api.respondkit.dev) andrespondkit-attachmentsby default. Uploads and downloads both pass through the Worker (PUT /v1/attachments/:id/parts/:part,GET /v1/files/:token), so the bucket stays private and needs no CORS rule. - Web composer alignment. The attach button was 36px (
icon-lg) beside the 44px message box and send button, and the row bottom-aligns, so the paperclip sat low. It now has the same 44px box, and neither button shrinks.
Upgrade and compatibility
Use 0.6.1 for the npm packages. No API or protocol change; 0.6.0 clients work against the fixed API.
Operator checklist
- Create the bucket once:
cd apps/api && pnpm exec wrangler r2 bucket create respondkit-attachments-staging. - Deploy the API:
cd apps/api && pnpm exec wrangler deploy --env staging, then upload a file from a test widget and open its download link. - Publish GitHub release
v0.6.1, which runs the npm publish workflow.