Official Notion JavaScript Client
Released a new API version, 2022-02-22
.
text
in blocks renamed to rich_text
phone
, text
no longer accepted in query database filtersrollup
query database filters use rich_text
instead of text
formula
query database filters use string
instead of text
property_item
objects contain a type
, next_url
, and id
Added support for caption
in code blocks. Also added support for updating language
and caption
fields in code blocks.
Adds support for granular permissions.
Adds support for time zone information in dates
Reduce type duplication for block object requests without children.
template
blockssynced_block
blockslink_to_page
blockslink_preview
blocks and mentions.Adding support for argentine_peso
and uruguayan_peso
to the number currency formatting options
Add column and column_list support.
Adds support for divider
and table_of_contents
block types.
More details in the changelog.