@reportwright/viewer 0.13.2-rc.1 → 0.13.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/{chunk-2KNQVFKW.js → chunk-4XZRLUHN.js} +2 -2
- package/dist/{chunk-2KNQVFKW.js.map → chunk-4XZRLUHN.js.map} +1 -1
- package/dist/designer.js +5 -4
- package/dist/designer.js.map +1 -1
- package/dist/pdfstreamworker.js +4 -0
- package/dist/peer/{chunk-6KUUNDNN.js → chunk-4AFSC6JI.js} +2 -2
- package/dist/peer/{chunk-6KUUNDNN.js.map → chunk-4AFSC6JI.js.map} +1 -1
- package/dist/peer/designer.js +5 -4
- package/dist/peer/designer.js.map +1 -1
- package/dist/peer/pdfstreamworker.js +4 -0
- package/dist/peer/viewer.js +2 -1
- package/dist/peer/viewer.js.map +1 -1
- package/dist/viewer.js +2 -1
- package/dist/viewer.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All `@reportwright/*` packages (formerly `@pagewrightjs/*`) share one version. The versioning policy is in [CONTRIBUTING.md](CONTRIBUTING.md#versioning-semver).
|
|
4
4
|
|
|
5
|
+
## 0.13.2-rc.2 — 2026-10-09 (release candidate)
|
|
6
|
+
|
|
7
|
+
### Fixed (from the rc.1 release gate)
|
|
8
|
+
- **E11 Viewer accessibility:** the scrolling page area (`div.vpages`) is keyboard-focusable (`tabindex="0"`), a named `region`, with a visible inset focus ring; the arrow keys scroll it (axe `scrollable-region-focusable`).
|
|
9
|
+
- **E12 Designer arrow keys on pages with margins:** Arrow and Shift+Arrow move the selection by the whole step (1/10 pt, or 1/10 grid steps with Snap to grid). The step used to be clamped to the band's leftover width, so an item as wide as an A4 body with 36 pt margins (523.28 pt) moved 0.28 pt and then not at all. A keyboard nudge still stops at the band's start; overflow past its end shows in the Issues panel. Dragging still keeps items inside the band.
|
|
10
|
+
- **E10 webpack and Next.js builds:** `@reportwright/viewer` (`dist/`, `dist/peer/`) and `@reportwright/cli` ship `pdfstreamworker.js` next to the bundles that name it with `new URL('./pdfstreamworker.js', import.meta.url)`, so bundlers resolve it. The parallel PDF paint worker itself is `@reportwright/engine`'s (Node only); the stand-ins answer that `exportPdfStream` with `parallel` needs the engine.
|
|
11
|
+
- **E13 missing HarfBuzz subset WASM:** when `harfbuzz-subset.wasm` cannot be loaded (fonts then embed in full, PDFs many times larger), `exportPdf` and `exportPdfStream` warn once on the console and add a warning to the result (the model's `warnings`, the stream result's `warnings`), naming the expected path (`@reportwright/fonts/public/harfbuzz-subset.wasm`) and the fix: install `@reportwright/fonts`, or pass `subset: createSubsetter(() => wasmBytes)`.
|
|
12
|
+
- **E09 importer:**
|
|
13
|
+
- files are read in their own encoding: a UTF-16 LE/BE or UTF-8 byte-order mark, else the XML declaration's `encoding` (ISO-8859-1, Latin-1, windows-1252, …), else UTF-8. `Straße` and `Grüße` survive. Applies to `pw import`, `pw import <folder>` and `POST /api/reports/import`.
|
|
14
|
+
- a compiled `.jasper` file gets "This is a compiled JasperReports file; import the .jrxml source instead."
|
|
15
|
+
- `pw import` prints each error once (it printed it twice, the second time cut short).
|
|
16
|
+
- **E07 SQL connection pool:** a PostgreSQL or MySQL query that cannot get a pooled connection within `PW_DB_ACQUIRE_MS` (default 5000) fails with 503 and `Retry-After` instead of a 500; a connection that frees later goes back to the pool. A streaming query whose reader aborts frees its connection at once (the backend is terminated and the connection discarded) instead of holding it until the deadline. PostgreSQL queries run under `statement_timeout` from their first statement.
|
|
17
|
+
|
|
5
18
|
## 0.13.2-rc.1 — 2026-10-09 (release candidate)
|
|
6
19
|
|
|
7
20
|
### Changed
|
|
@@ -20664,7 +20664,7 @@ function ReportViewer({ definition: rootDef, reportId: rootReportId, params: roo
|
|
|
20664
20664
|
h.text
|
|
20665
20665
|
] }, i))
|
|
20666
20666
|
] })),
|
|
20667
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "vpages", ref: scroller, role: "
|
|
20667
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "vpages", ref: scroller, tabIndex: 0, role: "region", "aria-label": definition.name || T("ux_a11yReport"), onScroll, onClick, onTouchStart, onTouchEnd, children: [
|
|
20668
20668
|
status.state === "error" && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "vmsg error", role: "alert", children: [
|
|
20669
20669
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: T("didNotRun") }),
|
|
20670
20670
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("br", {}),
|
|
@@ -20735,4 +20735,4 @@ export {
|
|
|
20735
20735
|
ReportViewer,
|
|
20736
20736
|
uiFontCss
|
|
20737
20737
|
};
|
|
20738
|
-
//# sourceMappingURL=chunk-
|
|
20738
|
+
//# sourceMappingURL=chunk-4XZRLUHN.js.map
|