npm @notionhq/client 5.30.0
v5.30.0

2 hours ago

What’s changed

Breaking change: Node.js 22 or later required

  • Support for all Node.js versions below 22 has been dropped (#823).
    • Upgrade your Node.js runtime to 22 or later before updating the SDK.

New capabilities

  • More types available from the package root (#822)
    • Import RichTextItemRequest, ClientOptions, PropertyFilter, TimestampFilter, PageIconRequest, PageIconResponse, DateRequest, DateResponse, and PropertyConfigurationRequest directly from @notionhq/client.
    • New QueryDataSourceFilter and QueryDataSourceSort aliases make data source query options easier to type without deep imports.

Webhooks

  • Signature verification uses global Web Crypto (#827)
    • Webhook helpers use globalThis.crypto.subtle directly, removing the Node crypto fallback and replacing the handwritten signature comparison with subtle.verify().
    • Public helper APIs, HMAC-SHA256, signature format, and raw-body handling remain unchanged.

Links

Don't miss a new client release

NewReleases is sending notifications on new releases.