npm @notionhq/client 5.33.0
v5.33.0

52 minutes ago

What’s changed

This release adds support for Notion API version 2026-12-01. The SDK’s default Notion-Version stays 2025-09-03. To use the new version, pass notionVersion: "2026-12-01" to the Client, and read the upgrade guide first. The version changes several defaults.

Compatibility

  • Webhook api_version accepts "2026-12-01". Every webhook payload type's api_version union gains this value. Code that switches exhaustively over api_version needs a new case. #851

New capabilities

  • Notion API 2026-12-01 (#851)
    • The README has a “Key changes in 2026-12-01” section and an example that sets notionVersion: "2026-12-01".
    • Doc comments describe how markdown_version defaults work by version. v2 is the default on 2026-12-01, and v1 returns a 400 validation_error there.
    • Search and data source query comments note that from 2026-12-01, results include only each page’s title property unless you pass filter_properties.
  • page.permissions_updated webhook payload (#849)
    • PagePermissionsUpdatedWebhookPayload covers the opt-in event that fires when a page’s sharing or access settings change.
  • Types from the latest API spec (#848)
    • Meeting notes: types for POST /v1/meeting_notes and PATCH /v1/meeting_notes/{meeting_note_id}.
    • Agents: types for PATCH /v1/agents/{agent_id}.
    • Data source queries accept archive_status ("active", "archived", or "all").
    • Optional sync_metadata on data source responses, and optional group_by on list, gallery, and timeline view configs and on number grouping.

Deprecations

  • is_archived on data source queries is deprecated. Use archive_status instead. #848

Links

Don't miss a new client release

NewReleases is sending notifications on new releases.