From dd6963df4b03e8e2ad2284f67b9929faf42a7365 Mon Sep 17 00:00:00 2001 From: Slava Leleka Date: Tue, 13 Feb 2024 20:18:05 +0300 Subject: [PATCH] update changelog Squashed commit of the following: commit c092d2c6d3ebf135b19d4c14d5d9d301acc5dda4 Author: Slava Leleka Date: Tue Feb 13 19:06:33 2024 +0200 update changelog --- packages/tsurlfilter/CHANGELOG.md | 9 +++++++++ packages/tsurlfilter/package.json | 2 +- packages/tswebextension/CHANGELOG.md | 6 ++++++ packages/tswebextension/package.json | 4 ++-- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/packages/tsurlfilter/CHANGELOG.md b/packages/tsurlfilter/CHANGELOG.md index ff97e200a5..2de6984cd0 100644 --- a/packages/tsurlfilter/CHANGELOG.md +++ b/packages/tsurlfilter/CHANGELOG.md @@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [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. + In addition to that, it solves the problem of leaking links to the original leaking strings + that in turn was leading to higher memory usage. + ## [2.2.13] - 2024-02-13 ### Changed diff --git a/packages/tsurlfilter/package.json b/packages/tsurlfilter/package.json index 8756ffed2d..5465c9a1fd 100644 --- a/packages/tsurlfilter/package.json +++ b/packages/tsurlfilter/package.json @@ -1,6 +1,6 @@ { "name": "@adguard/tsurlfilter", - "version": "2.2.13", + "version": "2.2.14", "description": "This is a TypeScript library that implements AdGuard's content blocking rules", "main": "dist/es/index.js", "module": "dist/es/index.js", diff --git a/packages/tswebextension/CHANGELOG.md b/packages/tswebextension/CHANGELOG.md index 8c97b4636a..30a480188e 100644 --- a/packages/tswebextension/CHANGELOG.md +++ b/packages/tswebextension/CHANGELOG.md @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [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 diff --git a/packages/tswebextension/package.json b/packages/tswebextension/package.json index 6db672721c..f9bec62591 100644 --- a/packages/tswebextension/package.json +++ b/packages/tswebextension/package.json @@ -1,6 +1,6 @@ { "name": "@adguard/tswebextension", - "version": "1.0.13", + "version": "1.0.14", "description": "This is a TypeScript library that implements AdGuard's extension API", "main": "dist/index.js", "typings": "dist/types/src/lib/mv2/background/index.d.ts", @@ -85,7 +85,7 @@ "@adguard/assistant": "^4.3.70", "@adguard/extended-css": "^2.0.56", "@adguard/scriptlets": "^1.10.1", - "@adguard/tsurlfilter": "^2.2.13", + "@adguard/tsurlfilter": "^2.2.14", "bowser": "2.11.0", "commander": "11.0.0", "fs-extra": "11.1.1",