Skip to content

Releases: orlowdev/gatsby-source-notion-api

0.5.0

17 May 13:43
Compare
Choose a tag to compare

0.5.0

πŸ’₯ Breaking Changes

  • Fix collecting nested blocks (cb42f88)

πŸ’₯ Nested blocks are now in block.children, rather than block[type].children

✨ Features

  • Add support for annotations in the page title (color, code, underline, etc.) (50ac3fb)
  • Add support for retrieving page content in Markdown (8e62588)

πŸ› ∘ πŸš‘ ∘ πŸ”’ Fixes

  • Use plain text for user mentions in titles (9911980)
  • Remove redundant console.log 😏 (692d736)

0.4.1

17 May 09:28
Compare
Choose a tag to compare

0.4.1

πŸ› ∘ πŸš‘ ∘ πŸ”’ Fixes

  • Publish documentation and GitHub references (e7209a3)

0.4.0

17 May 08:44
Compare
Choose a tag to compare

0.4.0

πŸ’₯ Breaking Changes

  • Replace 'pageContents' with 'children' for accessing page blocks (32cd5b8)

✨ Features

  • Add support for extracting nested blocks (00f5978)

They are available under '[block][blockType].children'

0.3.1

16 May 18:40
Compare
Choose a tag to compare

0.3.1

πŸ› ∘ πŸš‘ ∘ πŸ”’ Fixes

  • Remove redundant query parameter in Notion requests (c3556b0)

0.3.0

16 May 17:51
Compare
Choose a tag to compare

0.3.0

πŸ’₯ Breaking Changes

  • Make 'properties' an object (c2d620d)

Since you are probably going to know the names of the columns in your tables, fetching data via the column names seems to make more sense. All properties except for the 'title' type are now available in Notion.properties, each having a key (column name), a value, and a type

✨ Features

0.2.1

16 May 14:56
Compare
Choose a tag to compare

0.2.1

πŸ› ∘ πŸš‘ ∘ πŸ”’ Fixes

  • Compose page title from all chunks it includes (1a019ca)

Date, user, and page mentions are added as plain text, The title is trimmed, CAVEAT: Mentioning a page that has a title mentioning a date will produce a title different from the same title of the mentioned page. E.g.: 'Page1 @yesterday' will be transformed into 'Page1 2021-05-15' as of today, but 'Post2 @post1' will produce 'Post2 Post1 @yesterday'. That's what Notion API returns right now

0.2.0

16 May 10:05
Compare
Choose a tag to compare

0.2.0

✨ Features

  • Add access to some page properties (9cdb197)
  • archived, * createdAt, * updatedAt, * title

0.1.0

15 May 23:56
Compare
Choose a tag to compare

0.1.0

✨ Features

  • Add support for extracting raw data from Notion API (a85da63)