All notable changes to Adblock Android SDK will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[5.0.0] - 2021-04-13 - !545
- Fixed the problem with automatic allow listing the website because of referrers hierarchy !540
- Refactored
adblock-android
public API which is now defined solely in packageorg.adblockplus
- AdblockEngine - new interface which exposes all the functionalities to filter URLs, get specific stylesheet and EmulationSelectors for a page !511 The same functionality had previously been accomplished through a mix of org.adblockplus.libadblockplus.android.AdblockEngine and org.adblockplus.libadblockplus.FilterEngine classes.
- AdblockEngineSettings - new interface which exposes all methods to read and set AdblockEngine preferences. !511 This interface contains embedded EditOperation interface which allows edit settings in batch and then saves the result. The same functionality had previously been accomplished through a mix of org.adblockplus.libadblockplus.android.AdblockEngine and org.adblockplus.libadblockplus.FilterEngine classes.
- AdblockEngineFactory - new class is a singleton which can obtain AdblockEngineBuilder or AsyncAdblockEngineBuilder instances !541
- AdblockEngineBuilder - new synchronous AdblockEngine builder interface !541
- AsyncAdblockEngineBuilder - new asynchronous AdblockEngine builder interface !541
- Filter - data class representing ABP Filter object !497 Updated and moved org.adblockplus.libadblockplus.Filter class.
- Subscription - class representing ABP Subscription object !491 The same functionality had previously been accomplished through a mix of org.adblockplus.libadblockplus.android.Subscription and org.adblockplus.libadblockplus.Subscription classes.
- AdblockFilterBuilder - class for building different kinds of Adblock filters. !542
[4.4.0] - 2021-03-15 - !523
- NPE crash when opening settings !515
- Fix exception thrown from AdblockWebView sample app on startup !505
- Pick disabled by default option from libabp !477
[4.3.0] - 2021-02-09 - !482
- Fixed user counting !475
- Navigation performance gets significaly slower with 10+ tabs opened !471
- Preloaded subscriptions feature does not work (in most cases) !442
- Updated FilterEngine.Matches() API after libabp update from DP-1806 !472
- Passing a document url instead of parent for genericblock rule !447
- Added support for other content types in HttpHeaderSitekeyExtractor !468
- Adblock settings decoupled from FilterEngine and settings module !470
[4.2.0] - 2021-01-15 - !452
- Fixed race condition !431
- Blocking is not working if AA is disabled !429
- Cookies that are set by redirected requests are not saved !430
- Test page (sitekey) is displaying incorrect result if AA list is enabled !429
- Fixed exception thrown when processing gzipped response stream in httpclient !446
- Updated translation strings !388
- Migrated settings into Android Architecture Components !389
- libadblockplus dependency updated !439
- Removed duplicate methods in libadblockplus utils !424
- Implemented Utils.getDomain(final String url) without throwing !440
- Enabled element hiding in iFrames as opt-in feature !432
- Replaced whitelist/blacklist with more appropriate alternative !393
[4.1.2] - 2020-11-23 - !414
- Crash in JsSiteKeyExtractor.waitForSitekeyCheck !411
[4.1.1] - 2020-10-26 - !379
- Referrers mapping are not cleared !375
- Website elements are still blocked though website is allowlisted !368
- Improved whitelisting with broken referrers !377
[4.1.0] - 2020-10-08 - !362
- SiteKey verification happens after main frame being unblocked !355
- Ensures the Domains allow list are not null while in engine init !359
- Upgraded case for disabled-by-default state of libadblockplus-android !351
- Invalid thread usage in AdblockBridge.initAdblockHelper
- TabState is not saved in WebView demo app !334
- Handled duplicated HTTP response headers !332
- Bumped compile and target version from 28 to 29 !346
- Removed special
isDomainWhitelisted
handling !348 - Removed updater from libadblockplus-android !347
- Improved whitelisting UX !335
- Moved disk reading code to a background thread to address possible ANRs !336
[4.0] - 2020-08-26 - !333
- Bing not loading correctly with Adblock WebView 3.23. !296
- Don't read error InputStream for redirections. !323
- Sitekey rules from non AA subscription are not effectively used when AA is disabled. !308
- Fixed potential crash in AdblockWebView. !305
- Fixed missed detected url on url file type detector. !316