Skip to content

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 19:48
· 21 commits to main since this release

Changed

  • Apply a single code style across src/ and enforce it in the build: predefined type
    keywords, explicit types where the type is not apparent, collection expressions,
    primary constructors, readonly struct members, and generated regexes. The public API
    is unchanged.
  • Enable EnforceCodeStyleInBuild and record the analyzer policy in .editorconfig, so
    a new style or analyzer violation fails the build instead of accumulating silently.
    On this branch "use var when the type is apparent" stays a suggestion, because the
    var and explicit-type fixers disagree on deconstruction declarations, and CA1822 stays
    a suggestion because its code fix fails in the Roslyn version of the .NET 10 SDK.
  • Compile the internal regular expressions at build time (GeneratedRegex) and prefer
    char and span overloads over temporary strings on the cell, style, and formula paths.
  • Group the solution projects into src/ and tests/ solution folders.

Fixed

  • Name the offending parameter when throwing ArgumentException and
    ArgumentOutOfRangeException instead of creating them without a message; the switch
    fallbacks now include the received value.
  • Resolve the nullability mismatch in Reference.RangeOp, where a list of nullable
    worksheets was assigned to a non-nullable collection.
  • Call GC.SuppressFinalize from MceXmlReader.Dispose.
  • Point the GitHub release and NuGet version badges at the released 1.x version on this branch.
  • Download release assets from the release packaging job and verify their checksums before creating a GitHub Release.
  • Honor workbook defaults when setting workbook.Style before adding worksheets and retain the style after saving.

Added

  • Show the package icon, target .NET version, release and NuGet versions, download count, CI status, and license in the README.
  • Document migration API replacements and regression coverage for template exports.

Package: https://www.nuget.org/packages/Aid.Xlsx/1.0.1