From 2536c7ce071e38c22a338f7e3bf0f8dfbfe2fa72 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 28 Jun 2026 22:12:44 +0000 Subject: [PATCH] docs(changelog): add v0.7.0 lean template reads entry (sdk #32) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @senderkit/sdk@0.7.0 removed TemplateVersion.content from the TypeScript types — the server already stopped returning the raw template body so the field was always undefined at runtime. The changelog had entries for every other SDK version (v0.2.0 through v0.10.0) but was missing the v0.7.0 entry. The sdks/typescript.mdx reference already has a Note about lean reads; this adds the missing changelog entry for completeness. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_019P8exBPQTYRYA2nmq3Ym9c --- changelog.mdx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/changelog.mdx b/changelog.mdx index 9a6e7fa..c28fe9f 100644 --- a/changelog.mdx +++ b/changelog.mdx @@ -367,6 +367,28 @@ This page tracks releases of SenderKit's developer libraries — the rejected with a clear error. + + ## Lean template and message reads (`TemplateVersion.content` removed) + + **`@senderkit/sdk@0.7.0` / `@senderkit/cli@0.5.1`** + + `templates.get()` no longer includes a `content` field in the response — it + was already `undefined` at runtime after the server stopped returning the raw + template body. This release makes the TypeScript types reflect reality. + + ### What changed + + - **`TemplateVersion.content` is removed** from the `Template` type. Code that + accessed `template.currentVersion.content` will now produce a TypeScript compile + error. The rest of `currentVersion` (`versionNumber`, `variables`, `publishedAt`) + is unchanged. + - `messages.list()` and `messages.get()` also omit rendered content; `vars`, + `timeline`, and `metadata` are still returned on every message. + + **No CLI behavior change** — `senderkit templates get` only surfaced version + metadata, never raw content. + + ## AI-powered template creation via MCP