Skip to content

Commit 382ba68

Browse files
committed
Pull request 837: AG-56944 Prepare 2.5.0 release
Squashed commit of the following: commit 55bba8e Author: Anatolii Khmarskii <a.khmarskii@adguard.com> Date: Mon Jul 27 20:46:24 2026 +0300 AG-56944 Add agtree update to changelog commit d0375b3 Author: Anatolii Khmarskii <a.khmarskii@adguard.com> Date: Mon Jul 27 20:44:33 2026 +0300 AG-56944 Prepare 2.5.0 release
1 parent 487f00d commit 382ba68

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 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+
## [2.5.0] - 2026-07-27
1414

1515
### Added
1616

@@ -27,6 +27,10 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
2727
- `prevent-xhr` and `trusted-prevent-xhr` now handle `document` and `json` XHR
2828
`responseType` values when intercepting matched requests.
2929

30+
### Changed
31+
32+
- Updated [@adguard/agtree] to 4.2.0.
33+
3034
### Removed
3135

3236
- UBO aliases for `prevent-bab` scriptlet and redirect.
@@ -44,7 +48,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
4448
the native `Function.prototype.toString` so that `matchCallback` matching
4549
and logging work for such callbacks and never throw [#561].
4650

47-
[Unreleased]: https://github.com/AdguardTeam/Scriptlets/compare/v2.4.3...HEAD
51+
[2.5.0]: https://github.com/AdguardTeam/Scriptlets/compare/v2.4.3...v2.5.0
4852
[#417]: https://github.com/AdguardTeam/Scriptlets/issues/417
4953
[#561]: https://github.com/AdguardTeam/Scriptlets/issues/561
5054
[#566]: https://github.com/AdguardTeam/Scriptlets/issues/566

‎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.4.3",
3+
"version": "2.5.0",
44
"description": "AdGuard's JavaScript library of Scriptlets and Redirect resources",
55
"type": "module",
66
"scripts": {
@@ -68,7 +68,7 @@
6868
"neverBuiltDependencies": []
6969
},
7070
"dependencies": {
71-
"@adguard/agtree": "4.1.1",
71+
"@adguard/agtree": "4.2.0",
7272
"@types/trusted-types": "2.0.7",
7373
"js-yaml": "3.14.1"
7474
},

‎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/trusted-prevent-xhr.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ import { type Source } from './scriptlets';
105105
* example.org#%#//scriptlet('trusted-prevent-xhr', 'example.org', 'length:100')
106106
* ```
107107
*
108-
* @added unknown.
108+
* @added v2.5.0.
109109
*/
110110
/* eslint-enable max-len */
111111
export function trustedPreventXhr(source: Source, propsToMatch?: string, directive?: string): void {

0 commit comments

Comments
 (0)