Releases Index

SDK (JS)

$npx @buildinternet/releases get notion-sdk-js
Mon
Wed
Fri
OctNovDecJanFebMarAprMayJunJulAugSepOct
Less
More
Releases10Avg3/moVersionsv5.5.0 to v5.28.0
v5.28.0

Status property configs in data source responses now include a read-only default_option that names the option shown when a page has no explicit Status value, or null when no default is configured. The field is required on the response type, so hand-built objects such as test fixtures must add it.

Read more ↗
v5.27.1

Cloudflare Workers and Deno worker threads are no longer detected as browsers, restoring client creation with auth and the user-agent header after v5.27.0 threw BrowserTokenNotAllowedError. The dangerouslyAllowBrowser workaround can now be removed on server runtimes.

Read more ↗
v5.27.0

Constructing a client with auth in a browser, web worker, or service worker now throws BrowserTokenNotAllowedError unless dangerouslyAllowBrowser: true is passed. Adds client.plugins and client.skills methods returning signed archive URLs, typed databases with a database_type field, and updates agent response types including the notion_ai personal agent ID.

Read more ↗
v5.26.0

Adds client.agents methods for retrieving, querying, deleting, and batching agents, plus client.sessions methods for retrieving, updating, canceling, and querying sessions, session events, and streamed responses. Session streaming returns an async iterable that retries eligible HTTP failures before opening, without replaying events after streaming begins, and introduces typed session events and metadata.

Read more ↗
v5.25.2

The verification property filter in data source and database queries now supports a does_not_equal condition alongside the existing status filter, matching pages whose verification state is anything other than the specified value. Purely additive — existing filters are unaffected.

Read more ↗
v5.25.0

Pages created or updated via the SDK now accept a filter_properties parameter to bound which properties are returned in the write response, matching pages.retrieve(). The failed-task error type was also compacted into a single union with correlated status/code, with no behavioral change.

Read more ↗
v5.24.0

New client.blocks.meetingNotes.create() supports file uploads or existing audio, video, or file blocks, with parent required only for file-upload sources. Formula and rollup response unions now include type: "unsupported" for values Notion didn't compute, and APIErrorCode.InvalidBeta recognizes invalid_beta responses as APIResponseError.

Read more ↗
v5.23.3

Requests rejected at the network edge now populate a ray_id from the cf-ray response header and a request_id from x-notion-request-id, making firewall-blocked requests diagnosable. Also fixes retry-after header lookup to be case-insensitive and handle array-valued headers.

Read more ↗
v5.23.0

Adds verifyWebhookSignature() and signWebhookPayload() helpers to confirm webhooks came from Notion without hand-rolling HMAC-SHA256, and iterateAllDataSourceRows / collectAllDataSourceRows helpers that page past the ~10,000-row limit by partitioning on created_time. Also adds client.asyncTasks.retrieve support, allow_async option on createPage and page markdown updates, automatic retry on HTTP 529 service overload, and fixes the relevance search sort type and pagination null handling.

Read more ↗
Last Checked
3h ago
Latest
v5.28.0
Tracking since May 13, 2021