Skip to content

Conversation

@matteotarantino-algor
Copy link
Contributor

Summary

Allow @blocknote/core to work without warnings alongside @hocuspocus/provider v3 by widening the peer dependency range from only ^2.15.2 to ^2.15.2 || ^3.0.0.

Rationale

Hocuspocus v3 introduces an improved WebSocket architecture and is now the recommended version for projects using Tiptap 3 and modern collaborative setups.
BlockNote currently restricts the peer dependency to v2, causing peer-dependency warnings and preventing clean adoption of v3 even though no breaking API is used within BlockNote.
Expanding the range ensures compatibility with both versions without affecting existing users.

Changes

Updated the peer dependency in package.json:

- "@hocuspocus/provider": "^2.15.2"
+ "@hocuspocus/provider": "^2.15.2 || ^3.0.0"

Impact

  • No breaking changes to BlockNote behavior.
  • Removes peer-dependency warnings for consumers using Hocuspocus v3.
  • Maintains backward compatibility with v2.

@vercel
Copy link

vercel bot commented Nov 25, 2025

@matteotarantino-algor is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 25, 2025

Open in StackBlitz

@blocknote/ariakit

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/ariakit@2201

@blocknote/code-block

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/code-block@2201

@blocknote/core

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/core@2201

@blocknote/mantine

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/mantine@2201

@blocknote/react

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/react@2201

@blocknote/server-util

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/server-util@2201

@blocknote/shadcn

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/shadcn@2201

@blocknote/xl-ai

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-ai@2201

@blocknote/xl-docx-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-docx-exporter@2201

@blocknote/xl-email-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-email-exporter@2201

@blocknote/xl-multi-column

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-multi-column@2201

@blocknote/xl-odt-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-odt-exporter@2201

@blocknote/xl-pdf-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-pdf-exporter@2201

commit: ff0db45

@nperez0111 nperez0111 merged commit 9e5ffa8 into TypeCellOS:main Nov 25, 2025
6 of 8 checks passed
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.

2 participants