diff --git a/packages/slate-react/Changelog.md b/packages/slate-react/Changelog.md index a3caa86fe..bdd4fd262 100644 --- a/packages/slate-react/Changelog.md +++ b/packages/slate-react/Changelog.md @@ -4,6 +4,14 @@ This document maintains a list of changes to the `slate-react` package with each --- +### `0.12.0` — February 21, 2018 + +###### BREAKING + +* **Update to use `slate@0.33.0`.** This is to match the changes to void node behavior where their content is no longer restricted. + +--- + ### `0.11.0` — January 4, 2018 ###### BREAKING diff --git a/packages/slate/Changelog.md b/packages/slate/Changelog.md index 885b1cf95..63d6de7e9 100644 --- a/packages/slate/Changelog.md +++ b/packages/slate/Changelog.md @@ -4,6 +4,20 @@ This document maintains a list of changes to the `slate` package with each new v --- +### `0.33.0` — February 21, 2018 + +###### BREAKING + +* **Void nodes no longer prescribe their text content.** Previously void nodes would automatically normalize their text content to be a single text node containing `' '` an empty string of content. This restriction was removed, so that void nodes can have arbitrary content. You can use this to store information in void nodes in a way that is more consistent with non-void nodes. + +###### DEPRECATED + +* **The `setBlock` method has been renamed to `setBlocks`.** This is to make it more clear that it operates on any of the current blocks in the selection, not just a single blocks. + +* **The `setInline` method has been renamed to `setInlines`.** For the same reason as `setBlocks`, to be clear and stay consistent. + +--- + ### `0.32.0` — January 4, 2018 ###### BREAKING