Skip to content

v4.0.2

Latest
Compare
Choose a tag to compare
@ksinder ksinder released this 13 Aug 20:25
· 15 commits to main since this release

What's Changed

  • Update Notion JS SDK with GetComment endpoint by @julyou in #595
    • Introduces notion.comments.retrieve({...}) endpoint to fetch a comment by its ID; this was previously a hidden and un-documented endpoint
    • Introduces API shape to manually refresh an API token by passing grant_type: "refresh_token" with a refresh_token to notion.oauth.token(...)
    • Minor refactors and additional type exports
  • Bump TypeScript dependency to 5.9 by @ksinder in #597
    • WARNING: This might be effectively a breaking change in some cases since part of the SDK contract is exporting types for Notion's public API endpoints. Before upgrading, confirm your TypeScript version is sufficiently new or that the types are compatible with your system.

Full Changelog: f849574...v4.0.2

View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/4.0.2