Skip to content

Commit 42a74b7

Browse files
committed
update version to 4.0.0-beta.0 and consolidate changelog entries from alpha releases
- Bumped version from 4.0.0-alpha.8 to 4.0.0-beta.0 in package.json - Consolidated all alpha release entries (alpha.0 through alpha.8) into single 4.0.0-beta.0 release in CHANGELOG.md - Added missing features from alpha releases: autofix/suggestions API, debug mode, cache, config wizard, JSON reporters - Added all issue references and links for consolidated features - Updated README.md features list with more detaile
1 parent 0e63f1a commit 42a74b7

File tree

3 files changed

+39
-108
lines changed

3 files changed

+39
-108
lines changed

CHANGELOG.md

Lines changed: 25 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -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

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,20 @@ If you know ESLint, you'll feel at home with AGLint.
5252
## Features
5353

5454
- 🧠 **Built-in rules** — detect syntax errors, invalid domains, CSS issues, and more
55-
- 🛠️ **Auto-fixing** — automatically correct common issues
55+
- 🛠️ **Auto-fixing and suggestions** — automatically fix issues or get suggestions for manual fixes
56+
- 🎯 **Granular fix control** — limit fixes by rule type or specific rules
5657
- 🌐 **Multi-syntax support** — AdGuard, uBlock Origin, Adblock Plus, AdBlock
57-
- ⚙️ **Flexible configuration**`.aglintrc` files with inheritance and inline comments
58-
- 🚫 **Ignoring**`.aglintignore` with pattern matching
59-
-**High performance** — parallel processing and caching
58+
- 🎨 **Platform-specific validation** — validate rules for specific adblock products and platforms
59+
- ⚙️ **Flexible configuration**`.aglintrc`, `.aglintrc.json`, `package.json` with inheritance
60+
- 💬 **Inline configuration comments** — enable/disable rules directly in filter lists
61+
- 🧙 **Interactive setup wizard** — quick config file generation with `--init`
62+
- 🚫 **Smart ignoring**`.aglintignore` with glob patterns and inline disable directives
63+
- 🔍 **Unused directive detection** — find and report unnecessary disable comments
64+
-**High performance** — multi-threaded linting with intelligent caching
65+
- 📊 **Multiple output formats** — console and JSON reporters
66+
- 🐛 **Debug mode** — comprehensive logging for troubleshooting
67+
- 🔧 **Config inspection** — view effective configuration for any file
68+
- 🖥️ **Editor integration** — VSCode extension for real-time linting
6069
- 💡 **Dual API** — CLI tool and TypeScript/JavaScript library
6170

6271
## Quick Start

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adguard/aglint",
3-
"version": "4.0.0-alpha.8",
3+
"version": "4.0.0-beta.0",
44
"description": "Linter for adblock filter lists.",
55
"keywords": [
66
"adblock",

0 commit comments

Comments
 (0)