Skip to content

Commit d8f12eb

Browse files
committed
AG-51148 prepare release 2.2.16
Squashed commit of the following: commit b66d2b7 Merge: 7688216 39ebdd8 Author: slvvko <v.leleka@adguard.com> Date: Thu Feb 19 00:22:04 2026 -0500 Merge branch 'master' into fix/AG-51148 commit 7688216 Author: slvvko <v.leleka@adguard.com> Date: Thu Feb 19 00:20:57 2026 -0500 fix typo commit b7cbef5 Author: slvvko <v.leleka@adguard.com> Date: Thu Feb 19 00:20:09 2026 -0500 prepare release 2.2.16
1 parent 39ebdd8 commit d8f12eb

6 files changed

Lines changed: 13 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
1010
<!-- TODO: change `@added unknown` tag due to the actual version -->
1111
<!-- during new scriptlets or redirects releasing -->
1212

13-
## [Unreleased]
13+
## [v2.2.16] - 2026-02-19
1414

1515
### Added
1616

@@ -26,6 +26,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
2626

2727
- `prevent-addEventListener` scriptlet: added new optional `noProtect` parameter,
2828
improving compatibility with other scriptlets that need to override `addEventListener` [#550].
29+
- Updated [@adguard/agtree] to `4.0.1`.
2930

3031
### Fixed
3132

@@ -49,7 +50,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
4950
- Cloudflare captcha broken when `>>>` combinator
5051
is used in `trusted-click-element` scriptlet [#491].
5152

52-
[Unreleased]: https://github.com/AdguardTeam/Scriptlets/compare/v2.2.15...HEAD
53+
[v2.2.16]: https://github.com/AdguardTeam/Scriptlets/compare/v2.2.15...v2.2.16
5354
[#329]: https://github.com/AdguardTeam/Scriptlets/issues/329
5455
[#386]: https://github.com/AdguardTeam/Scriptlets/issues/386
5556
[#422]: https://github.com/AdguardTeam/Scriptlets/issues/422

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adguard/scriptlets",
3-
"version": "2.2.15",
3+
"version": "2.2.16",
44
"description": "AdGuard's JavaScript library of Scriptlets and Redirect resources",
55
"type": "module",
66
"scripts": {
@@ -65,7 +65,7 @@
6565
"neverBuiltDependencies": []
6666
},
6767
"dependencies": {
68-
"@adguard/agtree": "^4.0.0",
68+
"@adguard/agtree": "^4.0.1",
6969
"@types/trusted-types": "^2.0.7",
7070
"js-yaml": "^3.14.1"
7171
},

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scriptlets/prevent-constructor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ import { type Source } from './scriptlets';
6161
* example.org#%#//scriptlet('prevent-constructor', 'MutationObserver', '["*", "attributes"]')
6262
* ```
6363
*
64-
* @added unknown
64+
* @added v2.2.16.
6565
*/
6666
/* eslint-enable max-len */
6767
export function preventConstructor(

src/scriptlets/prevent-navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type NavigationLike = {
8989
* example.org#%#//scriptlet('prevent-navigation')
9090
* ```
9191
*
92-
* @added unknown.
92+
* @added v2.2.16.
9393
*/
9494
export function preventNavigation(source: Source, urlPattern?: string | RegExp | undefined): void {
9595
const nav = window.navigation;

src/scriptlets/remove-request-query-parameter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import { type Source } from './scriptlets';
5252
* example.org#%#//scriptlet('remove-request-query-parameter', '/^utm_/', '/api/')
5353
* ```
5454
*
55-
* @added unknown.
55+
* @added v2.2.16.
5656
*/
5757
export function removeRequestQueryParameter(source: Source, parametersToRemove: string, urlPattern?: string) {
5858
if (!parametersToRemove) {

0 commit comments

Comments
 (0)