npm @notionhq/client 5.32.0
v5.32.0

2 hours ago

What’s changed

New capabilities

  • pages.updateMarkdown accepts anchored positions for insert_content. Set position: { type: "after_content", anchor } or position: { 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 require markdown_version: "v2". Update page markdown · #846

Deprecations

  • insert_content.after is deprecated. Use position: { type: "after_content", anchor } instead. Existing calls still compile and work on current API versions. On the next API version, after is read as an after_content anchor. #846

Fixes

  • Native ESM imports of Client work again on Node.js 22. #830

Links

Don't miss a new client release

NewReleases is sending notifications on new releases.