From 8b98bc64f06b457eb5a3fad3897f3876ac7b877f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 12:30:30 +0000 Subject: [PATCH] chore: release --- .changeset/error-cells.md | 14 -------------- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 3 files changed, 16 insertions(+), 15 deletions(-) delete mode 100644 .changeset/error-cells.md diff --git a/.changeset/error-cells.md b/.changeset/error-cells.md deleted file mode 100644 index 00c0721..0000000 --- a/.changeset/error-cells.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"xls-reader": minor ---- - -Return Excel error cells as a typed `CellError` instead of collapsing them to -`null`. A cell holding `#DIV/0!`, `#N/A`, `#REF!`, `#VALUE!`, `#NAME?`, `#NUM!`, -or `#NULL!` (whether a literal error or a formula's cached error result) now comes -back as `new CellError(code)` — distinct from a blank cell (`null`) and from a -text cell that happens to contain that string. Check `cell instanceof CellError` -and read `cell.code`; in JSON it serializes to `{ "code": "#DIV/0!" }`. Exports -the new `CellError` class and `ExcelErrorCode` type. - -Behavior change: error cells were previously `null`. If you relied on that, treat -a `CellError` as empty explicitly. diff --git a/CHANGELOG.md b/CHANGELOG.md index d93e047..f8f2b9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # xls-reader +## 0.5.0 + +### Minor Changes + +- [#42](https://github.com/zanlucathiago/xls-reader/pull/42) [`8249bd0`](https://github.com/zanlucathiago/xls-reader/commit/8249bd003bbc9cc767ede1e23a7dba4fae5408e9) Thanks [@zanlucathiago](https://github.com/zanlucathiago)! - Return Excel error cells as a typed `CellError` instead of collapsing them to + `null`. A cell holding `#DIV/0!`, `#N/A`, `#REF!`, `#VALUE!`, `#NAME?`, `#NUM!`, + or `#NULL!` (whether a literal error or a formula's cached error result) now comes + back as `new CellError(code)` — distinct from a blank cell (`null`) and from a + text cell that happens to contain that string. Check `cell instanceof CellError` + and read `cell.code`; in JSON it serializes to `{ "code": "#DIV/0!" }`. Exports + the new `CellError` class and `ExcelErrorCode` type. + + Behavior change: error cells were previously `null`. If you relied on that, treat + a `CellError` as empty explicitly. + ## 0.4.0 ### Minor Changes diff --git a/package.json b/package.json index 1129ee7..c06a408 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xls-reader", - "version": "0.4.0", + "version": "0.5.0", "description": "Zero-dependency .xls (BIFF8 / Excel 97-2003) reader for Node and the browser — a lightweight SheetJS alternative that returns each worksheet as typed cells.", "keywords": [ "xls",