releases.shpreview

v3.1.0

$npx -y @buildinternet/releases show rel_Yrg52bnyNAieuUw2YOw7b

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

Fetched April 3, 2026