github AdguardTeam/AdguardForAndroid 4.6.4

12 hours ago

If this release were a UFC fighter, it would go by the name “The Bugfixer” because it is all about squashing bugs. Let’s break down what we’ve accomplished here.

DNS bug

We’ve tackled a particularly eye-twitching bug that caused DNS — and, as a result, the Internet — to randomly fail when switching networks. It took some detective work on our part since the issue was unpredictable and only impacted a small number of users. But hey, no one should be left without DNS protection!

Battery drain bug

Another irritating bug we discovered during beta testing: incorrect statistics calculations were leading to excessive battery drain. The system code was unable to calculate the date necessary for accurate statistics below a certain value. Thankfully, we’ve managed to work around this odd behavior in the system code, and now the stats are calculated correctly. They also now load faster and take up less RAM.

This issue seemed to affect users on specific versions of Android. If you were using the nightly or beta version of AdGuard and ran into this problem, we recommend updating to the stable release.

Other fixes

A number of bug fixes and improvements come with the latest version of the CoreLibs, along with improved filtering quality — you can see the details in the changelog below.

Changelog

Fixes

  • AdGuard fails to export logs and settings due to statistics size #5458
  • AdGuard crashes when Recent activity log is opened in split screen #5481
  • AdGuard consumes too much battery since v4.6 #5460

CoreLibs (Filtering engine)

  • CoreLibs updated to v1.16.44

Improvements

  • Enable post-quantum cryptography when it’s used by the filtered app #1916
  • Support strict-first-party and strict-third-party modifier of uBO #1874
  • Added possibility to allowlist scriptlets #1862
  • Support redirection to the destination without tracking services as middleman #1557

Fixes

  • AdGuard content script is blocked by CSP on uber.com #1903
  • Login is broken in Firefox on sony.de #1867
  • GM_xmlhttpRequest doesn’t support the Referer header #1899
    *AdGuard overrides User-Agent changes made by the browser, which reduces privacy #1910

Scriptlets (JavaScript enhancement for filtering rules)

  • Scriptlets updated to v1.11.27

Improvements

  • set-local-storage-item — added values allowed and denied #445
  • abort-on-stack-trace — support line number for inlineScript and injectedScript #439
  • set cookie — added values checked and unchecked #444
  • trusted-click-element — added reload option #301
  • Added new scriptlet trusted-set-session-storage-item #426
  • set-cookie — added essential and nonessential to supported values #436
  • trusted-set-cookie and trusted-set-cookie-reload — added $currentISODate$ #435
  • set-cookie — added more supported values #433
  • set-local-storage-item — added more supported values #429
  • Improve logging in scriptlets #411
  • Show cosmetic rules in the filtering log #180
  • Added new scriptlet trusted-dispatch-event #382
  • Added new scriptlet trusted-replace-outbound-text #410
  • Added ability to validate redirects for AdGuard compatibility without the full rule text #420
  • trusted-click-element — added support for closed ShadowRoot #423
  • trusted-click-element — added an ability to click an element containing a given text #409

Fixes

  • log-on-stack-trace — player is broken on deltabit.co #384
  • trusted-create-element — when using the cleanupDelayMs parameter, a removed element is re-added and removed several times #434

AdGuard for Android direct download links:

AdGuard for Android TV direct download links:

Don't miss a new AdguardForAndroid release

NewReleases is sending notifications on new releases.