Skip to content

0.7.0 - Strict mode

Pre-release
Pre-release
Compare
Choose a tag to compare
@octet-stream octet-stream released this 15 Apr 01:32
· 67 commits to main since this release

Add

  • Introduce strict option for SlateVIew, useSlateToReact and transformNodes. When enabled, the id field is required on each node. If node without an id, the NodeNoIdFieldError will be thrown. Strict mode does not support custom ID generators;
  • Expose NoIdFieldError class
  • Expose TextNode type.

Important: In future releases strict mode will be enabled by default and might as well become the only option.


All changes: v0.6.0...v0.7.0