Repository navigation
v1.0.0
First major release: a broad set of worksheet features built on the
performance-focused engine, with a single contained breaking change.
excel_plus remains a source-compatible drop-in for the excel package.
Breaking
CellValueis now sealed and gains aCellErrorValuemember. The only code
affected is an exhaustiveswitchover aCellValue, which must now handle
CellErrorValue. No other public type, method, or signature changed. Colour
authoring is additive and existing literal colors behave exactly as before.
Added
- Theme color reading. Theme and tint color references resolve to real
ARGB values from the workbook theme instead of falling back to black; the
theme part round-trips. - Indexed color reading. Legacy palette references resolve via the
standard 64-color palette, honoring a workbook's palette override. - Theme and indexed color authoring.
ExcelColor.theme(...)and
ExcelColor.indexed(n)write real references for font, fill, and border
colors, so authored colors stay linked to the document theme. - Hyperlinks (read and write).
Hyperlink.url,Hyperlink.email, and
internalHyperlink.locationjumps, each with optional display text and
tooltip, set viasheet.setHyperlinkorcell.hyperlink. - Data validation (read and write). Dropdown lists, numeric and length
bounds, and custom-formula rules, each with optional prompt and error
message, applied to a cell or range. - Sheet view settings (read and write). Freeze panes, gridline and header
visibility, and zoom now round-trip instead of being dropped on save. - Autofilter (read and write).
setAutoFilteradds header dropdowns over
a range; files opened with applied criteria keep them. - Sheet protection (read and write).
sheet.protect(password:, allow:)
with typed permission options; passwords use Excel's legacy hash and an
opened file's existing hash is preserved. - Sheet tab color and visibility (read and write), including very-hidden
sheets; untouched theme and indexed tab colors round-trip as references. - Sheet reordering with
excel.moveSheetandexcel.sheetOrder. - Defined names (read and write), global or sheet-scoped, usable from
formulas. - Conditional formatting (authoring). Greater-than, less-than, equal,
between, and formula rules that apply aCellStyle, plus two and
three-color scales and data bars. Existing rules are preserved on save. CellErrorValue. Error cells such as#DIV/0!and#N/Aread as a
typed value and write back, instead of being coerced to text.FormulaCellValue.cachedValue. A formula's last cached result is
preserved on read and re-emitted on save, so formula cells keep a value
until the app recalculates.CellStyle.indentfor alignment-side cell padding, with a full
round-trip.
Fixed
- Rich-text preservation on write. Multi-run cells built with
TextCellValue.spanare written as styled runs instead of being flattened
to plain text. - Authored styles that reuse an existing record no longer revert to the
default style. - Illegal XML control characters in cell text are stripped on save, so files
no longer open as corrupt. Excel.findAndReplacereturns the actual replacement count and accepts
non-string targets.- On the web,
save()triggers the browser download under wasm builds as
well as JS builds. - Underline styles distinguish single from double, and explicitly disabled
bold and italic flags are honored. - The parser no longer crashes on out-of-range shared-string or style
indexes, ISO-8601 date cells, or namespace-prefixed worksheet XML. - Cells without an explicit reference are positioned by column order, and
multi-run inline strings keep all of their text. getColumnWidthandgetRowHeightreturn Excel's defaults instead of
throwing when a sheet defines none.- The header and footer element is written in its schema-correct position, so
Excel no longer prompts to repair the file.
Improved
- Malformed number-format and border entries degrade gracefully instead of
failing the whole parse.