@@ -7,147 +7,69 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
77[ Keep a Changelog ] : https://keepachangelog.com/en/1.0.0/
88[ Semantic Versioning ] : https://semver.org/spec/v2.0.0.html
99
10- ## [ Unreleased ]
10+ ## [ 4.0.0-beta.0 ] - 2025-11-28
1111
1212### Added
1313
14+ - Autofix and Suggestions API. [ #200 ]
15+ - Debug mode with comprehensive logging. [ #199 ]
1416- JSON schema for config files. [ #210 ]
1517- Configuration field for compatibility flags. [ #230 ]
16-
17- ### Removed
18-
19- - ` syntax ` field from config files.
20-
21- [ Unreleased ] : https://github.com/AdguardTeam/AGLint/compare/v4.0.0-alpha.8...HEAD
22- [ #210 ] : https://github.com/AdguardTeam/AGLint/issues/210
23- [ #230 ] : https://github.com/AdguardTeam/AGLint/issues/230
24-
25- ## [ 4.0.0-alpha.8] - 2025-11-24
26-
27- ### Added
28-
29- - JSON reporters and ` --reporter ` CLI option.
30- - ` LinterConfigCommentType ` enum to public exports.
31- - ` getLinterConfigHash ` to public exports.
32- - Debugger utilities to public exports.
33-
34- ### Changed
35-
36- - ` FixApplier ` class to standalone ` applyFixes ` function.
37- - Improved and simplified debugging.
38- - Improved invalid config detection.
39- - Freeze ASTs to avoid side effects.
40- - Sort file paths alphabetically in reporters.
41- - Improved rule documentation handling.
42-
43- ### Fixed
44-
45- - ` changed ` method in config resolver.
46- - Deep merging for rule config array.
47-
48- ### Removed
49-
50- - ` getAglintRuleDocumentationUrl ` from public exports.
51-
52- [ 4.0.0-alpha.8 ] : https://github.com/AdguardTeam/AGLint/compare/v4.0.0-alpha.7...v4.0.0-alpha.8
53-
54-
55- ## [ 4.0.0-alpha.7] - 2025-11-19
56-
57- ### Added
58-
59- - ` hasErrors ` , ` assertLinterFixCommand ` , ` assertLinterSuggestions ` ,
60- ` isLinterFixCommand ` , ` isLinterSuggestions ` helpers.
61-
62- [ 4.0.0-alpha.7 ] : https://github.com/AdguardTeam/AGLint/compare/v4.0.0-alpha.6...v4.0.0-alpha.7
63-
64- ## [ 4.0.0-alpha.6] - 2025-11-19
65-
66- ### Added
67-
18+ - Cache for previous linting results. [ #188 ]
6819- Ability to print config for a file. [ #158 ]
69- - ` no-css-comments ` linter rule. [ #235 ]
70- - Debug mode with comprehensive logging. [ #199 ]
7120- Support for ` package.json ` configuration file. [ #245 ]
72-
73- [ 4.0.0-alpha.6 ] : https://github.com/AdguardTeam/AGLint/compare/v4.0.0-alpha.5...v4.0.0-alpha.6
74- [ #158 ] : https://github.com/AdguardTeam/AGLint/issues/158
75- [ #235 ] : https://github.com/AdguardTeam/AGLint/issues/235
76- [ #199 ] : https://github.com/AdguardTeam/AGLint/issues/199
77- [ #245 ] : https://github.com/AdguardTeam/AGLint/issues/245
78-
79- ## [ 4.0.0-alpha.5] - 2025-11-03
80-
81- ### Added
82-
83- - More exports.
84-
85- ## [ 4.0.0-alpha.4] - 2025-11-03
86-
87- ### Added
88-
89- - Support for NodeNext ESM resolution in ` .d.ts ` files.
90-
91- ## [ 4.0.0-alpha.3] - 2025-11-03
92-
93- ### Changed
94-
95- - Renamed CLI entry point file for clarity.
96-
97- ### Fixed
98-
99- - Build config.
100-
101- ## [ 4.0.0-alpha.2] - 2025-11-03
102-
103- ### Changed
104-
105- - Split exports into ` @adguard/aglint/linter ` and ` @adguard/aglint/cli ` .
106-
107- ## [ 4.0.0-alpha.1] - 2025-10-31
108-
109- ### Fixed
110-
111- - Preset files are now included in the tarball.
112-
113- ## [ 4.0.0-alpha.0] - 2025-10-31
114-
115- ### Added
116-
11721- Support for multi-threaded linting. [ #208 ]
118- - Autofix and Suggestions API. [ #200 ]
11922- Possibility to detect unused disable comments. [ #197 ]
120- - Cache for previous linting results. [ #188 ]
23+ - Full-fledged config file creation wizard. [ #119 ]
24+ - ` no-css-comments ` linter rule. [ #235 ]
12125- ` scriptlet-quotes ` linter rule. [ #258 ]
12226- ` no-duplicated-css-declaration-props ` linter rule. [ #234 ]
12327- ` no-unsupported-css-pseudo-class ` linter rule. [ #205 ]
28+ - JSON reporters.
12429
12530### Changed
12631
12732- Linter core and CLI are completely rewritten, API is changed.
12833- Library exports are completely changed because of the new API.
12934- Minimum Node.js version is ` v20 ` .
35+ - Split exports into ` @adguard/aglint/linter ` and ` @adguard/aglint/cli ` .
13036- Implemented more performant walking. [ #241 ]
13137- Improved rule management via rules registry. [ #217 ]
13238- Linter rules are renamed, now they have consistent names. [ #231 ]
13339- Improved CLI experience. CLI now accepts glob patterns, directories, and files. [ #198 ]
13440- Replaced ` superstruct ` with ` valibot ` . [ #218 ]
13541- Moved rule documentations to the ` docs/rules ` directory. [ #72 ]
13642
137- [ 4.0.0-alpha.0 ] : https://github.com/AdguardTeam/AGLint/compare/v3.0.0...v4.0.0-alpha.0
43+ ### Fixed
44+
45+ - CLI hint marked as invalid. [ #261 ]
46+
47+ ### Removed
48+
49+ - ` syntax ` field from config files, ` platforms ` should be used instead.
50+
51+ [ 4.0.0-beta.0 ] : https://github.com/AdguardTeam/AGLint/compare/v3.0.0...v4.0.0-beta.0
13852[ #72 ] : https://github.com/AdguardTeam/AGLint/issues/72
53+ [ #119 ] : https://github.com/AdguardTeam/AGLint/issues/119
54+ [ #158 ] : https://github.com/AdguardTeam/AGLint/issues/158
13955[ #188 ] : https://github.com/AdguardTeam/AGLint/issues/188
14056[ #197 ] : https://github.com/AdguardTeam/AGLint/issues/197
14157[ #198 ] : https://github.com/AdguardTeam/AGLint/issues/198
58+ [ #199 ] : https://github.com/AdguardTeam/AGLint/issues/199
14259[ #200 ] : https://github.com/AdguardTeam/AGLint/issues/200
14360[ #205 ] : https://github.com/AdguardTeam/AGLint/issues/205
14461[ #208 ] : https://github.com/AdguardTeam/AGLint/issues/208
62+ [ #210 ] : https://github.com/AdguardTeam/AGLint/issues/210
14563[ #217 ] : https://github.com/AdguardTeam/AGLint/issues/217
14664[ #218 ] : https://github.com/AdguardTeam/AGLint/issues/218
65+ [ #230 ] : https://github.com/AdguardTeam/AGLint/issues/230
14766[ #231 ] : https://github.com/AdguardTeam/AGLint/issues/231
14867[ #234 ] : https://github.com/AdguardTeam/AGLint/issues/234
68+ [ #235 ] : https://github.com/AdguardTeam/AGLint/issues/235
14969[ #241 ] : https://github.com/AdguardTeam/AGLint/issues/241
70+ [ #245 ] : https://github.com/AdguardTeam/AGLint/issues/245
15071[ #258 ] : https://github.com/AdguardTeam/AGLint/issues/258
72+ [ #261 ] : https://github.com/AdguardTeam/AGLint/issues/261
15173
15274## [ 3.0.0] - 2025-05-21
15375
0 commit comments