Releases: wanner-work/notion
Releases · wanner-work/notion
@wanner.work/notion-2.0.0
[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/helperand move some of them to the newNotionParserclass in
@wanner.work/notionfor 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:
NotionImageNotionAudio
Feature
- Improving the
NotionQueryclass to support database queries and many more query options. - Adding
NotionParserclass with static methods to parse page properties from Notion API responses. - Adding a
NotionRenderConfiginterface to allow for better configuration of theNotioncomponent 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
- Publishing documentation site at https://notion.wanner.work using fumadocs.
@wanner.work/notion-1.2.0
[1.2.0] - 2024-05-28
Added
- Exporting the NotionCustomBlock interface and the NotionBlockTypes type in
@wanner.work/notionto 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
[1.1.0] - 2024-05-25
Added
- Exporting the NotionQueryData interface in
@wanner.work/notion/helperto allow for custom queries.
Fixed
- Adding a margin bottom to the
NotionDefaultcomponent to prevent it from sticking to the next element. - Removing
text-lightbecause light is not a valid text color in tailwindcss. - Removing
fallback="loading..."from suspense inside ofNotionBlockto preventing weird loading text.
Changed
- Change
mt-12 mb-12tomy-12because 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
[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
[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
[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