v2.4.0
v2.4.0 — attachments, end to end
Agents can now move files in and out of cards on any Planka version (verified live against
2.0.3 and 1.26.2):
cards.getreturns the full context: description, tasks, task lists, attachments, and the
activity log (actions) — one call instead of five.- Create cards with files:
cards { action: "create", data: { ..., attachments: [{ name, text | contentBase64, mimeType? }] } }. - New
attachmentstool:upload(file bytes as base64/text, or aurllink on v2),
download(exact bytes back as base64, ≤ 10 MB),rename,delete. - Downloads ride Planka's cookie-authenticated file route (
accessTokencookie); they need
PLANKA_USERNAME/PLANKA_PASSWORDauth since Planka rejects Bearer/API keys there. - Attachment metadata is normalized across Planka versions (v2's nested
data.urlflattened to
url,size,mimeType).
Tests: 10 new hermetic edge tests (multipart shape, cookie auth, size cap, API-key refusal,
create-chaining) + a 13-case attachment e2e suite run against both Planka majors — 140/140.
Full Changelog: v2.3.1...v2.4.0