Packages

prosemirror-state

1.4.4 · 23 Oct 2025MIT41.4M / weekRepositoryHomepagenpmAtom feed

Your version

0.17.0

5 Jan 2017Where it was published

0.24.0 is the newest release of 0.17.x.

Release note

Breaking changes

The way state is updated was changed. Instead of applying an action (a raw object with a type property), it is now done by applying a Transaction.

The EditorTransform class was renamed Transaction, and extended to allow changing the set of stored marks and attaching custom metadata.

New features

Plugins now accept a filterTransaction option that can be used to filter out transactions as they come in.

Plugins also got an appendTransaction option making it possible to follow up transactions with another transaction.

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.