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

update changelog

This commit is contained in:
Ian Storm Taylor
2018-08-03 15:05:43 -07:00
parent 08f270dc1b
commit f6065e9eb8
4 changed files with 321 additions and 44 deletions

View File

@@ -4,6 +4,27 @@ This document maintains a list of changes to the `slate-hyperscript` package wit
---
### `0.7.0` — August 3, 2018
###### NEW
**Updated to work with `slate@0.37.0` with points.** This isn't a breaking change to any of the API's in `slate-hyperscript` itself, but it does update it to no longer depend on the core API's that were deprecated in `0.37.0`.
###### DEPRECATED
**The `<selection>` tag now takes `<anchor />` and `<focus />` children.** Previously you would set properties like `anchorKey=` or `focusOffset=` directly on the `<selection>` itself, but now these are handled as two children point tags:
```jsx
const selection = (
<selection>
<anchor key="a" offset={1} />
<focus key="a" offset={3} />
</selection>
)
```
---
### `0.6.0` — July 27, 2018
###### NEW