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 arefresh_token
tonotion.oauth.token(...)
- Minor refactors and additional type exports
- Introduces
- 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