Skip to content

Commit 60bd1b5

Browse files
committed
Release v1.4.3: html sanitizer docs and 100% coverage
1 parent b69c030 commit 60bd1b5

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

docs/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.4.3] - 2026-08-19
11+
12+
### Changed
13+
14+
- **Tests:** 100% PHP coverage for `html_sanitizer` wiring in `Ckeditor5EditorType`.
15+
16+
[1.4.3]: https://github.com/nowo-tech/CKEditor5EditorBundle/releases/tag/v1.4.3
17+
18+
## [1.4.2] - 2026-08-19
19+
1020
### Added
1121

1222
- **`html_sanitizer` config** (opt-in, BC-safe): set to `allowlist` or a custom service id to sanitize HTML on form submit via `Ckeditor5HtmlSanitizeTransformer` (mirrors TiptapEditorBundle).
1323
- **Flex recipe `when@prod`**: enables `html_sanitizer: allowlist` by default in production profiles.
1424

25+
[1.4.2]: https://github.com/nowo-tech/CKEditor5EditorBundle/releases/tag/v1.4.2
26+
1527
## [1.4.1] - 2026-08-18
1628

1729
### Changed

docs/UPGRADING.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,30 @@
2626

2727
## Unreleased
2828

29+
## To 1.4.3 from 1.4.2
30+
31+
No application upgrade steps.
32+
33+
```bash
34+
composer update nowo-tech/ckeditor5-editor-bundle
35+
```
36+
37+
## To 1.4.2 from 1.4.1
38+
39+
Review production config if you render editor HTML from untrusted sources. The Flex recipe sets `when@prod`:
40+
41+
```yaml
42+
nowo_ckeditor5_editor:
43+
html_sanitizer: allowlist
44+
```
45+
46+
Hosts that already trust all editors may keep the default (no sanitizer) or set a custom `PageLayoutHtmlSanitizerInterface` service id.
47+
48+
```bash
49+
composer update nowo-tech/ckeditor5-editor-bundle
50+
php bin/console cache:clear
51+
```
52+
2953
## To 1.4.1 from 1.4.0
3054

3155
No application upgrade steps. Demos only: Hot Reload Bundle `^1.4` (FrankenPHP Mercure/`hot_reload`, `dev`/`test`).

0 commit comments

Comments
 (0)