Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @notionhq/client to v2.2.15 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaspernowak
Copy link

Description:

  • Bump @notionhq/client from ^1.0.4 to ^2.2.15 in package.json.
  • Update corresponding package-lock.json.
  • Adjust table and tableRow definitions to match new Notion typings.
  • Resolve breaking changes in src/notion/blocks.ts, src/notion/common.ts, and src/parser/internal.ts.

Context:

  • Fixes type errors caused by the older Notion client.
  • Incorporates new features/fixes from Notion’s v2.x.x releases (table blocks, updated field definitions, etc.).
  • Breaking changes were introduced in v2.0.0, see release notes here for additional details.

Testing:

  • All tests passing locally.
  • Verified table rendering logic against the updated Notion API.
  • No regressions identified in existing functionality.

@kaspernowak
Copy link
Author

kaspernowak commented Jan 3, 2025

@EndBug Please review this PR, and maybe briefly review the release notes from release v2.0.0 and onwards here to make sure I did not miss anything that requires additional code changes. If you notice anything that requires further changes, I am happy to implement them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant