Skip to content

Releases: wanner-work/notion

@wanner.work/notion-2.0.0

03 Jan 12:42
bfb8c07

Choose a tag to compare

image

[2.0.0] - 2026-01-03

Breaking

  • Changing from <Notion custom={[...]}/> to <Notion config={{ blocks: [...]}} /> to improve clarity.
  • Remove the helper methods from @wanner.work/notion/helper and move some of them to the new NotionParser class in
    @wanner.work/notion for better organization.
  • Remove internal dependency to tailwindcss and move to CSS modules to allow for better styling customization.
  • Remove the following default components because they always rely on custom styling:
    • NotionImage
    • NotionAudio

Feature

  • Improving the NotionQuery class to support database queries and many more query options.
  • Adding NotionParser class with static methods to parse page properties from Notion API responses.
  • Adding a NotionRenderConfig interface to allow for better configuration of the Notion component and support hiding the
    unsupported block warning.
  • Upgrade the Notion API client to the latest version.
  • Cleanup codebase and use the official notion types where possible.

Chore

  • Migrate to rolldown for building and bundling the package.
  • Migrate to oxfmt for code formatting.
  • Upgrade the playground to use the latest Next.js version.

Documentation

@wanner.work/notion-1.2.0

28 May 06:32

Choose a tag to compare

[1.2.0] - 2024-05-28

Added

  • Exporting the NotionCustomBlock interface and the NotionBlockTypes type in @wanner.work/notion to allow for variable based custom blocks.

Full Changelog: https://github.com/wanner-work/notion/compare/@wanner.work/notion-1.1.0...@wanner.work/notion-1.2.0

@wanner.work/notion-1.1.0

25 May 00:40

Choose a tag to compare

[1.1.0] - 2024-05-25

Added

  • Exporting the NotionQueryData interface in @wanner.work/notion/helper to allow for custom queries.

Fixed

  • Adding a margin bottom to the NotionDefault component to prevent it from sticking to the next element.
  • Removing text-light because light is not a valid text color in tailwindcss.
  • Removing fallback="loading..." from suspense inside of NotionBlock to preventing weird loading text.

Changed

  • Change mt-12 mb-12 to my-12 because it is more concise.

Full Changelog: https://github.com/wanner-work/notion/compare/@wanner.work/notion-1.0.0...@wanner.work/notion-1.1.0

@wanner.work/notion-1.0.0

09 May 12:19

Choose a tag to compare

[1.0.0] - 2024-05-09

Added

  • Cleaning everything with prettier
  • Releasing package to public

Full Changelog: https://github.com/wanner-work/notion/compare/@wanner.work/notion-0.1.1...@wanner.work/notion-1.0.0

@wanner.work/notion-0.1.1

09 May 12:01

Choose a tag to compare

Pre-release

[0.1.1] - 2024-05-09

Fixed

  • Fixing the usage of an unexported interface of notion by using the local NotionAnnotation interface.

Full Changelog: https://github.com/wanner-work/notion/compare/@wanner.work/notion-0.1.0...@wanner.work/notion-0.1.1

@wanner.work/notion-0.1.0

09 May 11:51

Choose a tag to compare

Pre-release

[0.1.0] - 2024-05-09

Added

  • Initial release of the package.

Full Changelog: https://github.com/wanner-work/notion/commits/@wanner.work/notion-0.1.0