Skip to content

Update dependency @notionhq/client to v3

Renovate Bot requested to merge renovate/notionhq-client-3.x into main

This MR contains the following updates:

Package Type Update Change
@notionhq/client (source) dependencies major ^2.2.3 -> ^3.0.0

Release Notes

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

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/makenotion/notion-sdk-js/compare/f8bb1d0c9b9087c9e7c12d993320035084d030db...v3.1.1

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

v3.1.0

Compare Source

What's Changed

  • Add support for File Upload API endpoints by @​ksinder in https://github.com/makenotion/notion-sdk-js/pull/565
    • Sync the latest OpenAPI schema for Notion's Public API to src/api-endpoints.ts
    • Introduce the /v1/file_uploads family of API endpoints (File Upload Create, Get, List, Send, Complete)
      • notion.fileUploads.send builds a FormData object to send fields via multipart/form-data
    • Add several refactors to extract common reused schema components, which drastically reduces the size of the file
  • Add file upload API example and fix Blob send logic by @​ksinder in https://github.com/makenotion/notion-sdk-js/pull/566
    • Fix the FormData parameter passing logic in src/Client.ts for the Send File Upload API
    • Add examples/intro-to-notion-api/intermediate/5-upload-file.js example of using the File Upload API to upload and attach a file

Full Changelog: https://github.com/makenotion/notion-sdk-js/compare/f2e166522a1df34fce8075299a09a6c500e25f4a...v3.1.0

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

v3.0.1

Compare Source

What's Changed

Full Changelog: https://github.com/makenotion/notion-sdk-js/compare/8b867fdc7058e015ceef30c1986b61476bd86280...v3.0.1

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

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: https://github.com/makenotion/notion-sdk-js/compare/650d23bd94c1cd9a4179fcbea25be617e2f5a7e5...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: https://github.com/makenotion/notion-sdk-js/compare/b7f3de8563bd566cb3a0cea421aa1a82f2be9e46...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: https://github.com/makenotion/notion-sdk-js/compare/eed58030649895b95ab9b97e2959f77bab19cd62...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: https://github.com/makenotion/notion-sdk-js/compare/7950edc034d3007b0612b80d3f424baef89746d9...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

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 MR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading