mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
update history
This commit is contained in:
parent
64b1e542b8
commit
faa12473ef
19
History.md
19
History.md
@ -2,6 +2,25 @@
|
||||
This document maintains a list of changes to Slate with each new version. Until `1.0.0` is released, breaking changes will be added as minor version bumps, and non-breaking changes won't be accounted for since the library is moving quickly.
|
||||
|
||||
|
||||
---
|
||||
|
||||
### `0.17.0` — February 27, 2017
|
||||
|
||||
###### DEPRECATION CHANGES
|
||||
|
||||
- **Selection methods and transforms have been refactored!** Previously there were many inconsistencies in the naming and handling of selection changes. This has all been cleaned up, but in the process some methods have been deprecated. The full list, along with the new counterpart is:
|
||||
- `moveToOffsets` -> `moveOffsetsTo`
|
||||
- `moveForward` -> `move`
|
||||
- `moveBackward` -> `move`
|
||||
- `moveAnchorOffset` -> `moveAnchor`
|
||||
- `moveFocusOffset` -> `moveFocus`
|
||||
- `moveStartOffset` -> `moveStart`
|
||||
- `moveEndOffset` -> `moveEnd`
|
||||
- `extendForward` -> `extend`
|
||||
- `extendBackward` -> `extend`
|
||||
- `unset` -> `deselect`
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user