Skip to content

Latest commit

 

History

History
417 lines (223 loc) · 15.8 KB

CHANGELOG.md

File metadata and controls

417 lines (223 loc) · 15.8 KB

v1.23.7 (Wed Mar 23 2022)

💅 Polish

  • cosmetics: make sure we do not hide body or html elements #2496 (@remusao)

Authors: 1


v1.23.4 (Mon Jan 17 2022)

🔩 Dependencies

Authors: 1


v1.22.7 (Wed Sep 22 2021)

🏠 Internal

🔩 Dependencies

Authors: 2


v1.21.0 (Sun May 30 2021)

🚀 New Feature

🔩 Dependencies

Authors: 2


v1.20.5 (Tue May 04 2021)

🐛 Bug Fix

🔩 Dependencies

Authors: 1


v1.20.3 (Sat Feb 27 2021)

🏠 Internal

Authors: 1


v1.20.2 (Thu Feb 18 2021)

🐛 Bug Fix

  • Fix puppeteer regression when handling DOM mutations #1688 (@remusao)

Authors: 1


v1.20.0 (Thu Jan 21 2021)

Release Notes

Initial support for extended CSS selectors (a.k.a. procedural filters) (#1574)

Add initial support for extended CSS selectors (a.k.a. procedural filters) as well as the :remove() modifier for element hiding rules (note: the already supported :style modified now also works with extended CSS selectors). The following new pseudo-classes are implemented: :has (and its alias :if), :has-text (both string and RegExp literals), and :not (whenever its argument is also an extended selector, otherwise fallback to native implementation).

Caveats:

  • Loading of extended css filters is disabled by default and needs to be toggled using the loadExtendedSelectors option while initializing the blocker instance.
  • These news selectors are currently only supported by WebExtensionBlocker (support for Puppeteer, Electron and Playwright is not planned at this time but help from the community would be greatly appreciated).

Miscellaneous changes:

  • Removal of unused injectCSSRule helper.
  • Replace Closure compiler by Terser.

🚀 New Feature

  • Initial support for extended CSS selectors (a.k.a. procedural filters) #1574 (@remusao)

Authors: 1


v1.19.0 (Wed Dec 16 2020)

🐛 Bug Fix

🔩 Dependencies

Authors: 1


v1.18.7 (Tue Nov 24 2020)

💅 Polish

Authors: 1


v1.18.4 (Sun Nov 01 2020)

🐛 Bug Fix

🔩 Dependencies

Authors: 1


v1.18.0 (Mon Aug 24 2020)

🐛 Bug Fix

🔩 Dependencies

Authors: 2


v1.17.0 (Sun Jul 12 2020)

🔩 Dependencies

Authors: 1


v1.16.0 (Wed Jun 10 2020)

🐛 Bug Fix

🔩 Dependencies

Authors: 1


v1.15.0 (Sat May 23 2020)

🐛 Bug Fix

🔩 Dependencies

Authors: 1


v1.14.3 (Mon May 04 2020)

🐛 Bug Fix

🔩 Dependencies

Authors: 1


v1.14.2 (Tue Apr 21 2020)

🐛 Bug Fix

🔩 Dependencies

Authors: 1


v1.14.1 (Thu Apr 09 2020)

Release Notes

From #746

  • Make sure that all unsupported procedural selectors from cosmetic filters are dropped to ensure that we only inject valid CSS selectors.
  • Fix matching of domain= option for domain filters in cases where specified domain is a subdomain instead of full hostname or full domain.
  • Fix partyness detection for requests without a valid domain (but having a valid hostname). This fixes matching against localhost request (for instance).
  • Fix engine updates stress test which allows to replay all day-to-day diffs since the beginning of times... (currently about a year) and make sure that all updates work and resulting engine is byte-identical with diff-update or full initialization.
  • Fix script to analyze size of serialized engines for all presets as well as all kinds of compression (i.e. none, gzip and brotli). This allows to keep track of final size after small-strings compression was applied.

💅 Polish

  • Fix domain options with subdomains and more... #746 (@remusao)

Authors: 1


v1.14.0 (Wed Apr 08 2020)

Release Notes

From #738

  • Add guessRequestTypeFromUrl config option to all blocker classes which allows to automatically guess the type of network requests based on their URLs. This can be useful for cases where the type is either not available or not accurately inferred (e.g. when requests have time 'other').
  • Fix a case where PuppeteerBlocker could show an async unhandled exception in console when trying to remove blocked iframes in pages.
  • Fix redirection to binary resources (i.e. base64 encoded). An issue caused these resources to be corrupted which means that redirected resources were not valid (e.g. invalid PNG image).
  • Redirection to local resources has been improved and will now always succeed thanks to a system of fallback. More types are also available for redirection.
  • Improve API of blocker classes (i.e. PuppeteerBlocker, ElectronBlocker and WebExtensionBlocker) to allow creating custom blocking logic of resources using: blockScripts, blockImages, blockMedias, blockFrames, blockFonts, and blockStyles. These helpers can be called on any existing blocker instance, or on a new one created with the empty() static method.
  • Add initial DSL (Domain Specific Language) to create blocking rules with a high-level API. This is used behind the scene to implement the new blocking methods now exposed by blocker instances. This new DSL should be considered alpha-quality and the API will likely change (and break) in the future. It might also be extended to handle hiding rules (a.k.a cosmetic filters).
  • Fix behavior of NetworkFilter#toString which should now return a better pretty-printed version of the original filters whenever the debug option was false (in which case some information about the original raw string is lost and the string version needs to be inferred back).
  • Implement handling of data: URLs. This means that the Request abstraction will now treat them as valid requests and that their type should always be inferred correctly. Moreover, the matching of data: URLs will now only take into account the prefix and ignore anything following the ',' separator.
  • Requests with empty domain will not be treated as third-party anymore (this should not happen in the wild and was mostly impacting our unit tests).

🚀 New Feature

Authors: 1


v1.13.1 (Fri Apr 03 2020)

📝 Documentation

Authors: 1


v1.13.0 (Mon Mar 30 2020)

Release Notes

From #690

PuppeteerBlocker is now more powerful and will be able to better block ads on most websites. Firstly, a bug was fixed which prevented injection of cosmetics in the main frame of pages. Secondly, PuppeteerBlocker will now monitor the DOM for changes to make sure that ads which load later are still "handled" (if you know what I mean). Lastly, PuppeteerBlocker is now able to look for advertisement iframes and remove them from the DOM completely, no more blank spaces left unattended...


🚀 New Feature

  • Fix PuppeteerBlocker and enable blocking of frames and DOM monitoring. #690 (@remusao)

Authors: 1


v1.12.3 (Sat Mar 28 2020)

🏠 Internal

Authors: 1


v1.10.1 (Wed Mar 25 2020)

🐛 Bug Fix

Authors: 1


v1.10.0 (Wed Mar 25 2020)

🔩 Dependencies

Authors: 1


v1.9.0 (Thu Feb 20 2020)

🐛 Bug Fix

  • build(deps-dev): bump @ampproject/rollup-plugin-closure-compiler

Bumps @ampproject/rollup-plugin-closure-compiler from 0.21.0 to 0.22.2.

Signed-off-by: dependabot-preview[bot] support@dependabot.com (@dependabot-preview[bot])

Authors: 1


v1.8.4 (Thu Feb 13 2020)

🐛 Bug Fix

Authors: 1