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
andstrict-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 valuesallowed
anddenied
#445abort-on-stack-trace
— support line number forinlineScript
andinjectedScript
#439set cookie
— added valueschecked
andunchecked
#444trusted-click-element
— addedreload
option #301- Added new scriptlet
trusted-set-session-storage-item
#426 set-cookie
— addedessential
andnonessential
to supported values #436trusted-set-cookie
andtrusted-set-cookie-reload
— added$currentISODate$
#435set-cookie
— added more supported values #433set-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 #423trusted-click-element
— added an ability to click an element containing a given text #409
Fixes
log-on-stack-trace
— player is broken ondeltabit.co
#384trusted-create-element
— when using thecleanupDelayMs
parameter, a removed element is re-added and removed several times #434