From 90353f7cc4de8add8ca3e66b0640f87d2a208473 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Tue, 20 Feb 2024 16:41:46 +0300 Subject: [PATCH] Updated changelog and added info about buffer list Squashed commit of the following: commit f1e3dc89b5e64b3e71f4a59ccd733d556be91584 Author: Andrey Meshkov Date: Wed Feb 14 12:50:08 2024 +0300 fix review comments commit 3bf3f925dbdc866cbe554e1948f77024db99d2c4 Merge: 04e4d369 dd6963df Author: Slava Leleka Date: Tue Feb 13 19:53:41 2024 +0200 merge master into the branch, resolve conflicts commit 04e4d36944fe44d6f76568fdea6b74b5f56705e2 Author: Andrey Meshkov Date: Tue Feb 13 17:55:28 2024 +0300 more release links commit c697781fe50a4885cf95bae6d51a62711db33ff3 Author: Andrey Meshkov Date: Tue Feb 13 17:51:35 2024 +0300 Updated changelog and added info about buffer list --- packages/tsurlfilter/CHANGELOG.md | 163 ++++++++++-- packages/tswebextension/CHANGELOG.md | 354 +++++++++++++++++++++++---- 2 files changed, 442 insertions(+), 75 deletions(-) diff --git a/packages/tsurlfilter/CHANGELOG.md b/packages/tsurlfilter/CHANGELOG.md index 2de6984cd0..78395ab176 100644 --- a/packages/tsurlfilter/CHANGELOG.md +++ b/packages/tsurlfilter/CHANGELOG.md @@ -5,12 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - + ## [2.2.14] - 2024-02-13 ### Added + - New `BufferRuleList` class that is supposed to replace `StringRuleList`. It provides the same performance, but at the same time uses less memory as the original filter list is stored as a UTF-8 encoded byte array. @@ -20,53 +21,81 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.2.13] - 2024-02-13 ### Changed + - Updated `@adguard/scriptlets` to `v1.10.1`. +[2.2.13]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.13 + ## [2.2.12] - 2024-02-07 ### Changed -- Priority calculation for `$popup` modifier [#2620](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2620) + +- Priority calculation for `$popup` modifier [#2620]. + +[#2620]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2620 +[2.2.12]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.12 ## [2.2.11] - 2024-01-25 ### Changed + - Disable default support of newly added modifiers in MV3 converter. +[2.2.11]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.11 + ## [2.2.10] - 2024-01-09 ### Added + - Export path for type declarations. +[2.2.10]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.10 + ## [2.2.9] - 2023-12-27 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.105`. ### Fixed -- Cosmetic rules with wildcard do not work on some domains [#2650](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2650) + +- Cosmetic rules with wildcard do not work on some domains [#2650]. + +[#2650]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2650 +[2.2.9]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.9 ## [2.2.8] - 2023-12-07 ### Added -- Library version number to the exports [#2237](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2237). + +- Library version number to the exports [#2237]. + +[#2237]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2237 +[2.2.8]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.8 ## [2.2.7] - 2023-11-30 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.101`. +[2.2.7]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.7 ## [2.2.6] - 2023-11-15 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.96`. +[2.2.6]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.6 ## [2.2.5] - 2023-11-13 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.91`. +[2.2.5]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.5 ## [2.2.4] - 2023-11-08 @@ -75,137 +104,182 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Support of `$permissions` modifier for compiler validation [#66](https://github.com/AdguardTeam/tsurlfilter/issues/66) +[2.2.4]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.4 ## [2.2.3] - 2023-11-03 ### Added -- Support of `$referrerpolicy` modifier for compiler validation - [#191](https://github.com/AdguardTeam/FiltersCompiler/issues/191) +- Support of `$referrerpolicy` modifier for compiler validation [#191]. + +[#191]: https://github.com/AdguardTeam/FiltersCompiler/issues/191 +[2.2.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.3 ## [2.2.2] - 2023-10-17 ### Fixed -- Added all resource types for $removeparam [#49](https://github.com/AdguardTeam/AdGuardMV3/issues/49) +- Added all resource types for $removeparam [#49]. + +[#49]: https://github.com/AdguardTeam/AdGuardMV3/issues/49 + +[2.2.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.2 ## [2.2.1] - 2023-10-13 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.83`. +[2.2.1]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.1 ## [2.2.0] - 2023-10-12 ### Added + - Support for $badfilter rules to Declarative Converter. +[2.2.0]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.2.0 ## [2.1.12] - 2023-09-25 ### Fixed -- Scriptlets not being logged when filtering log is open [#2481](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2481) -- Filtering log clearing on `$removeparam` rule application [#2442](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2442) +- Scriptlets not being logged when filtering log is open [#2481]. +- Filtering log clearing on `$removeparam` rule application [#2442]. + +[#2481]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2481 +[#2442]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2442 + +[2.1.12]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.12 ## [2.1.11] - 2023-08-25 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.72`. +[2.1.11]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.11 ## [2.1.10] - 2023-08-21 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.70`. +[2.1.10]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.10 ## [2.1.9] - 2023-08-18 ### Added + - Added `CspReport` to RequestType enum. +[2.1.9]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.9 ## [2.1.8] - 2023-08-14 ### Fixed + - Crash on converting allowlist csp rules. +[2.1.8]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.8 ## [2.1.7] - 2023-08-10 ### Added + - Support for `$to` modifier in the MV3 converter. - Support for `$method` modifier in the MV3 converter. ### Changed -- Replace the `ip6addr` and `netmask` dependencies with the platform-independent `cidr-tool'. + +- Replace the `ip6addr` and `netmask` dependencies with the platform-independent + `cidr-tool`. - Remove Node Api polyfills from the bundle. ### Fixed + - Bad conversion of `allowAllRequests` rules. +[2.1.7]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.7 ## [2.1.6] - 2023-08-04 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.62`. - Esm module now imports external dependencies instead of bundling. +[2.1.6]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.6 ## [2.1.5] - 2023-07-21 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.57`. +[2.1.5]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.5 ## [2.1.4] - 2023-07-13 ### Added + - Support for `$csp` modifier in the MV3 converter. - Scheme for converting network rules into declarative rules. ### Changed + - Converting rules in MV3 with these modifiers `$elemhide`, `$specifichide` and `$generichide` now does not cause any errors and is simply skipped. ### Fixed + - Matching result caching for rules with `$method` modifier +[2.1.4]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.4 ## [2.1.3] - 2023-06-26 ### Added + - New `$to` modifier to match requests by target domains and subdomains. - In the MV3 declarative converter, the obsolete `$mp4` and `$empty` are now converted by replacing them with `$redirect` rules. - Support for $removeheader modifier in the MV3 converter. ### Fixed + - Rule converter incorrectly converting network rules with regexp. +[2.1.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.3 + ## [2.1.2] - 2023-06-19 ### Fixed -- Unwanted escape character removal when running `RuleConverter.convertRule()` on rules with regexp-value modifiers +- Unwanted escape character removal when running `RuleConverter.convertRule()` + on rules with regexp-value modifiers. + +[2.1.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.2 ## [2.1.1] - 2023-06-16 ### Added - New `$method` modifier to match requests by HTTP method. -- New `NetworkRule` method `isFilteringDisabled` to check if rule is completely disabled filtering. +- New `NetworkRule` method `isFilteringDisabled` to check if rule is completely + disabled filtering. +[2.1.1]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.1 ## [2.1.0] - 2023-06-14 ### Changed - The algorithm of priority calculation: adding more accurate calculation - of weights for each rule type - more details here - https://github.com/AdguardTeam/KnowledgeBase/pull/196. + of weights for each rule type - more details in [#196]. - `$all` modifier is one NetworkRule rule with all included options. - Removed `$csp` modifier from `$all` (`$inline-font` and `$inline-script`). - `$document` in blocking rule now just puts content-type: document (main_frame). @@ -218,13 +292,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Exceptions are higher in priority than `$redirect` and blocking rules. - `$important` is higher than all others. +[#196]: https://github.com/AdguardTeam/KnowledgeBase/pull/196 + +[2.1.0]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.1.0 ## [2.0.7] - 2023-06-14 ### Fixed -- Do not remove escape characters from regexp modifiers values during `RuleConverter.convertRule()` +- Do not remove escape characters from regexp modifiers values during + `RuleConverter.convertRule()`. +[2.0.7]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.7 ## [2.0.6] - 2023-06-06 @@ -236,24 +315,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Domain matching for wildcard tld in rules +[2.0.6]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.6 ## [2.0.5] - 2023-04-24 ### Changed -- RuleConverter speed has been improved by 2x [#83](https://github.com/AdguardTeam/tsurlfilter/issues/83) -- Declarative converter build has been separated from the main package +- RuleConverter speed has been improved by 2x [#83]. +- Declarative converter build has been separated from the main package. +[#83]: https://github.com/AdguardTeam/tsurlfilter/issues/83 - +[2.0.5]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.5 + ## [2.0.3] - 2023-04-17 ### Fixed -- `require` export of `umd` +- `require` export of `umd`. +[2.0.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.3 ## [2.0.2] - 2023-04-17 @@ -261,19 +344,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated `@adguard/scriptlets` to `v1.9.7` +[2.0.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.2 ## [2.0.1] - 2023-03-31 ### Added -- New `DeclarativeConverter` API that provides functionality for converting AG rules to MV3 declarative syntax. -- New `@adguard/tsurlfilter/cli` tool for compiling filter lists into declarative MV3 rules from the terminal. +- New `DeclarativeConverter` API that provides functionality for converting AG + rules to MV3 declarative syntax. +- New `@adguard/tsurlfilter/cli` tool for compiling filter lists into + declarative MV3 rules from the terminal. ### Removed -- Removed `ContentFilter`, `ContentFiltering`, `ModificationsListener`, `RequestContext`, `ExtendedCss`, `CssHitsCounter`, `CookieController`, `StealthHelper`, `CookieFiltering`, `HeadersService` classes. The provided functionality is now available in the `@adguard/tswebextension` package. -- Removed `TSUrlFilterContentScript` API. Now content script is implemented in the `@adguard/tswebextension` package. +- Removed `ContentFilter`, `ContentFiltering`, `ModificationsListener`, + `RequestContext`, `ExtendedCss`, `CssHitsCounter`, `CookieController`, + `StealthHelper`, `CookieFiltering`, `HeadersService` classes. + The provided functionality is now available in the new + `@adguard/tswebextension` package. +- Removed `TSUrlFilterContentScript` API. Now content script is implemented in + the `@adguard/tswebextension` package. +[2.0.1]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.1 ## [2.0.0-alpha.49] - 2023-03-14 @@ -281,19 +373,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated Scriptlets to v1.9.1 +[2.0.0-alpha.49]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.0-alpha.49 + ## [2.0.0-alpha.47] - 2023-01-20 ### Changed - The enum RequestType is made as const to avoid side effects for tree shaking. +[2.0.0-alpha.47]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.0-alpha.47 ## [2.0.0-alpha.35] - 2022-12-23 ### Removed -- Support of $webrtc modifier +- Support of `$webrtc` modifier. +[2.0.0-alpha.35]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v2.0.0-alpha.35 ## [1.0.77] - 2023-03-10 @@ -301,13 +397,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated Scriptlets to v1.9.1 +[1.0.77]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.77 ## [1.0.76] - 2023-03-01 ### Fixed -- Avoid cases where two `CssHitsCounter`s try to append and remove the same elements one after another +- Avoid cases where two `CssHitsCounter`s try to append and remove the same + elements one after another. +[1.0.76]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.76 ## [1.0.75] - 2023-02-17 @@ -315,6 +414,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated ExtendedCss to v2.0.51 +[1.0.75]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.75 ## [1.0.74] - 2023-02-07 @@ -322,6 +422,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated ExtendedCss to v2.0.49 +[1.0.74]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.74 ## [1.0.73] - 2023-02-01 @@ -329,6 +430,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated ExtendedCss to v2.0.45 +[1.0.73]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.73 ## [1.0.70] - 2023-01-19 @@ -336,6 +438,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated Scriptlets to v1.8.2 +[1.0.70]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.70 ## [1.0.68] - 2022-12-28 @@ -347,6 +450,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed unnecessary brackets for unknown pseudo-class validation error +[1.0.68]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.68 ## [1.0.67] - 2022-12-27 @@ -358,6 +462,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved selector validation unknown pseudo-class error +[1.0.67]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.67 ## [1.0.66] - 2022-12-23 @@ -365,6 +470,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Support of $webrtc modifier +[1.0.66]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.66 ## [1.0.65] - 2022-12-22 @@ -373,6 +479,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated ExtendedCss to v2.0.33 - Updated Scriptlets to v1.7.19 +[1.0.65]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.65 ## [1.0.64] - 2022-12-16 @@ -380,6 +487,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated Scriptlets to v1.7.14 +[1.0.64]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.64 ## [1.0.63] - 2022-12-13 @@ -387,6 +495,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated Scriptlets to v1.7.13 +[1.0.63]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.63 ## [1.0.62] - 2022-12-12 @@ -394,6 +503,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Always consider `:has()` pseudo-class as extended +[1.0.62]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.62 ## [1.0.59] - 2022-12-08 @@ -401,6 +511,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated ExtendedCss to v2.0.26 +[1.0.59]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.59 ## [1.0.57] - 2022-12-06 @@ -412,3 +523,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - `:if()` and `:if-not()` pseudo-classes + +[1.0.57]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tsurlfilter-v1.0.57 diff --git a/packages/tswebextension/CHANGELOG.md b/packages/tswebextension/CHANGELOG.md index 30a480188e..ac698d929c 100644 --- a/packages/tswebextension/CHANGELOG.md +++ b/packages/tswebextension/CHANGELOG.md @@ -5,436 +5,641 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - + ## [1.0.14] - 2024-02-13 ### Changed + - Filtering engine now uses the new `BufferRuleList` provided by `@adguard/tsurlfilter` to improve performance and memory usage. ## [1.0.13] - 2024-02-13 ### Added -- New cleanup mechanism for `RequestContextStorage` to prevent memory leaks during internal redirects. + +- New cleanup mechanism for `RequestContextStorage` to prevent memory leaks + during internal redirects. ### Changed + - Updated `@adguard/tsurlfilter` to `v2.2.13`. - Updated `@adguard/scriptlets` to `v1.10.1`. ### Fixed + - Prevent memory leaks due to V8 optimizations of substring operations. +[1.0.13]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.13 ## [1.0.12] - 2024-02-07 ### Fixed -- Applying of `$all` modifier rules [#2620](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2620) +- Applying of `$all` modifier rules [#2620]. + +[#2620]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2620 + +[1.0.12]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.12 ## [1.0.11] - 2024-02-06 ### Fixed + - Incorrect handling hook `webNavigation.onCommitted` for Opera with force recalculating matching result. - Correct export of `EXTENDED_CSS_VERSION` for mv2 version. +[1.0.11]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.11 ## [1.0.10] - 2024-01-27 ### Fixed + - Export correct types for TS. -- Exclude usage of ExtendedCSS in common to prevent errors in background in the MV. +- Exclude usage of ExtendedCSS in common to prevent errors in background in the + MV. +[1.0.10]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.10 ## [1.0.9] - 2024-01-25 ### Changed + - Correct usage of `setConfiguration`. +[1.0.9]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.9 ## [1.0.8] - 2023-12-27 ### Changed -- `webNavigation.onCommitted` event handler to take into account Opera event firing bug. + +- `webNavigation.onCommitted` event handler to take into account Opera event +firing bug. - Updated `@adguard/tsurlfilter` to `v2.2.9`. - Updated `@adguard/scriptlets` to `v1.9.105`. +[1.0.8]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.8 ## [1.0.6] - 2023-12-19 ### Changed -- Stealth options that are applied to the document can now be disabled by the $stealth rule. [#2648](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2648). +- Stealth options that are applied to the document can now be disabled by a + `$stealth` rule. [#2648]. + +[#2648]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2648 + +[1.0.6]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.6 ## [1.0.5] - 2023-12-08 ### Fixed -- `Do Not Track` and `Hide Referrer from third parties` ignoring global Stealth mode toggle. +- `Do Not Track` and `Hide Referrer from third parties` ignoring global Stealth +mode toggle. + +[1.0.5]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.5 ## [1.0.4] - 2023-12-08 ### Fixed -- Session storage error in old browsers [#2636](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2636). +- Session storage error in old browsers [#2636]. + +[#2636]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2636 + +[1.0.4]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.4 ## [1.0.3] - 2023-12-08 ### Fixed + - Incorrect path for `typings` in `package.json`. +[1.0.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.3 ## [1.0.2] - 2023-12-07 ### Added -- Library version number to the exports [#2237](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2237). + +- Library version number to the exports [#2237]. ### Changed + - Updated `@adguard/tsurlfilter` to `v2.2.8`. ### Fixed -- Remove referrer from the document.referrer [#1844](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/1844) +- Remove referrer from the document.referrer [#1844]. + +[#1844]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/1844 + +[#2237]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2237 + +[1.0.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.2 ## [1.0.1] - 2023-12-06 ### Fixed -- HTML ($$) rules break encoding on some websites [#2249](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2249) +- HTML ($$) rules break encoding on some websites [#2249]. + +[#2249]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2249 + +[1.0.1]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.1 ## [1.0.0] - 2023-12-01 ### Added -- New `TsWebExtension.initStorage` method to initialize persistent values for background script. + +- New `TsWebExtension.initStorage` method to initialize persistent values for + the background script. - New `createTsWebExtension` function to create `TsWebExtension` instance. ### Changed -- [BREAKING CHANGE] In preparation for using event-driven background scripts, we started using a session store to persist application context on restart. Since extension session store CRUD operations are asynchronous, we added protection against reading the context before initialization to avoid unexpected behavior. Some code that depends on this restored data may be called before the `start` method to prepare the `configuration`, so we split the initialization process into two parts: the new `initStorage` method, which is called as soon as possible and allows access to the actual context before directly starting the filtration, and the `start` method, which initializes the filtration. -- [BREAKING CHANGE] `TsWebExtension` constructor now accepts submodules as arguments. To get the `TsWebExtension` instance with `webAccessibleResources` param, use the new `createTsWebExtension` method. +- [BREAKING CHANGE] In preparation for using event-driven background scripts, + we started using a session store to persist application context on restart. + Since the extension session store CRUD operations are asynchronous, we added + protection against reading the context before initialization to avoid + unexpected behavior. Some code that depends on this restored data may be + called before the `start` method to prepare the `configuration`, so we split + the initialization process into two parts: the new `initStorage` method, which + is called as soon as possible and allows access to the actual context before + directly starting the filtering, and the `start` method, which initializes + the filtering process. +- [BREAKING CHANGE] `TsWebExtension` constructor now accepts submodules as + arguments. To get the `TsWebExtension` instance with `webAccessibleResources` + param, use the new `createTsWebExtension` method. + +[1.0.0]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v1.0.0 ## [0.4.9] - 2023-11-30 ### Added -- API `settings.debugScriptlets` property and `setDebugScriptlets()` method for its setting - [#2584](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2584). + +- API `settings.debugScriptlets` property and `setDebugScriptlets()` method for +its setting [#2584]. ### Changed + - Updated `@adguard/tsurlfilter` to `v2.2.7`. - Updated `@adguard/scriptlets` to `v1.9.101`. +[#2584]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2584 + +[0.4.9]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.9 ## [0.4.8] - 2023-11-29 ### Changed + - `MessageHandlerMV2` type is exported now. +[0.4.8]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.8 ## [0.4.7] - 2023-11-21 ### Fixed + - Fix cosmetic apply logging. +[0.4.7]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.7 ## [0.4.6] - 2023-11-16 ### Added -- Support for `POST` requests to `$removeparam` modifier [#99](https://github.com/AdguardTeam/tsurlfilter/issues/99). + +- Support for `POST` requests to `$removeparam` modifier [#99]. ### Fixed + - Fix 'storage not initialized' error on extension install. +[#99]: https://github.com/AdguardTeam/tsurlfilter/issues/99 + +[0.4.6]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.6 ## [0.4.5] - 2023-11-15 ### Added -- Allowlist wildcard support [#2020](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2020). + +- Allowlist wildcard support [#2020]. ### Changed + - Updated `@adguard/tsurlfilter` to `v2.2.6`. - Updated `@adguard/scriptlets` to `v1.9.96`. +[#2020]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2020 + +[0.4.5]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.5 ## [0.4.4] - 2023-11-13 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.2.5`. - Updated `@adguard/scriptlets` to `v1.9.91`. +[0.4.4]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.4 ## [0.4.3] - 2023-11-09 ### Fixed -- Ads displayed on the first visit on 'pikabu.ru' [#2571](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2571). + +- Ads displayed on the first visit on 'pikabu.ru' [#2571]. - Memory leaks associated with storing refs to old filter lists in context of frames. ### Added -- Added new `ExtensionStorage`, `PersistentValueContainer`, `createExtensionStorageDecorator` interfaces and for restoring data in event-driven background scripts [#2286](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2286). +- Added new `ExtensionStorage`, `PersistentValueContainer`, + `createExtensionStorageDecorator` interfaces and for restoring data in + event-driven background scripts [#2286]. + +[#2571]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2571 + +[#2286]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2286 + +[0.4.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.3 ## [0.4.2] - 2023-10-17 ### Fixed + - Removed grouping rules with `\r\n` for extended css rules which cause its error in MV3. +[0.4.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.2 ## [0.4.1] - 2023-10-13 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.2.1`. - Updated `@adguard/scriptlets` to `v1.9.83`. +[0.4.1]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.1 ## [0.4.0] - 2023-10-12 ### Added + - Support for $badfilter rules to Declarative Converter. +[0.4.0]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.4.0 + ## [0.3.22] - 2023-10-02 ### Fixed -- AdGuard v4.2.168 is not working in the Firefox after update [#2501](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2501) + +- AdGuard v4.2.168 is not working in the Firefox after update [#2501]. + +[#2501]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2501 + +[0.3.22]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.22 ## [0.3.21] - 2023-09-25 ### Fixed + - Incorrect logging and applying of `$removeheader` allowlist rules. -- Proceed anyway is not working for more than two level domains [#2497](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2497). +- Proceed anyway is not working for more than two level domains [#2497]. +[#2497]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2497 + +[0.3.21]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.21 ## [0.3.20] - 2023-09-19 ### Added -- CSP `trusted-types` directive modifying for response headers - [#2068](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2068). +- CSP `trusted-types` directive modifying for response headers [#2068]. + +[#2068]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2068 + +[0.3.20]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.20 ## [0.3.19] - 2023-09-18 ### Fixed -- `$csp`, `$removeparam` and `$removeheader` allowlist rules not being published as filtering log events. -- Cosmetic rule injection in cached subdocument - [#2420](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2420), - [#2190](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2190), - [#2328](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2328). +- `$csp`, `$removeparam` and `$removeheader` allowlist rules not being published + as filtering log events. +- Fixed cosmetic rules injection into a cached subdocument [#2420], + [#2190], [#2328]. + +[#2190]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2190 + +[#2328]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2328 + +[#2420]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2420 + +[0.3.19]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.19 ## [0.3.18] - 2023-09-13 ### Fixed + - Do not block a tab loading by `$popup` modifier rule on direct url navigation - [#2449](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2449). + [#2449]. +[#2449]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2449 + +[0.3.18]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.18 ## [0.3.17] - 2023-09-13 ### Added + - New `requestUrl`, `frameUrl` and `requestType` fields in `ApplyBasicRuleEvent`. ### Fixed -- Tab title is now correctly updated on url change when the document does not provide it itself - [#2428](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2428). -- Filter id for StealthApi to display Stealth Mode cookie events in Filtering Log properly - [#2487](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2487). +- Tab title is now correctly updated on url change when the document does not + provide it itself [#2428]. +- Filter id for StealthApi to display Stealth Mode cookie events in the + Filtering Log properly [#2487]. + +[#2428]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2428 + +[#2487]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2487 + +[0.3.17]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.17 ## [0.3.16] - 2023-09-05 ### Fixed + - Do not apply cosmetic rules to extension pages while fallback processing -[#2459](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2459). + [#2459]. +[0.3.16]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.16 ## [0.3.15] - 2023-09-05 ### Fixed -- Redirects are not included into tab's blocked requests count - [#2443](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2443). +- Redirects are not included into tab's blocked requests count [#2443]. + +[#2443]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2443 + +[0.3.15]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.15 ## [0.3.14] - 2023-09-05 ### Fixed -- Domains from the allowlist are not properly escaped before being passed into the regular expression rules - [#2461](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2461). -- Cosmetic rule false positive applying when tab context changed while injection retry - [#2459](https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2459). +- Domains from the allowlist are not properly escaped before being passed into + the regular expression rules [#2461]. +- Cosmetic rule false positive applying when tab context changed while injection + retry [#2459]. + +[#2459]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2459 + +[#2461]: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2461 + +[0.3.14]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.14 ## [0.3.13] - 2023-08-25 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.11`. - Updated `@adguard/scriptlets` to `v1.9.72`. +[0.3.13]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.13 ## [0.3.12] - 2023-08-23 ### Fixed + - Incorrect order of `onBeforeRequest` handlers. - Blocked csp reports do not increment the blocked requests counter. +[0.3.12]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.12 ## [0.3.11] - 2023-08-21 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.10`. - Updated `@adguard/scriptlets` to `v1.9.70`. ### Fixed -- Applying $cookie rules on the content-script side. +- Applying `$cookie` rules on the content-script side. + +[0.3.11]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.11 ## [0.3.10] - 2023-08-18 ### Added + - Blocking third-party requests with `csp_report` content-type. - Handling discarded tabs replacement on wake up. ### Fixed + - Do not expose JS rules in global page scope. +[0.3.10]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.10 ## [0.3.9] - 2023-08-10 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.7`. +[0.3.9]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.9 ## [0.3.8] - 2023-08-04 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.6`. - Updated `@adguard/scriptlets` to `v1.9.62`. +[0.3.8]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.8 ## [0.3.7] - 2023-07-21 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.5`. - Updated `@adguard/scriptlets` to `v1.9.57`. ## Fixed + - Duplicate `eventId` of filtering events. +[0.3.7]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.7 ## [0.3.6] - 2023-07-11 ### Fixed + - Rules with the `$popup` modifier were ignored and showed an incorrect dummy page instead of closing the tab. - In some cases, rules with the `$document` modifier did not show the dummy page. +[0.3.6]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.6 + ## [0.3.5] - 2023-07-11 ### Fixed + - Cosmetic rule logging +[0.3.5]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.5 ## [0.3.4] - 2023-07-11 ### Added + - Support of $elemhide, $specifichide and $generichide modifiers. ### Fixed + - Cosmetic rule matching for frames loaded from the service worker cache. +[0.3.4]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.4 ## [0.3.3] - 2023-06-19 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.2`. +[0.3.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.3 ## [0.3.2] - 2023-06-14 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.1`. +[0.3.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.2 ## [0.3.1] - 2023-06-15 ### Added + - new `DocumentApi` class, with frame-matching taking into account the state of the `Allowlist`. ### Changed + - `AllowlistApi` renamed to `Allowlist`. `matchFrame` method moved to `DocumentApi` class. ### Fixed + - Extra headers handling in chromium browsers. - Filtering log update on cached pages reload. +[0.3.1]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.1 ## [0.3.0] - 2023-06-14 ### Changed + - Updated `@adguard/tsurlfilter` to `v2.1.0`. +[0.3.0]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.3.0 + ## [0.2.8] - 2023-06-13 ### Changed + - `logLevel` configuration property type to `string`. - `RequestContextStorage` to extend from `Map`. ### Deleted -- `record`, `find` methods and `onUpdate`, `onCreate` events from `RequestContextStorage`. +- `record`, `find` methods and `onUpdate`, `onCreate` events from + `RequestContextStorage`. + +[0.2.8]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.2.8 ## [0.2.6] - 2023-06-06 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.37`. +[0.2.6]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.2.6 ## [0.2.5] - 2023-06-06 ### Fixed + - Tab context matching for pages with cached document page. +[0.2.5]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.2.5 ## [0.2.4] - 2023-06-05 ### Fixed -- `hideRequestInitiatorElement` function return more accurate css selector src attribute value -for first party requests. + +- `hideRequestInitiatorElement` function return more accurate css selector `src` + attribute value for first party requests. - `ElementCollapser` inject styles via isolated style tag. +[0.2.4]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.2.4 ## [0.2.3] - 2023-05-31 ### Fixed + - Script rules injection. +[0.2.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.2.3 ## [0.2.2] - 2023-05-29 ### Added -- New `logLevel` optional property for MV2 configuration to control logging levels. + +- New `logLevel` optional property for MV2 configuration to control logging + levels. ### Changed + - `verbose` MV2 configuration property is now optional. +[0.2.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.2.2 ## [0.2.0] - 2023-05-23 ### Added -- New MV2 API methods for configuration updating without engine restart: `setFilteringEnabled`,`setCollectHitStats`, `setStealthModeEnabled`, `setSelfDestructFirstPartyCookies`, `setSelfDestructThirdPartyCookies`, `setSelfDestructThirdPartyCookies`, `setSelfDestructFirstPartyCookiesTime`, `setSelfDestructThirdPartyCookiesTime`, `setHideReferrer`, `setHideSearchQueries`, `setBlockChromeClientData`, `setSendDoNotTrack`, `setBlockWebRTC`. + +- New MV2 API methods for configuration updating without engine restart: + `setFilteringEnabled`,`setCollectHitStats`, `setStealthModeEnabled`, + `setSelfDestructFirstPartyCookies`, `setSelfDestructThirdPartyCookies`, + `setSelfDestructThirdPartyCookies`, `setSelfDestructFirstPartyCookiesTime`, + `setSelfDestructThirdPartyCookiesTime`, `setHideReferrer`, + `setHideSearchQueries`, `setBlockChromeClientData`, `setSendDoNotTrack`, + `setBlockWebRTC`. ### Changed + - Updated `getMessageHandler` API method return type. -- `start`, `update` and `setFilteringEnabled` API methods flush browser in-memory cache. This change improve filtering on pages with service workers and inactive tabs. +- `start`, `update` and `setFilteringEnabled` API methods now flush browser + in-memory cache. This change improve filtering on pages with service workers + and inactive tabs. ### Fixed -- Stealth module correctly sets browser privacy network settings based on `blockWebRTC`, `stealthModeEnabled` and `filteringEnabled` options -- unique `eventId` for `FilteringEventType.JsInject` events +- Stealth module correctly sets browser privacy network settings based on +`blockWebRTC`, `stealthModeEnabled` and `filteringEnabled` options. +- unique `eventId` for `FilteringEventType.JsInject` events. + +[0.2.0]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.2.0 ## [0.1.4] - 2023-04-18 ### Fixed + - The cookies lifetime in Stealth Mode does not apply after the engine is started, only after restarting. - Incorrect work of $cookie rules: incorrect parsing of `domain` and `path` @@ -444,136 +649,177 @@ for first party requests. - Wrong expirationDate for cookies. ### Added + - Applying $cookie rules to the requests before sending them to a server in the onBeforeSendHeaders hook. +[0.1.4]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.1.4 ## [0.1.3] - 2023-04-17 ### Changed + - Updated `@adguard/extended-css` to `v2.0.52` - Updated `@adguard/scriptlets` to `v1.9.7` +[0.1.3]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.1.3 ## [0.1.2] - 2023-04-11 ### Added + - Separated export of CssHitsCounter to better tree shaking on external applications. +[0.1.2]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.1.2 ## [0.1.1] - 2023-04-04 ## Changed + - Improved injection algorithm for cosmetic rules (js and css). logic using the Finite State Machine to avoid double injections with the previous boolean flag scheme. - Set injectScript and injectCss error to debug level. +[0.1.1]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.1.1 ## [0.1.0] - 2023-03-31 ### Changed + - Updated tsurlfilter to v2.0. +[0.1.0]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.1.0 ## [0.0.68] - 2023-03-24 ### Added + - Described event flow scheme for webRequestModule. ### Fixed + - Changed enums according to our guideline. +[0.0.68]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.68 ## [0.0.67] - 2023-03-23 ### Fixed + - Order of injecting scripts with setDomSignal. +[0.0.67]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.67 ## [0.0.66] - 2023-03-14 ### Fixed + - Executing of html and replace rules for Firefox +[0.0.66]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.66 ## [0.0.65] - 2023-03-10 ### Fixed + - Executing of scriptlets rules for Firefox ### Added + - Stricter checking for non local JS rules for Firefox AMO +[0.0.65]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.65 ## [0.0.64] - 2023-03-10 ### Changed + - Updated `@adguard/scriptlets` to `v1.9.1` ### Fixed + - Cosmetic rules applying if CssHitsCounter is disabled - Mark requests from navigation from address bar as first-party requests. +[0.0.64]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.64 ## [0.0.63] - 2023-02-17 ### Changed + - Updated `@adguard/extended-css` to `v2.0.51` +[0.0.63]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.63 ## [0.0.62] - 2023-02-10 ### Added + - Added cosmetic rules injection in tabs opened before API initialization + ### Fixed + - Fix js rule injections via WebRequest API. - Fix extended css rule injections via content-script on API initialization. Content-script wait for engine start before processing. - Fix css hit counter enabling. Now, it is initialized only if `collectHitStats` configuration prop is true. +[0.0.62]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.62 ## [0.0.61] - 2023-02-07 ### Added + - Support for browser.windows.onWindowFocusChanged to make browser.tabs.onActivated event calls work better when focus changes between windows. +[0.0.61]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.61 ## [0.0.60] - 2023-02-03 ### Changed + - Updated `@adguard/extended-css` to `v2.0.49` +[0.0.60]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.60 ## [0.0.59] - 2023-02-03 ### Changed + - Updated `@adguard/extended-css` to `v2.0.45` +[0.0.59]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.59 ## [0.0.58] - 2023-02-02 ### Fixed + - When opens phishing or malware site, extension will open new tab in the standard window with information about blocked domain and possible actions. +[0.0.58]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.58 ## [0.0.57] - 2023-01-20 ### Changed + - The order of imports to avoid side effects on tree shaking. - Made load of AdGuard Assistant lazy to decrease size of content-script bundle. ### Fixed + - Fixed allowlist api rule generation and matching +[0.0.57]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.57 ## [0.0.56] - 2023-01-12 ### Fixed + - Fixed simultaneous increase of package numbers for packages tsurlfilter and tswebextension in the branch epic - Fixed working with DNT-headers and GPC from stealth mode @@ -582,12 +828,14 @@ for first party requests. - Fixed memory leaks in the tests ### Removed + - Previous url from tab's metadata ### Changes - Merged changed from master branch +[0.0.56]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.56 ## [0.0.47] - 2022-12-27 @@ -603,15 +851,19 @@ for first party requests. - Unused injectExtCss method in the CosmeticAPI +[0.0.47]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.47 ## [0.0.45] - 2022-12-26 ### Fixed + - Recovered work of the blocking scriptlets `click2load.html` ### Changed + - Updated `@adguard/scriptlets` to `v1.7.20` +[0.0.45]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.45 ## [0.0.44] - 2022-12-23 @@ -627,3 +879,5 @@ for first party requests. - JS and CSS injection error handling - Request events initialization + +[0.0.44]: https://github.com/AdguardTeam/tsurlfilter/releases/tag/tswebextension-v0.0.44