fix(deps): update dependency @notionhq/client to v5 #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.2.4->^5.0.0Release Notes
makenotion/notion-sdk-js (@notionhq/client)
v5.1.0Compare Source
What's Changed
is_lockedon update page and database APIsrequest_idtoClientlog linespage_idas a possible parent forCreateDataSourceBodyParametersdataSource.update: add support for changingparentLinks
v5.0.0Compare Source
What's Changed
Major changes and highlights from
v4.0.2tov5.0.0.⚡️ Major API and SDK updates
2025-09-03, introducingnotion.dataSources.*endpoints to manage databases at the data source level and repurposingnotion.databases.*endpoints for the database container. #600 #601 #602 #603 #607 #6092022-02-22, and v5 of the SDK is tailored toward2025-09-03#600queryDataSourcesAPI shape #604📝 API shape and type improvements
additional_datafield in API error responses for better diagnostics. #603DataSourceObjectResponse["parent"]now supports thedata_source_idvariant.page | databasetopage | data_source.examples/projects in CI. #602🧩 Examples and internal maintenance
examples/to TypeScript and committed missing build files. #603 #600🛠 Miscellaneous fixes
New Contributors
Links
v4.0.2Compare Source
What's Changed
notion.comments.retrieve({...})endpoint to fetch a comment by its ID; this was previously a hidden and un-documented endpointgrant_type: "refresh_token"with arefresh_tokentonotion.oauth.token(...)Full Changelog: makenotion/notion-sdk-js@f849574...v4.0.2
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/4.0.2
v4.0.1Compare Source
What's Changed
notion.request()Full Changelog: makenotion/notion-sdk-js@f7bfcfd...v4.0.1
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/4.0.1
v4.0.0Compare Source
What's Changed
propertiesparameters fromCreatePageBodyParametersandUpdatePageBodyParametersinsrc/api-endpoints.ts.propertieswas a fairly ambiguousRecord<string, ...>mapping each property key to the property value (a union type across all possible property types' values) e.g.typepattern with the actual value defined in a sub-object to disambiguate:AnnotationRequestPOST /v1/pages(CreatePage) API where:parentcan be omitted, or passed as{"workspace": true}, to create top-level private pages at the workspace level (for public integrations only)propertiesis also optional. For standalone pages, this results in title defaulting to an empty stringdisplay_nametoComment, more extraction refactors and docstrings by @ksinder in #588display_nameobject to theCommentObjectResponse, and some fixes from previous PRs around parenthesizinga & (b | c)inallOf→oneOfOpenAPI types to get the correct result rather than defaulting to the incorrect interpretation(a & b) | c.abcmusic language toLanguageRequest.New Contributors
Full Changelog: makenotion/notion-sdk-js@df95f35...v4.0.0
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/4.0.0
v3.1.3Compare Source
What's Changed
Full Changelog: makenotion/notion-sdk-js@0e38438...v3.1.3
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/3.1.3
v3.1.2Compare Source
What's Changed
max_file_upload_size_in_bytesfield to User response by @ksinder in #570Full Changelog: makenotion/notion-sdk-js@194f06d...v3.1.2
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/3.1.2
v3.1.1Compare Source
What's Changed
New Contributors
Full Changelog: makenotion/notion-sdk-js@f8bb1d0...v3.1.1
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/3.1.1
v3.1.0Compare Source
What's Changed
src/api-endpoints.ts/v1/file_uploadsfamily of API endpoints (File Upload Create, Get, List, Send, Complete)notion.fileUploads.sendbuilds aFormDataobject to send fields viamultipart/form-dataFormDataparameter passing logic insrc/Client.tsfor the Send File Upload APIexamples/intro-to-notion-api/intermediate/5-upload-file.jsexample of using the File Upload API to upload and attach a fileFull Changelog: makenotion/notion-sdk-js@f2e1665...v3.1.0
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/3.1.0
v3.0.1Compare Source
What's Changed
width_ratioparameter and field oncolumnBlocks by @ksinder in #561api-endpointstypes fromsrc/index.tsby @ksinder in #562Full Changelog: makenotion/notion-sdk-js@8b867fd...v3.0.1
View this version on NPM: https://www.npmjs.com/package/@notionhq/client/v/3.0.1
v3.0.0Compare 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
fetchas the default in theClientconstructor instead ofnode-fetch.src/api-endpoints.tsby @ksinder in #558InternalFileRequest,ExternalFileRequest, andInternalOrExternalFileWithNameRequestblock_idcdcommand by @crosskayla in #493Full 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.0Compare Source
What's changed
oauth/revokeandoauth/introspecttoken endpointsby @ksinder in #552
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.17Compare Source
What's changed
LinkMentionResponseby @ksinder in #550:title,description,link_author,link_provider,thumbnail_url,icon_url,iframe_url,height,padding,padding_topFull 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.16Compare Source
link_mentionandcustom_emojitypes, which are surfaced in various places (page, database, mention rich text item responses; block object requests)ApiColorofdefault_background"ascii art","hcl", and"smalltalk"toLanguageRequestFull Changelog: makenotion/notion-sdk-js@7950edc...v2.2.16
v2.2.15Compare Source
in_trashfield to request and response bodydescriptionfield to database propertiesPartialSelectResponseto be used for select propertiesv2.2.14Compare Source
v2.2.13Compare Source
Support querying databases by unique ID.
v2.2.12Compare Source
Now createDatabase and updateDatabase allow creating unique ID properties and getDatabase will now return unique ID properties.
v2.2.11Compare Source
/oauth/tokenendpoint (#73)v2.2.10Compare Source
Export new helper
isFullPageOrDatabase.Configuration
📅 Schedule: Branch creation - "before 12pm every weekday" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.