Skip to content

Commit 8c34bde

Browse files
committed
Add changelog entry
1 parent 777b6e0 commit 8c34bde

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,37 @@
22

33
All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
6+
7+
## Unreleased [minor]
8+
9+
> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs.
10+
11+
### Added
12+
13+
- Add support for parameterized filters in service declarations using object syntax; to pass parameters to curstom filters (with following signature: `customFilter(document, params, context)`), use the following syntax:
14+
15+
```json
16+
"filter": [
17+
{
18+
"customFilter": "parameter"
19+
},
20+
{
21+
"customFilter2": ["parameter1", "parameter2"]
22+
}
23+
]
24+
```
25+
26+
- Add `removeQueryParams` built-in filter to remove specified query parameters from URLs in links and images; to use it in service declarations, add the following to your `filter` array:
27+
28+
```json
29+
"filter": [
30+
{
31+
"removeQueryParams": ["paramToRemove1", "paramToRemove2"]
32+
}
33+
]
34+
```
35+
536
## 7.0.0 - 2025-07-21
637

738
_Full changeset and discussions: [#1175](https://github.com/OpenTermsArchive/engine/pull/1175)._

0 commit comments

Comments
 (0)