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