gatsby-source-notion-api

Gatsby plugin for Notion API

0BSD License

Downloads
606
Stars
61
Committers
4

Bot releases are hidden (Show)

gatsby-source-notion-api - 0.12.0 Latest Release

Published by orlowdev about 2 years ago

✨ New features

  • Add support for columns
gatsby-source-notion-api - 0.11.0

Published by orlowdev about 3 years ago

0.11.0

✨ Features

  • Add support for new Notion API blocks (10d8c9f)
  • audio, - dividers, - external video, - embeds, - quotes
gatsby-source-notion-api - 0.10.0

Published by orlowdev over 3 years ago

0.10.0

💥 Breaking Changes

  • Remove image transformation (31528e3)

It should be done separately per project

✨ Features

  • Remove gatsby-source-filesystem peer dependency (4cee1ce)

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Docs updated for propsToFrontmatter, Files property, and lowerTitleLevel (ed3de50)
gatsby-source-notion-api - 0.9.1

Published by orlowdev over 3 years ago

0.9.1

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Fix fetching database recursively (804d4c9)

It left the loop after the first after the first iteration because I put return in the wrong place 😅, References #4

gatsby-source-notion-api - 0.9.0

Published by orlowdev over 3 years ago

0.9.0

✨ Features

  • Add support for recursive DB fetching (98fd09e)

Should work for cases when a database has over 100 rows

gatsby-source-notion-api - 0.8.1

Published by orlowdev over 3 years ago

0.8.1

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Use older syntax to work with older Node versions (e852355)
gatsby-source-notion-api - 0.8.0

Published by orlowdev over 3 years ago

0.8.0

✨ Features

  • Add transforming rich-text properties to a string (2f3f4fa)
  • Only apply block transformations to frontmatter (17f4d62)

✨ Add simplified date access

  • Add support for image transformation in props (32e7728)

✨ Add support for lowering title level, ✨ Add option for transforming Notion page props to frontmatter, ➕ Add gatsby-source-filesystem as a peer dependency, 🐛 Fix indentation of code snippets written in Markdown syntax, 🐛 Fix displaying Markdown tables

gatsby-source-notion-api - 0.7.1

Published by orlowdev over 3 years ago

0.7.1

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Add displaying nested blocks for all supported types (2c8f4be)
gatsby-source-notion-api - 0.7.0

Published by orlowdev over 3 years ago

0.7.0

✨ Features

  • Add support for inline math equations (92271f3)

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Remove redundant argument (b2edac0)
  • Remove redundant argument (f9ff004)
gatsby-source-notion-api - 0.6.0

Published by orlowdev over 3 years ago

0.6.0

💥 Breaking Changes

  • Add support for Remark and MDX integration (8358a4e)

💥 Rename markdown property to markdownString

✨ Features

  • Make frontmatter a bit more convenient to use (5520a1b)
  • Add json field for raw Notion data in one string (2e9355a)

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Hide block ids in unsupported block comments (58e916e)
gatsby-source-notion-api - 0.5.0

Published by orlowdev over 3 years ago

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)
gatsby-source-notion-api - 0.4.1

Published by orlowdev over 3 years ago

0.4.1

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Publish documentation and GitHub references (e7209a3)
gatsby-source-notion-api - 0.4.0

Published by orlowdev over 3 years ago

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'

gatsby-source-notion-api - 0.3.1

Published by orlowdev over 3 years ago

0.3.1

🐛 ∘ 🚑 ∘ 🔒 Fixes

  • Remove redundant query parameter in Notion requests (c3556b0)
gatsby-source-notion-api - 0.3.0

Published by orlowdev over 3 years ago

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

  • Add id to properties (12ecc25)
gatsby-source-notion-api - 0.2.1

Published by orlowdev over 3 years ago

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

gatsby-source-notion-api - 0.2.0

Published by orlowdev over 3 years ago

0.2.0

✨ Features

  • Add access to some page properties (9cdb197)
  • archived, * createdAt, * updatedAt, * title
gatsby-source-notion-api - 0.1.0

Published by orlowdev over 3 years ago

0.1.0

✨ Features

  • Add support for extracting raw data from Notion API (a85da63)
Package Rankings
Top 4.86% on Npmjs.org
Badges
Extracted from project README
Maintainability code style: prettier versioning: or-release