github gorhill/uBlock 1.37.3b2

latest releases: 1.61.1b4, 1.61.1b3, 1.61.1b2...
pre-release3 years ago

Commits to master since this release

To install the developer build:


New

A new NodeJS package will now published with every release. The package allows to import and use uBO's static network filtering engine into NodeJS. This is currently minimal and a first iteration, and issues regarding the NodeJS package are accepted in order to improve usability of uBO's filtering engine as as a NodeJS package.

For now the package can be downloaded and unzipped locally. Once installed, you can execute node test in the root of the package to verify that the static network filtering engine works properly. For usage, refer to the test.js, or ublock.js used in Cliqz's benchmark.

A current limitation is that the WASM code paths can't be enabled since currently the WASM modules are loaded using the fetch() API, which is not available as default API in NodeJS. I will attempt to identify a solution in a future version. Fixed in 1.37.3b2.

Since I have little experience with dealing with NodeJS environment/packages, thanks to @mjethani for assistance.

Closed as fixed:

  • Split out core functionality into separate module
    • This is of course an ongoing work for the foreseeable future, but the concrete goal sought in the issue has been reached, i.e. the static network filtering engine can be used as a nodejs module with no external dependencies.
    • Since uBO's codebase now uses JS modules, the minimum version of some browsers has been increased to Chromium 61 and Opera 48. For Firefox 59 or less, you will have to toggle the thedom.moduleScripts.enabled preference to true.

Notable commits without en entry in the issue tracker

Don't miss a new uBlock release

NewReleases is sending notifications on new releases.