Gatsby Source Notion Versions Save

A Gatsby source plugin for content management with Notion using the official API.

v1.2.0

1 year ago

✨ Features

🐛 Bug Fixes

  • update package dependencies (1554130)

🚨 Tests

  • remove potential set environment variable to avoid interference (d5e9c46)

⚙️ Continuous Integrations

  • update config with alias to fix node versions (2534e77)

v1.1.0

1 year ago

✨ Features

  • add support for cover and icon (3e0c3e7)
  • add support for created by and last edited by (e0a41d9)
  • use Notion client for better compatibility (979b057)

🛠 Builds

  • remove the now unnecessay ts-node hack (37109ea)
  • update presetter to v3.2 (7cbbcaa)

📦 Code Refactoring

🚨 Tests

  • update gatsby config in the e2e test (5f80191)

⚙️ Continuous Integrations

  • run tests on master branches only (ba0d696)

💎 Styles

  • fix issues with latest linter rules (d4ae392)

v1.0.5

2 years ago

🐛 Bug Fixes

🛠 Builds

🚨 Tests

  • provide an end to end test for the plugin (b014e02)

⚙️ Continuous Integrations

v1.0.4

2 years ago

🐛 Bug Fixes

  • ensure that a page update won't propagate to its database node (c97d301)

⚙️ Continuous Integrations

  • add an automated vulnerability test by Github CodeQL (8c9d178)

💎 Styles

  • fix some formatting issues on the import statements (2c7e4ff)

v1.0.3

2 years ago

🐛 Bug Fixes

  • retain all current nodes for the next build (495d9e6)

v1.0.2

2 years ago

🐛 Bug Fixes

  • allow no spacing between IDs in those environment variables (caaab11)
  • correct the option schema (6e483d7)
  • persist nodes over reruns (ade9379)
  • use Gatsby's digest function instead of sha (e683066)

📚 Documentation

  • fix the Postman collection link (1e933bc)
  • remove the Logo link (2cd6fbf)

v1.0.1

2 years ago

✨ Features

  • add pages' create time and last edited time in the frontmatter (261de93)
  • add pages' flattened properties in the frontmatter (0be8b1b)
  • make preview possible in development mode (7a889b3)
  • provide a cache mechanism for the client (b4ffd32)
  • provide a gatsby node handler (22c949d)
  • provide a notion to markdown parser (f477672)
  • provide a property content extractor (8edd425)
  • provide a simple Notion client (d3676ef)
  • provide the essential procedures for generating nodes (4599a28)
  • type: add a placeholder for types (66e33b1)
  • type: provided data types in relation to content blocks (8ef3461)
  • type: provided data types in relation to metadata and richtext (07ae633)
  • type: provided data types in relation to pages and databases (5db89f4)
  • type: provided data types in relation to users (c48f8ad)
  • use Gatsby cache for preserving data across APIs (93d65bb)

🐛 Bug Fixes

  • avoid any escape in content for frontmatter by using js-yaml (64bbdc9)
  • ignore cache if last_edit_time is within the last minute (ed7f863)

🛠 Builds

  • whitelist the root gatsby-node.js for npm release (ad7a2e6)

📦 Code Refactoring

  • use a helper for synchronising nodes (310ce69)
  • use generalised Gatsby Node API argument (24b3e43)
  • use the universal property extractor to get the title (0a954af)
  • user a helper for filling the default config in one place (99c04f9)

📚 Documentation

  • add a demo for the preview mode (f2204c4)
  • add a guide for contribution (40f4e64)
  • enrich the documentation (e1b7368)

♻️ Chores

v1.0.0

2 years ago

✨ Features

  • add pages' create time and last edited time in the frontmatter (261de93)
  • add pages' flattened properties in the frontmatter (0be8b1b)
  • make preview possible in development mode (7a889b3)
  • provide a cache mechanism for the client (b4ffd32)
  • provide a gatsby node handler (22c949d)
  • provide a notion to markdown parser (f477672)
  • provide a property content extractor (8edd425)
  • provide a simple Notion client (d3676ef)
  • provide the essential procedures for generating nodes (4599a28)
  • type: add a placeholder for types (66e33b1)
  • type: provided data types in relation to content blocks (8ef3461)
  • type: provided data types in relation to metadata and richtext (07ae633)
  • type: provided data types in relation to pages and databases (5db89f4)
  • type: provided data types in relation to users (c48f8ad)
  • use Gatsby cache for preserving data across APIs (93d65bb)

🐛 Bug Fixes

  • avoid any escape in content for frontmatter by using js-yaml (64bbdc9)
  • ignore cache if last_edit_time is within the last minute (ed7f863)

📦 Code Refactoring

  • use a helper for synchronising nodes (310ce69)
  • use generalised Gatsby Node API argument (24b3e43)
  • use the universal property extractor to get the title (0a954af)
  • user a helper for filling the default config in one place (99c04f9)

📚 Documentation

  • add a demo for the preview mode (f2204c4)
  • add a guide for contribution (40f4e64)
  • enrich the documentation (e1b7368)