Skip to content

Commit 6d51e97

Browse files
author
Asif Ansari
committed
chore: release v1.2.1 — CellErrorBoundary fix, PDF export patches, SPA routing
1 parent 47c105b commit 6d51e97

5 files changed

Lines changed: 22 additions & 5 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@
55

66
---
77

8+
## [1.2.1] — 2026-09-07
9+
10+
### Fixed
11+
- `CellErrorBoundary` now accepts a `renderFn: () => React.ReactNode` prop and calls it
12+
inside its own `render()`, so React correctly catches thrown errors from `renderCell`.
13+
Previously the call happened in the parent's render phase — before the boundary — causing
14+
the entire app to crash instead of showing a per-cell error indicator.
15+
- `exportToPdf` double-cast through `unknown` to satisfy the installed `jspdf` TypeScript
16+
types (the library's class does not expose `autoTable`/`lastAutoTable` in its official
17+
type definitions).
18+
- Added `jspdf` and `jspdf-autotable` to `devDependencies` so local development and demo
19+
builds work without a manual `npm install`.
20+
- Deploy workflow now copies `index.html` → `404.html` so GitHub Pages serves the SPA for
21+
direct URL access to any demo route.
22+
23+
---
24+
825
## [1.2.0] — 2026-09-03
926

1027
### Added

‎CLAUDE.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This file is auto-loaded by Claude Code and other AI coding assistants. It provi
1313
- **Tests:** Vitest 4 + `@testing-library/react` (`renderHook` for hooks, component tests for UI)
1414
- **Build:** Vite (library mode). `npm run build` produces `dist/opengridx.es.js` and `dist/opengridx.umd.js`.
1515
- **Lint:** `npm run lint` (ESLint). Must pass before every commit.
16-
- **Current version:** 1.2.0
16+
- **Current version:** 1.2.1
1717

1818
---
1919

@@ -127,7 +127,7 @@ Full doc: `docs/architecture/grid-row-meta.md`
127127

128128
---
129129

130-
## v1.2.0 — significant changes
130+
## v1.2.1 — significant changes
131131

132132
- **`exportToPdf`** — native PDF export via optional peer deps `jspdf` + `jspdf-autotable`; lazy-loaded, zero bundle impact for non-PDF consumers
133133
- **`PdfExportOptions`** — 12-field interface: fileName, title, logoUrl, orientation, selectedRows, aggregationResult, aggregationModel, filterModel, alternateRowColor, headerBackgroundColor, headerTextColor, fontSize

‎demo/App.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default function App() {
143143
<img src={`${import.meta.env.BASE_URL}logo.png`} alt="OpenGridX Logo" className="app-logo" />
144144
<h2 className="app-title">
145145
OpenGridX
146-
<span className="app-version">v1.2.0</span>
146+
<span className="app-version">v1.2.1</span>
147147
</h2>
148148
</div>
149149

‎demo/Home.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default function Home(_props: HomeProps) {
6262
<div className="home-logo-hero">
6363
<img src={`${import.meta.env.BASE_URL}banner.png`} alt="OpenGridX Logo" className="home-banner-image" />
6464
</div>
65-
<span className="home-badge">OpenGridX v1.2.0</span>
65+
<span className="home-badge">OpenGridX v1.2.1</span>
6666
<p className="home-subtitle">
6767
The elite, high-performance DataGrid for modern React.
6868
Built to handle massive data with a premium developer experience.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencorestack/opengridx",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "OpenGridX: High-performance React data infrastructure. Unlock advanced Row Grouping, Excel Export, and Column Pinning without the usual \"Pro\" gatekeeping. Built for speed, scale, and complete architectural freedom. Fully open, virtualization-ready, and feature-complete.",
55
"type": "module",
66
"main": "./dist/opengridx.umd.js",

0 commit comments

Comments
 (0)