Skip to content

v3.0.0

Compare
Choose a tag to compare
@ksinder ksinder released this 05 May 21:18
· 28 commits to main since this release

What's Changed

This update, v2.3.0 → v3.0.0, is marked as a major version upgrade due to the Node minimum version increase to 18, as part of the change to use built-in fetch as the default in the Client constructor instead of node-fetch.

  • Sync OpenAPI schema as of 2025-04-08 to src/api-endpoints.ts by @ksinder in #558
    • Refactor common parameter shapes into new types: InternalFileRequest, ExternalFileRequest, and InternalOrExternalFileWithNameRequest
    • Support commenting on a non-page block in the Create Comment API by accepting a parent type of block_id
  • Use isomorphic fetch by @sv2dev in #506
  • Small typo fixes in docs and example files

Full Changelog: 650d23b...v3.0.0

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

New Contributors