releases.shpreview
Notion/SDK (JS)

SDK (JS)

Mon
Wed
Fri
JunJulAugSepOctNovDecJanFebMarAprMay
Less
More
Releases14Avg4/moVersionsv5.10.0 to v5.22.0
v5.21.0

What's Changed

Links

What's Changed

Links

What's Changed

Links

What's Changed

Links

What's Changed

New Contributors

Links

What's Changed

New Contributors

Links

What's Changed

  • Sync api-endpoints: unsupported block type, update page docstring tweak by @ksinder in https://github.com/makenotion/notion-sdk-js/pull/672
    • New string field unsupported[block_type] in UnsupportedBlockObjectResponse to provide a hint on what an underlying unsupported block type is
    • Minor TSDoc change for updatePage endpoint: remove "properties" suffix from API name; just "Update page" now.
      • This reflects the fact that the endpoint does more than just updating properties/schema

Links

What's Changed

New Contributors

Links

What's Changed

  • Fix: Prevent path traversal in Client.request() #661
    • Note when upgrading: This means that callers can no longer use ../ to switch the meaning of a request that accepts an ID path parameter to navigate to a different Notion API endpoint. Please use Client.request() with a properly formatted, absolute API path instead.

Links

What's Changed

  • Sync api-endpoints: add position to AppendBlockChildrenParameters by @ksinder in https://github.com/makenotion/notion-sdk-js/pull/658
    • Specifically, this change is a backwards-compatible improvement to support a more expressive position parameter in the PATCH /v1/blocks/:block_id/children body to append at a specific position in the parent's children array.
      • The parameter cannot be used with the older after parameter, which will be officially removed in the next public API version.
  • Sync api-endpoints: add list_start_index and list_format by @vshen-notion in https://github.com/makenotion/notion-sdk-js/pull/659
    • For numbered_list_item, support distinguishing where list numbering starts and what type of list (number, letter, roman numeral), by exposing list_start_index and list_format

New Contributors

Full Changelog: https://github.com/makenotion/notion-sdk-js/compare/v5.7.0...v5.8.0

What's Changed

Links

Last Checked
4h ago
Tracking since May 13, 2021