0.7.0 is out now. This release’s changes mostly center around the new content expressions, a way to more precisely describe the kind of nodes that parent nodes may hold. You only need to worry about that if you’re defining your own schema.
You can find all new patches here.
The following properties on node types have lost their meaning:
type is also gone.
SchemaSpec is now an interface, not a class. Its
nodes field refers to
objects, rather than directly to
NodeType constructors. These hold
not only a constructor but also a content expression and optionally a
canContainType are gone, since they can’t accurately express the
constraints of the new content expressions.
Transform steps are now regular classes,
Transform.step now only takes a step object, not
separate values. The
"ancestor" step types
have been superseded by
Node nesting is now expressed through a more powerful mechanism, content expressions.
ContentMatch class provides a way to apply and
reason about such content expressions.
nodesBetween now passes the node’s index to
its callback as fourth argument.
Resolved positions got a new method
indexAfter, and their methods that
expect a depth allow the argument to be omitted to specify the
position’s own depth, or a negative integer to be passed to specify a
depth relative to the position’s depth.