Skip to content

Releases: ANcpLua/ANcpLua.Analyzers

v1.5.1 - Code Quality Improvements

02 Jan 09:18

Choose a tag to compare

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 ISymbol parameter types, add static to lambdas)
  • Remove default DocFX logo from documentation site

No behavioral changes - internal code quality improvements only.

Full Changelog

v1.5.0...v1.5.1

v1.5.0 - ASP.NET Core Form Binding Analyzers

02 Jan 08:09

Choose a tag to compare

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.4.0...v1.5.0

v1.3.6

02 Jan 04:00

Choose a tag to compare

Changes

Bug Fix

  • Fixed NuGet publish CI failure by disabling snupkg generation
    • Analyzers don't include debug symbols, causing empty snupkg uploads to fail

v1.3.5

02 Jan 03:57

Choose a tag to compare

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

02 Jan 03:49

Choose a tag to compare

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

02 Jan 03:43

Choose a tag to compare

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 generic RenameNodeAsync<T>
    • AL0004: Consolidated array processing with switch expression

Stats

  • 17 files changed
  • 598 insertions, 985 deletions (-387 net)

v1.3.2

31 Dec 02:46

Choose a tag to compare

Fixed

  • Fixed NuGet README link: 'See all rules and configuration' now points to correct GitHub URL
  • Added Solution Items folder to slnx with root configuration files

Changed

  • Version bump to 1.3.2