Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# javascript-excel

> **2.0 is a from-scratch rewrite and is in progress.** The prerelease builds sheets from `{ columns, data }` datasets (`fromDataset`, `fromDatasets`, and `toDataset` for the way back), writes complete `.xlsx` files (cells, styles and sheet features), reads `.xlsx` files (`javascript-excel/read`), parses and serializes CSV (`javascript-excel/csv`), turns HTML tables into sheets and downloads files (`javascript-excel/dom`), runs big jobs in a Web Worker (`javascript-excel/worker`), renders values with Excel number formats (`javascript-excel/format`), computes what a sheet viewer draws (`javascript-excel/render`), and imports users' `.xlsx`/`.csv` files as datasets (`javascript-excel/import`). The API may change before 2.0.0.
> **2.0 is a from-scratch rewrite, now in beta** (`2.0.0-beta.x` on the `next` dist-tag). The beta builds sheets from `{ columns, data }` datasets (`fromDataset`, `fromDatasets`, and `toDataset` for the way back), writes complete `.xlsx` files (cells, styles and sheet features), reads `.xlsx` files (`javascript-excel/read`), parses and serializes CSV (`javascript-excel/csv`), turns HTML tables into sheets and downloads files (`javascript-excel/dom`), runs big jobs in a Web Worker (`javascript-excel/worker`), renders values with Excel number formats (`javascript-excel/format`), computes what a sheet viewer draws (`javascript-excel/render`), and imports users' `.xlsx`/`.csv` files as datasets (`javascript-excel/import`). The 2.0.0 feature set is complete; changes before 2.0.0 should be limited to fixes found in testing.
>
> The last 1.x release is [`javascript-excel@1.0.3`](https://www.npmjs.com/package/javascript-excel/v/1.0.3) on npm. Keep using it until 2.0 is released.

Expand Down
2 changes: 1 addition & 1 deletion apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "vitest run"
},
"dependencies": {
"javascript-excel": "2.0.0-alpha.7"
"javascript-excel": "2.0.0-beta.0"
},
"devDependencies": {
"happy-dom": "21.0.4",
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ The limits are on by default. Raising them is an explicit `limits` option, and t

### 9.1 Versioning

- Semantic Versioning. 2.0.0 is a breaking rewrite of 1.0.3. Pre-releases ship as `2.0.0-beta.n` on the `next` dist-tag; `latest` stays on 1.0.3 until 2.0.0 is final.
- Semantic Versioning. 2.0.0 is a breaking rewrite of 1.0.3. Prereleases ship on the `next` dist-tag: `2.0.0-alpha.1` to `2.0.0-alpha.7` while the API was still changing, then `2.0.0-beta.n` from `2.0.0-beta.0`, with the 2.0.0 feature set complete and only fixes expected. `latest` stays on 1.0.3 until 2.0.0 is final.
- **Public API:** the exports of the five entry points, their TypeScript types, the error codes and warning codes, and the behaviour documented here. `ZipCodec` and everything not exported are internal.
- **Breaking (major):** removing or renaming an export, option or code; a narrower accepted input type; a different default that changes output (for example the injection guard or `dateZone`); dropping a runtime from §9.3; required fields added to input types.
- **Not breaking (minor):** new exports, options and optional model fields; the reader populating new optional fields (consumers must tolerate unknown fields); new warning codes; new error codes for inputs that were previously undefined behaviour.
Expand Down
2 changes: 1 addition & 1 deletion examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"check": "tsc -p tsconfig.json"
},
"dependencies": {
"javascript-excel": "2.0.0-alpha.7"
"javascript-excel": "2.0.0-beta.0"
},
"devDependencies": {
"@types/node": "22.20.5",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"check": "tsc -p tsconfig.json"
},
"dependencies": {
"javascript-excel": "2.0.0-alpha.7",
"javascript-excel": "2.0.0-beta.0",
"react": "19.3.1",
"react-dom": "19.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"check": "tsc -p tsconfig.json"
},
"dependencies": {
"javascript-excel": "2.0.0-alpha.7"
"javascript-excel": "2.0.0-beta.0"
},
"devDependencies": {
"@types/node": "22.20.5",
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"check": "tsc -p tsconfig.json"
},
"dependencies": {
"javascript-excel": "2.0.0-alpha.7"
"javascript-excel": "2.0.0-beta.0"
},
"devDependencies": {
"typescript": "7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"check": "tsc -p tsconfig.json"
},
"dependencies": {
"javascript-excel": "2.0.0-alpha.7",
"javascript-excel": "2.0.0-beta.0",
"vue": "3.5.45"
},
"devDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/javascript-excel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# javascript-excel

## 2.0.0-beta.0

First beta of 2.0.0, on the `next` dist-tag. The 2.0.0 feature set is complete: everything in the 2.0.0-alpha releases below. Changes before 2.0.0 should be limited to fixes found in testing, including the manual conformance check in Excel and Numbers.

### Patch Changes

- 244577a: README: link the live playground (https://javascript-excel-playground.vercel.app/).

## 2.0.0-alpha.7

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript-excel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Read and write `.xlsx` and `.csv` files in browsers, Web Workers and Node.js. TypeScript, no runtime dependencies, tree-shakable entry points.

> **Prerelease.** `2.0.0-alpha.x` is a from-scratch rewrite. Everything listed below ships today, and the API may still change before 2.0.0. The last 1.x release is `javascript-excel@1.0.3`.
> **Beta.** `2.0.0-beta.x` is a from-scratch rewrite. Everything listed below ships today. The 2.0.0 feature set is complete; changes before 2.0.0 should be limited to fixes found in testing. The last 1.x release is `javascript-excel@1.0.3`.

```sh
npm install javascript-excel@next
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript-excel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "javascript-excel",
"version": "2.0.0-alpha.7",
"version": "2.0.0-beta.0",
"private": false,
"description": "Read and write .xlsx and .csv files in browsers, Web Workers and Node. 2.0 is a from-scratch rewrite in progress.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript-excel/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ export { decodeCell, decodeCol, decodeRange, encodeCell, encodeCol, encodeRange,
export type { CellAddress, RangeAddress } from "./address";

/** Package version. Set from package.json by `npm run version-packages` (scripts/sync-version.mjs); a unit test checks it. */
export const VERSION = "2.0.0-alpha.7";
export const VERSION = "2.0.0-beta.0";
Loading