Skip to content
Closed
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
4 changes: 0 additions & 4 deletions .changeset/automated-release-publishing.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/stable-failure-contracts.md

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,13 @@ jobs:
test "$(npm --version)" = "$NPM_VERSION"
test "$(rustc --version | cut -d' ' -f2)" = "$RUST_VERSION"
- name: Changeset status
if: github.event_name != 'pull_request' || github.head_ref != 'changeset-release/develop'
run: bun run changeset:status -- --since=origin/develop
- name: Install checksum-pinned wasm-pack
run: bun scripts/install-wasm-pack.ts
- name: Tooling contracts
env:
SKIP_CHANGESET_STATUS: ${{ github.event_name == 'pull_request' && github.head_ref == 'changeset-release/develop' }}
run: bun run test:tooling
- name: Import cycles
run: bun run check:cycles
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
id: size-history
if: steps.publish.outputs.verified != '[]'
run: |
VERSION="$(node -p "require('./package.json').version")"
VERSION="$(node -p "require('./packages/core/package.json').version")"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
bun run size:record --version="$VERSION"
bun run docs:generate
Expand Down
7 changes: 7 additions & 0 deletions bench/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @sheetwrite/bench

## 0.0.2

### Patch Changes

- Updated dependencies [e551eb0]
- @sheetwrite/core@0.3.0

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bench/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sheetwrite/bench",
"version": "0.0.1",
"version": "0.0.2",
"private": true,
"type": "module",
"description": "Performance comparison benchmarks: Sheetwrite vs Handsontable.",
Expand Down
11 changes: 11 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @sheetwrite/docs-start

## 0.0.2

### Patch Changes

- Updated dependencies [e551eb0]
- @sheetwrite/core@0.3.0
- @sheetwrite/react@0.3.0
- @sheetwrite/vue@0.3.0
- @sheetwrite/svelte@0.3.0
- @sheetwrite/xlsx@0.3.0

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sheetwrite/docs-start",
"version": "0.0.1",
"version": "0.0.2",
"private": true,
"type": "module",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sheetwrite/core

## 0.3.0

### Minor Changes

- e551eb0: Introduce the canonical `SheetwriteError` envelope and stable error codes across initialization, data sources, rendering, persistence, synchronization, collaboration, and import/export boundaries, with serialization-safe context and explicit retryability.

## 0.2.0

### Minor Changes
Expand Down
11 changes: 11 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @sheetwrite/react

## 0.3.0

### Minor Changes

- e551eb0: Expose typed `SheetwriteError` failures through `onInitializationError` while preserving React grid readiness and input-reset lifecycle behavior.

### Patch Changes

- Updated dependencies [e551eb0]
- @sheetwrite/core@0.3.0

## 0.2.0

### Minor Changes
Expand Down
11 changes: 11 additions & 0 deletions packages/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @sheetwrite/svelte

## 0.3.0

### Minor Changes

- e551eb0: Normalize initialization failures into canonical `SheetwriteError` values for `onInitializationError`, including cross-realm error envelopes and retained causes.

### Patch Changes

- Updated dependencies [e551eb0]
- @sheetwrite/core@0.3.0

## 0.2.0

### Minor Changes
Expand Down
11 changes: 11 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @sheetwrite/vue

## 0.3.0

### Minor Changes

- e551eb0: Emit typed `SheetwriteError` failures through the `initialization-error` event while preserving Vue grid readiness and input-reset lifecycle behavior.

### Patch Changes

- Updated dependencies [e551eb0]
- @sheetwrite/core@0.3.0

## 0.2.0

### Minor Changes
Expand Down
11 changes: 11 additions & 0 deletions packages/xlsx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @sheetwrite/xlsx

## 0.3.0

### Minor Changes

- e551eb0: Normalize XLSX import, export, option, and resource-limit failures into canonical `SheetwriteError` values, and preserve each `AbortSignal` reason as the cancellation cause.

### Patch Changes

- Updated dependencies [e551eb0]
- @sheetwrite/core@0.3.0

## 0.2.0

### Minor Changes
Expand Down
2 changes: 2 additions & 0 deletions scripts/release-workflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ describe("CI-completion package release workflow", () => {
(step) => step.name === "Generate published package size history",
);
expect(generateSizes?.if).toBe("steps.publish.outputs.verified != '[]'");
expect(generateSizes?.run).toContain(`require('./packages/core/package.json').version`);
expect(generateSizes?.run).not.toContain(`require('./package.json').version`);
expect(generateSizes?.run).toContain('bun run size:record --version="$VERSION"');
expect(generateSizes?.run).toContain("bun run docs:generate");
const openPullRequest = parsed.jobs.publish?.steps?.find(
Expand Down
17 changes: 17 additions & 0 deletions scripts/workflow-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,23 @@
).toThrow("action is not reviewed");
});

it("allows the generated version pull request to consume its changesets", () => {
const changesetStatus = workflows().ci.jobs.preflight?.steps?.find(
(step) => step.name === "Changeset status",
);
expect(changesetStatus?.run).toBe("bun run changeset:status -- --since=origin/develop");
expect(changesetStatus?.if).toBe(
"github.event_name != 'pull_request' || github.head_ref != 'changeset-release/develop'",
);
const toolingContracts = workflows().ci.jobs.preflight?.steps?.find(
(step) => step.name === "Tooling contracts",
);
expect(toolingContracts?.env?.SKIP_CHANGESET_STATUS).toBe(

Check failure on line 127 in scripts/workflow-contract.test.ts

View workflow job for this annotation

GitHub Actions / Unit Tests & Coverage

Property 'env' does not exist on type 'WorkflowStep'.
"$" +
"{{ github.event_name == 'pull_request' && github.head_ref == 'changeset-release/develop' }}",
);
});

it("keeps each workflow's required toolchain versions in parity", () => {
const parsed = workflows();
for (const [name, workflow] of Object.entries(parsed)) {
Expand Down
1 change: 1 addition & 0 deletions scripts/workspace-tooling.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ describe("changeset workspace contract", () => {
});

it("runs the canonical Changesets status command", () => {
if (process.env.SKIP_CHANGESET_STATUS === "true") return;
const root = resolve(import.meta.dir, "..");
const result = Bun.spawnSync(
["bun", "run", "changeset:status", "--", "--since=origin/develop"],
Expand Down
Loading