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",