Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.57 KB

CHANGELOG.md

File metadata and controls

57 lines (39 loc) · 1.57 KB

Changelog

v0.3.3

Added

  • Support dynamic charset change on meta tags in HtmlRewriter. (#162)
  • Add Element::can_have_content. (#163)

v0.3.2

Added

  • Add Doctype::remove. (#129)
  • Add Element::start_tag() and Element::is_self_closing(). (#148)
  • Add mutation methods to StartTag and EndTag. (#148)
  • Implement Eq for all types that implement PartialEq. (#146)

Fixed

  • Changed the HTML parser to more closely match the spec. This only affects rewriters which modify HTML comments. (#128)

v0.3.1

Added

  • Add Element::on_end_tag (#97, #107, #124)

Changed

  • Change string allocators in the C API to return lol_html_str_t, not lol_html_str_t*. This was necessary to fix a memory leak in lol_html_str_free. (#115)
  • Update dependencies (#98, #103)

Fixed

  • Fix memory leaks in C API (#113, #115)

v0.3.0

  • Add unofficial Go bindings to the README (#77)
  • Update dependencies (#73)
  • Take self in HtmlRewriter::end (#68)
  • Refactor HTMLRewriter Settings to make HTMLRewriter::new infallible (#70)
  • Allow using element! in a separate expression from rewrite_str (#69)
  • Update to hashbrown 0.9 (#64)
  • Add Send+Sync constraint for ContentHandler Error
  • feat: Allow using either Settings or RewriteStrSettings (#57)
  • Fix unhappy clippy (#60)
  • Compile literal attribute name lowercase instead of value (#51)
  • Use more memory efficient nth-of-type tracking. (#49)
  • Minor cleanup from :nth-child (#48)
  • Add support for :nth-child selectors (#47)

v0.2.0

  • Added: DocumentContentHandlers::end.

v0.1.0

  • Initial release