Skip to content

Releases: cloudflare/lol-html

v2.6.0

18 Jul 12:18

Choose a tag to compare

  • Added source code locations to the C and JS APIs.
  • Significant performance improvements and code size reductions.

v2.5.0

23 Jun 13:29

Choose a tag to compare

  • Source code locations for tags and other tokens.
  • Document text chunks and escaping of attributes.
  • Selector validation improvements.

v2.4.0

22 May 14:58
3baadd2

Choose a tag to compare

  • Upgraded selectors and cssparser.

v2.3.0

22 Apr 11:39
27e7556

Choose a tag to compare

  • Added element.onEndTag to JS bindings.
  • Refactored TextDecoder and token construction to avoid heap allocations.
  • Added fast paths for UTF-8 rewrites.

v2.2.0

06 Jan 15:10

Choose a tag to compare

  • Updated cssparser and selectors dependencies
  • Adopted cargo-c for building the C API
  • Added WASM/JS API
  • An invalid /> syntax will be removed when content is added to an HTML element

v2.1.0

04 Dec 14:48

Choose a tag to compare

  • Added streaming handlers.
  • Only allow changing the charset once with the <meta> tag, in accordance with the HTML spec.
  • Fixed parsing of invalid elements in <svg> and <math>.

v2.0.0

25 Sep 15:05

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

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

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

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.