Skip to content

Commit 1c3c2de

Browse files
committed
docs: update changelog for v4.6.0
Document the addition of automatic minification for JSON script tags, covering various MIME types and improvements in handling malformed JSON. This update ensures the changelog reflects the latest enhancements in functionality. (This commit message was AI-generated.) Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
1 parent e33faeb commit 1c3c2de

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ As of version 2.0.0, all notable changes to HTML Minifier Next (HMN) are documen
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [4.6.0] - 2025-11-29
8+
9+
### Added
10+
11+
- Added automatic minification for JSON script tags
12+
- Supports `application/json`, `application/ld+json`, `application/manifest+json`, `application/vnd.geo+json`, `importmap`, and `speculationrules` script types
13+
- JSON is parsed and re-stringified to remove whitespace
14+
- Malformed JSON is logged and returned unchanged
15+
716
## [4.5.2] - 2025-11-28
817

918
### Internal

0 commit comments

Comments
 (0)