Releases: ANcpLua/ANcpLua.Analyzers
Releases · ANcpLua/ANcpLua.Analyzers
v1.5.1 - Code Quality Improvements
Changes
Refactoring
- Implement WellKnownType pattern for AL0020-24 analyzer (efficient cached symbol resolution)
- Simplify AL0015 analyzer config reading with helper methods
- Fix IDE warnings (use
ISymbolparameter types, addstaticto lambdas) - Remove default DocFX logo from documentation site
No behavioral changes - internal code quality improvements only.
Full Changelog
v1.5.0 - ASP.NET Core Form Binding Analyzers
New Analyzers
This release adds 5 new analyzers for validating ASP.NET Core Minimal API form binding patterns:
| Rule | Severity | Description |
|---|---|---|
| AL0020 | Error | IFormCollection requires explicit [FromForm] attribute |
| AL0021 | Error | Multiple structured form sources not allowed |
| AL0022 | Error | Cannot mix IFormCollection with DTO binding |
| AL0023 | Error | Unsupported form type (interface/abstract/no valid constructor) |
| AL0024 | Error | [FromForm] and [FromBody] conflict in same method |
Full Changelog
v1.3.6
v1.3.5
Changes
CI Fixes
- Replaced Version.props symlink with standalone version file for CI compatibility
- Updated package versions for CI builds:
- Basic.Reference.Assemblies.Net100: 1.8.4
- Microsoft.CodeAnalysis.*.Testing: 1.1.2
Documentation
- Updated README with ANcpLua.NET.Sdk integration documentation
- Added Guard Clauses and Test Base Classes examples
- Fixed documentation links to point to new
docs/rules/path
v1.3.4
Changes
Documentation
- Added DocFX documentation site with GitHub Pages deployment
- Reorganized rule documentation into
docs/rules/with proper navigation - Created landing page and API reference structure
- Automatic deployment via GitHub Actions workflow
Build
- Enabled XML documentation generation for API docs
- Fixed duplicate package references in test project
Documentation Site
After enabling GitHub Pages in repository settings, documentation will be available at:
https://ancplua.github.io/ANcpLua.Analyzers/
Structure:
- Home - Overview and quick start
- Rules - All 17 analyzer rules (AL0001-AL0017)
- API Reference - Auto-generated from XML comments
v1.3.3
Changes
Refactoring
-
Tests: Condensed analyzer test files using parameterized InlineData patterns
- AL0001, AL0002, AL0003, AL0010, AL0014, AL0015 reduced by 40-70%
- Replaced verbose multi-line raw strings with concise single-line InlineData
-
Code Fixes: Optimized code fix providers
AR0001: Unified 4 duplicate methods into genericRenameNodeAsync<T>AL0004: Consolidated array processing with switch expression
Stats
- 17 files changed
- 598 insertions, 985 deletions (-387 net)