npm @notionhq/client 5.2.0
v5.2.0

2 days ago

What's Changed

  • API schema sync: small consolidation refactors and fixes by @ksinder in #622
  • API schema sync: remove data_source_id type from DataSource.database_parent by @ksinder in #626
  • Sync API schema: CreatePage + templates; workspace_id field; query wiki filters by @ksinder in #628
    • Including workspace_id in bot responses alongside workspace_name
    • Introducing a new API endpoint notion.dataSources.listTemplates with one path parameter, data_source_id, for listing the available page templates under a data source
    • Adding a new optional parameter template to CreatePageBodyParameters with polymorphic type options of none (don't apply any template; existing behavior), default (apply data source's default template), and template_id (apply a custom template ID)
    • Adding a new optional parameter result_type to QueryDataSourceBodyParameters to allow for only surfacing "page" or "data_source" result types in the case of wikis (where databases can be nested)

Links

Don't miss a new client release

NewReleases is sending notifications on new releases.