Update @eyeo/webext-ad-filtering-solution dependency to 1.5.0
Background / User story
We want to bring in the latest changes to our ad blocking extension engine.
See related AdBlock issue at adblockinc/ext/adblock/adblock#519 (closed).
Dependency changes
- Name: @eyeo/webext-ad-filtering-solution
- New version: 1.5.0 (incl. 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1)
-
Breaking changes:
- 1.3.0
-
https://jira.eyeo.com/browse/EE-293 - Element hiding emulation filter hits can now also indicate a DOM element removal (i.e.
Filter.remove === true
).
-
https://jira.eyeo.com/browse/EE-293 - Element hiding emulation filter hits can now also indicate a DOM element removal (i.e.
- 1.3.1
-
https://jira.eyeo.com/browse/EE-301 - Fixed:
subscriptions.addDefaults()
no longer throws when no recommendation specific to user's language is available (see #1410 (closed)).
-
https://jira.eyeo.com/browse/EE-301 - Fixed:
- 1.4.0
- https://jira.eyeo.com/browse/EE-261 - Added styling capabilities to filters for privileged filter lists.
- 1.5.0
- https://jira.eyeo.com/browse/EE-117 - Manifest v3: Reintroduced support for non-recommended filter lists (incl. migration and reactivation of previously added non-recommended filter lists).
- https://jira.eyeo.com/browse/EE-288 - Ignore port when using domain wildcard.
- https://jira.eyeo.com/browse/EE-297 - Added "synchronize_diff_too_old" subscription error.
- https://jira.eyeo.com/browse/EE-337 - Put styling capabilities for filters behind a feature flag.
- Manifest v3: Added "synchronize_dnr_error" and "synchronize_too_many_filters" subscription errors.
- Manifest v3: Previously bundled filter lists that no longer exist will no longer be converted into a local filter list using custom filters.
- 1.3.0
-
Other changes:
- 1.3.0
-
https://jira.eyeo.com/browse/EE-11 - Added
filters.normalize()
. - https://jira.eyeo.com/browse/EE-248 - Added support for domain wildcards in element hiding filters.
- https://jira.eyeo.com/browse/EE-255 - Added support for DOM element removal functionality in element hiding emulation filters.
- https://jira.eyeo.com/browse/EE-285 - Fixed: Missing notification about finished filter list download.
-
https://jira.eyeo.com/browse/EE-11 - Added
- 1.3.1
- https://jira.eyeo.com/browse/EE-294 - Fixed: Unable to unallowlist domains from filter lists in Manifest v3.
- https://jira.eyeo.com/browse/EE-300 - Fixed: Reverted performance regression (see #1576 (closed)).
- https://jira.eyeo.com/browse/EE-304 - Fixed: Incorrect handling of first-party requests in third-party frames (see #1578 (closed)).
- Manifest v3: Fixed: Removing custom filter also removed corresponding rule in ruleset.
- 1.3.2
-
https://jira.eyeo.com/browse/EE-307 - Fixed:
$document
filters were broken for iFrames (see #1586 (closed)).
-
https://jira.eyeo.com/browse/EE-307 - Fixed:
- 1.4.0
- https://jira.eyeo.com/browse/EE-300 / https://jira.eyeo.com/browse/EE-303 - Improved performance on single-page websites to reapply filtering improvements that were reverted in EWE 1.2.1.
- Added
Filter.css
property.
- 1.5.0
- https://jira.eyeo.com/browse/EE-258 - Manifest v3: Fixed: Race condition on Microsoft Edge when adding allowlisting filters.
-
https://jira.eyeo.com/browse/EE-297 - Added
Subscription.lastModified
property. - https://jira.eyeo.com/browse/EE-323 - Added abptestpages.org to list of trusted domains for subscribe links.
- https://jira.eyeo.com/browse/EE-325 - Fixed: Blocked images weren't hidden in some cases.
- 1.3.0
Integration changes
- Legal: TBD
-
Development:
- This change should not be part of a 3.x or the 4.0 update, so it should only be merged into the "next" branch after Adblock Plus 4.0 has entered feature freeze. Until then, the change can target, be merged into and be parked in a "feature-*" branch.
- Remove temporary workaround introduced in #1410 (closed).
- Add support for DOM element removal filters to developer tools panel.
- Add support for DOM element removal filters to issue report data.
- Remove hardcoded filter list header validation logic and instead use
filters.normalize()
. - Set
inlineCss: false
when calling EWE'sstart()
function. - Do not call
filters.clearMigrationErrors()
orsubscriptions.clearMigrationErrors()
functions.
Hints for testers
- Verify that #1410 (closed), #1576 (closed), #1578 (closed), #1586 (closed) are still fixed.
- Verify that unallowlisting a domain that is allowlisted via a filter list works as expected.
- Verify that styling filters cannot be used in privileged (i.e. "ABP filters", Premium filter lists) or unprivileged filter lists.
- Developer tools panel and issue report data should consider DOM element removal element hiding emulation filters.
- Copy-pasting a filter list into the custom filter table should work as expected (e.g. no errors should occur; filter list header should be ignored and not added).
- Manifest v3: When updating a filter list, its "Last updated" status on the desktop settings page should not get stuck showing "Updating".
Further information
Internal ticket: https://eyeo.atlassian.net/browse/EE-380
Edited by Thomas Greiner