Repository navigation
Releases
Releases · Distaid/aidxlsx
v2.0.1
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,readonlystruct members, and generated regexes. The public API
is unchanged. - Enable
EnforceCodeStyleInBuildand record the analyzer policy in.editorconfig, so
a new style or analyzer violation fails the build instead of accumulating silently. - Make stateless internal helpers static and 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/andtests/solution folders.
Fixed
- Name the offending parameter when throwing
ArgumentExceptionand
ArgumentOutOfRangeExceptioninstead 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.SuppressFinalizefromMceXmlReader.Dispose. - Remove the unused
defaultStyleconstructor parameter of the internalXlsxRange.
v2.0.0
Changed
- Raise the minimum runtime to .NET 11 for Aid.Xlsx 2.0.0. Aid.Xlsx 1.x supports .NET 10.
- Build with the .NET 11 SDK and C# 15. The source generator still targets .NET Standard 2.0 for Roslyn.
- Use .NET 11's correctly rounded
decimal-to-doubleconversion for numeric cells.
Added
- Show the package icon, target .NET version, release and NuGet versions, download count, CI status, and license in the README.
Fixed
- Preserve workbook formula midpoint rounding across the .NET upgrade.
- Download release assets from the release packaging job and verify their checksums before creating a GitHub Release.
v1.0.1
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,readonlystruct members, and generated regexes. The public API
is unchanged. - Enable
EnforceCodeStyleInBuildand 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/andtests/solution folders.
Fixed
- Name the offending parameter when throwing
ArgumentExceptionand
ArgumentOutOfRangeExceptioninstead 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.SuppressFinalizefromMceXmlReader.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.Stylebefore 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.
Aid.Xlsx 1.0.0
First stable release of Aid.Xlsx for .NET 10.
Changed
- Use checked-in compatibility baselines and isolate the optional comparison benchmark from the main solution.
- Generate built-in table theme and protection algorithm lookups at compile time.
- Resolve and write workbook parts and relationships through the OPC container.
- Remove the runtime Open XML SDK dependency.
SaveOptions.ValidatePackagechecks
workbook relationships and supported XML parts. The tests validate output against the SDK schemas. - Rename
XL*andIXL*types toXlsx*andIXlsx*. Public types now live in
directory-based namespaces such asAid.Xlsx.Model.Workbooks,Aid.Xlsx.Model.Worksheets,
andAid.Xlsx.Model.Grid.Cells.
Existing consumers must update their imports and type names. - Write formula calculation chains, styles, shared strings, comments and pivot cache records through XML streams.
- Read and write core, custom and extended workbook properties directly through OPC, retaining metadata outside the workbook model.
- Read theme colors and generate default themes from XML. The streaming worksheet data reader uses its own cell and formula types.
- Stream worksheet cells directly through XML readers and writers without SDK reflection.
- Read and write worksheet layout, print settings, hyperlinks, validations, and sparklines directly through XML.
- Read and write table definitions and auto-filters directly through XML.
- Read and write pivot table and cache definitions directly through XML.
- Read and write worksheet conditional formatting rules and data bar settings directly through XML.
- Read comment text with the same XML parser as rich text in cells.
- Write legacy comment shapes directly through XML while preserving the drawing's other shapes.
- Read and write picture anchors directly through DrawingML and preserve unrelated drawing elements when deleting pictures.
- Read and write workbook settings, sheets, views, and defined names directly through SpreadsheetML.
- Open and save workbook ZIP containers with the built-in OPC layer, preserving untouched parts and their relationships.
- Resolve workbook and worksheet parts directly through OPC relationships when loading Strict and Transitional files.
- Build the formula parser from repository sources and ship it inside
Aid.Xlsx. - Organize the five source projects by responsibility and document each in its own README.
The workbook model, SpreadsheetML codecs, calculation engine, and BIFF8 reader have separate directories. - Use C# 14 extension blocks for internal helpers and reduce work in cell traversal, formula rewriting,
and XML encoding checks. - Index saved style IDs to reduce save time and allocations in workbooks with many distinct formats.
Added
- Add user guides for workbook creation, cells, formatting, formulas, tables, data import, and file handling.
- Compare workbook I/O for ClosedXML on JIT and Aid.Xlsx on JIT and NativeAOT using the same inputs and measurement code.
- Include a CycloneDX dependency SBOM and SHA-256 checksums in the release artifacts.
- Convert Excel 97тАУ2003 BIFF8 worksheet data to
.xlsxfrom paths or streams without Office automation. - Convert an
.xlsfile to.xlsxin the same directory by passing only the source path. - Convert supported BIFF8 formulas to XLSX while retaining their cached results.
- Preserve BIFF8 formula references to individual sheets in the same workbook.
- Preserve BIFF8 cell fonts, alignment, borders, fills, protection flags, and palette colors during conversion.
- Generate reflection-free row mappers for
InsertMappedTableandInsertMappedDatafrom[XlsxTable]models. - Round-trip a workbook in fully trimmed and NativeAOT smoke applications.
- Add an OPC ZIP container with content types, internal and external relationships, and byte-preserving copies of unchanged parts.
- Initial repository files:
.gitignore, the solution fileAid.Xlsx.slnxwith the
imported projects and the project documentation (README.md, this changelog).
Fixed
- Preserve an existing pivot cache's refresh-on-open setting when saving a workbook.
- Install
Aid.Xlsxwithout resolving a separateAid.Xlsx.Opcpackage. InsertData/InsertTablepass the row type to the readers explicitly instead of
inferring it from the materialized row collection, which returnedobjectand
produced empty ranges. Rows of different runtime types are no longer mixed in one
grouped snapshot.