Meeseeks v0.14.0 Release Notes

Release Date: 2019-09-30 // 4 months ago
  • 💥 Breaking

    • [Extract] The private Document.Node behaviour was removed, so any direct use of its callbacks with nodes will be broken
    • [Extract] Comments no longer have spaces added around the content when encoding to HTML, so html output may be slightly different than before
    • [Extract] A space is now only added between nodes by text extractors if the previous sibling's text didn't end in whitespace, so data, own_text, and text output may be slightly different than before

    ✨ Enhancements

    • [Extract] Refactor extractors, removing the Document.Node behaviour and adding that functionality to modules under Meeseeks.Extractor
    • [Extract] Use iodata in string building extractors instead of string concatenation
    • [Extract] Optimize how whitespace is collapsed by text extractors
    • [Extract] Document which extractors collapse whitespace and make it optional (on by default)

    🛠 Fixes

    • [Extract] Remove incorrectly added whitespace when encoding comments to HTML
    • [Extract] No longer add space between nodes when extracting text if the previous sibling's text ended in whitespace

Previous changes from v0.13.1

  • ✨ Enhancements

    • [Parse] Update to meeseeks_html5ever v0.12.1, which uses a dirty scheduler for the NIF instead of working asynchronously