What's Changed
Major changes and highlights from v4.0.2
to v5.0.0
.
⚡️ Major API and SDK updates
- Added support for multiple data sources
- Removed support for `notion.databases.list
- The list databases method has been removed, since this endpoint has been deprecated & unsupported since
2022-02-22
, and v5 of the SDK is tailored toward2025-09-03
#600
- The list databases method has been removed, since this endpoint has been deprecated & unsupported since
- Added support for verification filters for data sources
- Added verification filter property to
queryDataSources
API shape #604
- Added verification filter property to
📝 API shape and type improvements
- Richer API error details
- SDK now surfaces the optional
additional_data
field in API error responses for better diagnostics. #603
- SDK now surfaces the optional
- API schema syncs
DataSourceObjectResponse["parent"]
now supports thedata_source_id
variant.- Search filter enum updated from
page | database
topage | data_source
. - Typechecking added for all
examples/
projects in CI. #602
🧩 Examples and internal maintenance
- Examples directory
- CI improvements
- All examples are now typechecked as part of continuous integration. #602
- Other
- Added Copilot instructions file for repo #610
🛠 Miscellaneous fixes
- Documentation
- Updated the minimum recommended TypeScript version in the README after a dependency upgrade. #598
- Patch releases
Note
v5.0.0 and 2025-09-03
bring fairly major changes to the SDK and to the API schema!
You can help us by tracking any friction as you upgrade, as well as any issues or improvement opportunities with the JavaScript → TypeScript changes in the examples/
projects, and filing an issue or opening a pull request for each.
New Contributors
Links
- Full Changelog: f12b584...v5.0.0
- Upgrade Guide: https://developers.notion.com/docs/upgrade-guide-2025-09-03
- NPM Package: https://npmjs.com/package/@notionhq/client/v/5.0.0