v3.0.0
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
, andInternalOrExternalFileWithNameRequest
- Support commenting on a non-page block in the Create Comment API by accepting a parent type of
block_id
- Refactor common parameter shapes into new types:
- Use isomorphic fetch by @sv2dev in #506
- This updates the minimum Node engine version from 12 to 18.
- Small typo fixes in docs and example files
- docs: fix incorrect example path in README by @R-jisu in #556
- Update .env.example by @jtsmith1287 in #532
- Update README.md with correct
cd
command by @crosskayla in #493
Full Changelog: 650d23b...v3.0.0
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/3.0.0
New Contributors
- @sv2dev made their first contribution in #506
- @R-jisu made their first contribution in #556
- @jtsmith1287 made their first contribution in #532
- @crosskayla made their first contribution in #493