0.5.0
BREAKING CHANGES
node.getTextNodes()is nownode.getTexts(). This is just for consistency with the other existingNodemethods likegetBlocks(),getInlines(), etc. And it's nicely shorter. 😉Nodemethods nowthrowearlier during unexpected states. This shouldn't break anything for most folks, unless a strange edge-case was going undetected previously.