From 9b58b82828b65e995f26c4852393e14d34a5b55b Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Wed, 20 Jul 2016 21:40:00 -0700 Subject: [PATCH] update history --- History.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/History.md b/History.md index 6fb6d133e..e6c556702 100644 --- a/History.md +++ b/History.md @@ -2,6 +2,20 @@ 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.5.0` +_July 20, 2016_ + +###### BREAKING CHANGES + +- Change `node.getTextNodes()` to `node.getTexts()` + +This is just for consistency with the other existing `Node` methods like `getBlocks()`, `getInlines()`, etc. And it's nicely shorter. :wink: + +- Change internal `Node` logic to `throw` sooner when dealing with unexpected `Node` and `Selection` states. + +This shouldn't break anything for most folks, unless a strange edge-case was going undetected previously. + + ## `0.4.0` _July 20, 2016_