Skip to content

v0.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Apr 21:47
· 2 commits to master since this release
b1da4d7

Changed

  • Include :children IDs to the "document" node for the flat parse result.

  • Collapse consecutive text nodes. This is going to produce less nodes.

  • Refactor the implementation of the tree sink to use an arena for faster allocations,
    as one of the html5ever's examples demonstrates.

    See the example in https://github.com/servo/html5ever/blob/ce64836c685025a5fef0860fa2e9c80b2683e8d0/html5ever/examples/arena.rs
    This change only affects the API by including the "Process Instruction" nodes (:pi).
    In terms of performance, it does not change much (from Floki's performance tests).

  • Update html5ever dependency. This should affect the parsed HTML documents,
    as it is a huge bump in the version - from 0.27 to 0.39.

Removed

  • Remove support for Elixir v1.14.

What's Changed

  • Bump thiserror from 2.0.14 to 2.0.15 in /native/html5ever_nif by @dependabot[bot] in #211
  • Bump ex_doc from 0.38.2 to 0.38.3 by @dependabot[bot] in #210
  • Update release workflow to remove warnings and fix MacOS outdated versions by @philss in #234
  • Cargo update by @philss in #235
  • Change NIF implementation to use Arena along with new html5ever v0.39 by @philss in #238
  • Release v0.18.0 by @philss in #239

SHA256 of the artifacts

0af0998c0e4523b5d93283aa0344218bf60f549a603f40349555b3bad69d3d0f  html5ever_nif-v0.18.0-nif-2.15-x86_64-pc-windows-gnu.dll.tar.gz
b1d5da655ee10a53e3e089d236640eae28c3c8fcc1e301711feffb398155b533  html5ever_nif-v0.18.0-nif-2.15-x86_64-pc-windows-msvc.dll.tar.gz
96be1b130b88cdf9a9ec3a4648d69b23d7e3a9e4999fc975a3df04eebde79c45  libhtml5ever_nif-v0.18.0-nif-2.15-aarch64-apple-darwin.so.tar.gz
d9d57e2da4c5afcd3b6f55788151a19110e096a1a6e176133cd98e3c958e25c9  libhtml5ever_nif-v0.18.0-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz
a28a33b4ea1e74c6a8e5ba11ff1b12fbc05485c8509ff1fc93ec99c5102a5e98  libhtml5ever_nif-v0.18.0-nif-2.15-aarch64-unknown-linux-musl.so.tar.gz
f872e49fa4a624c387fc969a0f923234594d170a06342f1e28562f61fb8fd93f  libhtml5ever_nif-v0.18.0-nif-2.15-arm-unknown-linux-gnueabihf.so.tar.gz
e72a7de72c9f19c6ed22b10e108891fc1e4e8d0010c22b1debf0ccae246fe454  libhtml5ever_nif-v0.18.0-nif-2.15-riscv64gc-unknown-linux-gnu.so.tar.gz
c85b7a5bd25d829a0b37f02deb0170e8e0a5b4a8ad277519ba4024b7514cd546  libhtml5ever_nif-v0.18.0-nif-2.15-x86_64-apple-darwin.so.tar.gz
ec1a04ab5ea44fd7519b407f6e58c7d9b0d7fd48031dc9e39623a0dd3b628262  libhtml5ever_nif-v0.18.0-nif-2.15-x86_64-unknown-linux-gnu.so.tar.gz
d1899ff8b27d154efe00893582e5e93a88b6442d74ea0911a693447106251925  libhtml5ever_nif-v0.18.0-nif-2.15-x86_64-unknown-linux-musl.so.tar.gz

Full Changelog: v0.17.0...v0.18.0