AutoMapper 版本发布

查看各个版本中的新增内容,包括功能、增强和已解决问题的详细信息。

1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
12月
AutoMapper v16.1.12026年3月9日
功能
  • Added two new artifact capabilities to both the CI and Release workflows: publishing .trx test results as GitHub Check annotations using dorny/test-reporter, and (release workflow only) generating a Software Bill of Materials (SBOM) using Microsoft's sbom-tool. The checks: write permission is added to both workflows to support the test reporter.
  • Changes:
    • Add checks: write permission to both ci.yml and release.yml to allow the test reporter to post Check annotations.
    • Add a "Report Test Results" step (using dorny/test-reporter@v1) after the build-and-test step in all four jobs (Linux and Windows, CI and Release).
    • Add a "Generate SBOM" step in the release.yml Windows job, using Microsoft's sbom-tool.
修复
  • Better async handling of license validation.
  • Updated Microsoft.Sbom.DotNetTool from 1.2.0 to 4.1.5 in the release workflow. The old version was causing build failures.
  • Security Fix - Fixed an issue where certain cyclic or self-referential object graphs could trigger uncontrolled recursion during mapping, potentially resulting in stack exhaustion and denial of service.
    Applications that process untrusted or attacker-controlled object graphs through affected mapping paths may be impacted.
AutoMapper v16.1.02026年3月3日
功能
  • Added Debug and Release build configurations to slnx.
  • Migrated the AutoMapper solution from the traditional .sln format to the newer XML-based .slnx format.
  • Added DI-enabled conditions and pre-conditions; updated docs accordingly.
  • Added support for DI-enabled destination factories.
  • Wrapping the exception to provide better feedback to the user.
  • Now disable polymorphic LINQ mapping.
修复
  • Fixed duplicate BOM in ServiceCollectionExtensions.cs.
  • Fixed review feedback: double semicolon, DI condition integration test, docs example.
  • Fixed bug around order of open generic registration.
  • Correctly converting nullables for MapAtRuntime.
  • Correctly handling consecutive uppercase characters.