Skip to content

v0.2.0

Compare
Choose a tag to compare
@remusao remusao released this 25 Sep 14:36
· 4863 commits to master since this release
e051c95

This release introduces a few major changes:

  • [BREAKING] Build artifacts will now be located in the dist folder
  • [BREAKING] The return value from Engine.match includes the original filter matching the request, instead of a pretty-printed version.
  • Addition of a benchmark to keep track of performance and memory consumption of the adblocker
  • Make use of tldts instead of tld.js for URL parsing (more efficient and in TypeScript)
  • Fix a few bugs:
    • Parsing of options from network filters
    • NetworkFilter' optimizer would break in some cases
    • Cosmetic filter's tokenization did not behave correctly in case of ~ or + combinators, or if styles were specified (e.g.: [foo=bar])
    • Matching of filters of type hostname anchor would not handle some corner cases
  • Build system was simplified: fewer rollup plugins and stricter TypeScript configuration
  • Lots of new tests were added: network filter matching, engine, etc.