What’s changed
New capabilities
pages.updateMarkdownaccepts anchored positions forinsert_content. Setposition: { type: "after_content", anchor }orposition: { type: "before_content", anchor }to insert next to the block that the anchor matches. The anchor must match one place on the page and start where a block starts. Anchored positions requiremarkdown_version: "v2". Update page markdown · #846
Deprecations
insert_content.afteris deprecated. Useposition: { type: "after_content", anchor }instead. Existing calls still compile and work on current API versions. On the next API version,afteris read as anafter_contentanchor. #846
Fixes
- Native ESM imports of
Clientwork again on Node.js 22. #830