prosemirror-state
1.4.4 · 23 Oct 2025MIT41.4M / weekRepositoryHomepagenpmAtom feed
0.24.0 is the newest release of 0.12.x.
In short
1 breaking
- Breaking
Plugin dependencies are no longer supported.
Release note
Breaking changes
The interace toEditorState.toJSON andEditorState.fromJSON has changed.
The way plugins declare their state
field has changed. Only one
state field per plugin is supported, and state fields no longer have
hard-coded names. Plugin.getState is the
way to access plugin state now.
Plugin dependencies are no longer supported.
Plugin.reconfigure is gone. Plugins are now always created
with new Plugin.
Plugins no longer have a config field.
Bug fixes
Node selections are now properly dropped when mapped over a
change that replaces their nodes.
New features
Plugin keys can now be used to find
plugins by identity.
Transform actions now have atime field containing the timestamp when the change was made.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.