Skip to content

Releases: cloudflare/lol-html

v2.0.0

25 Sep 15:05
Compare
Choose a tag to compare
  • Added the ability for the rewriter to be Send.
    The send module contains the utilities for that.

v1.1.1

31 Jul 18:18
7967765
Compare
Choose a tag to compare

Fixed

  • Ensure that TagScanner::is_in_end_tag resets when changing parsers.

v1.1.0

28 Jul 10:47
56f17ce
Compare
Choose a tag to compare

Added

  • Added ability to get the tag and attribute names with the original casing.

v1.0.1

07 Jun 14:49
Compare
Choose a tag to compare

Fixed

  • The C API's new lol_html_element_add_end_tag_handler() function now sets the last error retrievable by lol_html_take_last_error() if it is called on an element that can have no end tag.

v1.0.0

24 May 19:17
a005329
Compare
Choose a tag to compare

Yes, you got that right: this is the first 1.x release! From now on you should expect this project to adhere to
the semantic versioning spec (we have been somewhat relaxed about that in the past).

Added

  • Added Element::end_tag_handlers() which allows better control over the end tag handlers.

Changed

  • Removed Element::on_end_tag() and Element::add_on_end_tag() in favor of the newly added
    Element::end_tag_handlers().

v0.4.0

25 Apr 14:21
Compare
Choose a tag to compare

Added

  • Added method TextChunk::as_mut_str() and TextChunk::set_str() for in-place modifications to the text in a
    TextChunk. (#175)

Changed

  • Modified method Element::on_end_tag() to support multiple handlers. This is a breaking change since the old
    semantics of the method was to overwrite any previously set handler. (#177)

v0.3.3

20 Mar 11:39
cfa4146
Compare
Choose a tag to compare

Added

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

v0.2.0

06 Mar 15:38
Compare
Choose a tag to compare
Release v0.2.0