Skip to content

Update dependency @notionhq/client to v3 #22

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@notionhq/client (source) ^0.4.4 -> ^3.0.0 age adoption passing confidence

Release Notes

makenotion/notion-sdk-js (@​notionhq/client)

v3.0.0

Compare Source

What's Changed

This update, v2.3.0 → v3.0.0, is marked as a major version upgrade due to the Node minimum version increase to 18, as part of the change to use built-in fetch as the default in the Client constructor instead of node-fetch.

Full Changelog: makenotion/notion-sdk-js@650d23b...v3.0.0

View this version on NPM: https://www.npmjs.com/package/@​notionhq/client/v/3.0.0

New Contributors

v2.3.0

Compare Source

What's changed

Full Changelog: makenotion/notion-sdk-js@b7f3de8...v2.3.0

View this version on NPM: https://www.npmjs.com/package/@​notionhq/client/v/2.3.0

v2.2.17

Compare Source

What's changed

Full Changelog: makenotion/notion-sdk-js@eed5803...v2.2.17

View this version on NPM: https://www.npmjs.com/package/@​notionhq/client/v/2.2.17

v2.2.16

Compare Source

  • Added link_mention and custom_emoji types, which are surfaced in various places (page, database, mention rich text item responses; block object requests)
  • Added a new ApiColor of default_background
  • Added "ascii art", "hcl", and "smalltalk" to LanguageRequest

Full Changelog: makenotion/notion-sdk-js@7950edc...v2.2.16

v2.2.15

Compare Source

  • Added in_trash field to request and response body
  • Added description field to database properties
  • Added PartialSelectResponse to be used for select properties

v2.2.14

Compare Source

  • Added read/write support for names on file blocks
  • Fixed a bug where tables couldn't be added as children of toggle blocks
  • Updated the list of emoji and timezones

v2.2.13

Compare Source

Support querying databases by unique ID.

v2.2.12

Compare Source

Now createDatabase and updateDatabase allow creating unique ID properties and getDatabase will now return unique ID properties.

v2.2.11

Compare Source

  • Fixes rollup property response types (#​427)
  • Adds support for /oauth/token endpoint (#​73)
  • Fixes toggleable headings response type (#​420)

v2.2.10

Compare Source

Export new helper isFullPageOrDatabase.

v2.2.9

Compare Source

Changes to support wikis in the public API:

  • Query database returns pages and databases.
  • Databases can be created as children of databases.
  • Pages that are parented by a page can have non title properties.

v2.2.8

Compare Source

What's Changed

Full Changelog: makenotion/notion-sdk-js@v2.2.6...v2.2.8

v2.2.7

Compare Source

v2.2.6

Compare Source

Add support for:

  • Unique ID for pages
  • Public URL (if available)
  • Appending after a block

v2.2.5: 2.2.5

Compare Source

  • Fix bug for in filter_properties query parameter to correctly URI encode property IDs when passed via the JS SDK
  • Add peruvian_sol to acceptable NumberFormat options

v2.2.4: 2.2.4

Compare Source

Add support for creating template mentions. Also some minor changes to support filtering by status property in queryDatabase, and some emoji changes.

v2.2.3

Compare Source

  • Add support for array query parameters

v2.2.2

Compare Source

  • Add 'Singapore Dollar' to database number format

v2.2.1

Compare Source

  • Add "workspace_name" to bot objects.

v2.2.0

Compare Source

v2.1.1

Compare Source

  • Fixes issue using search with pagination helpers (#​330)

v2.1.0

Compare Source

  • Add support for comments API (#​326)
  • Export many more response types from the library (#​319)
  • Add helpers for pagination (#​320)
  • Add type guards (#​320)

v2.0.0

Compare Source

Includes several breaking changes and updates the client to use Notion-Version 2022-06-28. See the changelog for more details.

v1.0.4

Compare Source

  • Support for timestamp filters in database/query endpoint

v1.0.3

Compare Source

  • Support for block colors
  • Support for template mentions

v1.0.2

Compare Source

v1.0.1

Compare Source

Released a new API version, 2022-02-22.

  • text in blocks renamed to rich_text
  • phone, text no longer accepted in query database filters
  • rollup query database filters use rich_text instead of text
  • formula query database filters use string instead of text
  • property_item objects contain a type, next_url, and id
  • Deprecated the list databases endpoint.

v1.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​notionhq/​client@​0.4.13 ⏵ 3.0.0100 +1100100 +194 +5100

View full report

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.

0 participants