Repository navigation
Release v1.2.0: post search, Markdown bodies, client hardening - #16
Merged
Merged
Conversation
Wraps the spec's /posts/search, returns get_post bodies as Markdown (raw ProseMirror is ~2x larger), surfaces network causes, redacts keys, honors cancellation, and fixes env key and input validation edge cases. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Node 18 and 20 are EOL. SDK 1.30.0 with a clean runtime audit replaces Dependabot #15. Docs now match the code and drop private setup notes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
search_posts. The Publisher API spec has a full-text/posts/searchendpoint the server never wrapped.get_postreturns the body as Markdown by default. Substack sends a JSON-encoded ProseMirror string (42KB on one sampled post vs 16KB as Markdown).bodyFormat: "prosemirror"keeps the old output;"none"returns metadata only.fetch failed.2026-13-45dates and..slugs are rejected before they hit the API.list_postsendDateis exclusive,nextisnullon the last page, and subscriber counts have no free field.setup-node@v7. SDK 1.30.0 passes the runtime audit, so this supersedes Bump the minor-and-patch group across 1 directory with 4 updates #15 and Bump actions/setup-node from 6 to 7 #13.Write endpoints in the spec (subscriber import, comp subscriptions) are left out on purpose. The server stays read-only.
Type of change
Checklist
npm run buildpasses locallynpm auditshows no high/critical advisories.envcontents in the diff or description🤖 Generated with Claude Code