1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-22 15:02:51 +02:00

update changelogs

This commit is contained in:
Ian Storm Taylor
2018-02-21 18:11:54 -08:00
parent 38020c73a6
commit 2e2ab66b60
2 changed files with 22 additions and 0 deletions

View File

@@ -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

View File

@@ -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