@casoon/opengrid 0.14.0 → 0.16.0

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +621 -19
  2. package/README.md +19 -2
  3. package/engine/opengrid_wasm_bg.wasm +0 -0
  4. package/loader.d.ts +451 -24
  5. package/loader.js +584 -132
  6. package/package.json +13 -6
  7. package/pkg/opengrid_web_components.d.ts +94 -23
  8. package/pkg/opengrid_web_components.js +451 -59
  9. package/pkg/opengrid_web_components_bg.wasm +0 -0
  10. package/pkg/opengrid_web_components_bg.wasm.d.ts +15 -6
  11. package/pkg/snippets/opengrid-web-components-35ed06b453a9b215/inline0.js +8 -0
  12. package/pkg/snippets/opengrid-web-components-35ed06b453a9b215/inline1.js +58 -0
  13. package/pkg/snippets/opengrid-web-core-b41714d4e7311909/inline2.js +89 -0
  14. package/react/index.d.ts +20 -2
  15. package/react/index.js +32 -6
  16. package/svelte/Opengrid.svelte +46 -11
  17. package/svelte/OpengridGrid.svelte +20 -1
  18. package/svelte/OpengridPivot.svelte +3 -3
  19. package/svelte/OpengridTable.svelte +1 -1
  20. package/svelte/index.d.ts +57 -18
  21. package/svelte/index.js +1 -1
  22. package/texts/de.d.ts +5 -0
  23. package/texts/de.js +245 -0
  24. package/vue/index.d.ts +49 -7
  25. package/vue/index.js +41 -11
  26. package/worker.js +6 -3
  27. package/xlsx/opengrid_xlsx.d.ts +69 -0
  28. package/xlsx/opengrid_xlsx.js +375 -0
  29. package/xlsx/opengrid_xlsx_bg.wasm +0 -0
  30. package/xlsx/opengrid_xlsx_bg.wasm.d.ts +16 -0
  31. package/pkg/snippets/opengrid-web-components-56667a20e9158a6a/inline0.js +0 -17
  32. /package/pkg/snippets/{opengrid-web-core-a3505e32fee0c1ed → opengrid-web-core-b41714d4e7311909}/inline0.js +0 -0
  33. /package/pkg/snippets/{opengrid-web-core-a3505e32fee0c1ed → opengrid-web-core-b41714d4e7311909}/inline1.js +0 -0
package/CHANGELOG.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  Notable changes to `@casoon/opengrid` and the `opengrid-*` crates. The npm
4
4
  package and the crates carry the same version and are released together, so one
5
- entry covers both.
5
+ entry covers both. The crates are published on [crates.io](https://crates.io);
6
+ the npm package on npm.
6
7
 
7
8
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
8
9
  the versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
@@ -18,7 +19,586 @@ Two things belong in every release entry and are easy to leave out:
18
19
 
19
20
  ## [Unreleased]
20
21
 
21
- ## [0.14.0] — 2026-10-26
22
+ ## [0.16.0] - 2026-11-12
23
+
24
+ Not yet verified by a screen reader: no pass with assistive technology has been recorded for this
25
+ release ([#5](https://github.com/casoon/opengrid/issues/5)). The keyboard and `axe-core` checks run on
26
+ every change.
27
+
28
+ ### Added
29
+
30
+ - **Grid:** detail panels under a row. `set_detail_renderer(grid, (record, key) => Node)` (`detailRenderer`
31
+ in the framework components) gives the node of a record's panel; a button in the row's first cell and
32
+ `Alt`+`↓` / `Alt`+`↑` open and close it. The panel is one more `row` with one `gridcell` across the
33
+ columns, `aria-rowcount` and the `aria-rowindex` of the rows below count it, its height is measured and
34
+ the scroll area follows. `opengrid-detail-toggle` fires; the view carries the open rows' keys
35
+ (`detail`). Needs a `row-key`; not offered grouped, as a tree or past the sizer's limit. Texts
36
+ `detailShow`, `detailHide`, `detailPanel`, `detailShown` and `detailHidden`
37
+ ([#318](https://github.com/casoon/opengrid/issues/318)).
38
+ - **Export, print:** band names in the header row. The print table writes `Address · City` over a banded
39
+ column; `exportRows(…, { headers })` does the same for CSV and XLSX with the texts
40
+ `get_export_headers(grid)` answers, and a server takes them as `header.<column>` parameters on
41
+ `POST /export/{source}`. A column without a band keeps its field name; JSON has no header row and
42
+ refuses the option ([#353](https://github.com/casoon/opengrid/issues/353),
43
+ [export guide](docs/guides/export.md#naming-the-band), [Column bands](docs/api.md#column-bands)).
44
+ - **Grid:** hide a whole band from its cell. `Delete` on a band's cell, or *Hide band* in its menu
45
+ (`Alt`+`↓`, `Shift`+`F10` or the context-menu key with `column-menu`), hides every column the band
46
+ spans in one step and names the band in the status line; the column list brings it back, and a band
47
+ that is all there is stays ([#352](https://github.com/casoon/opengrid/issues/352),
48
+ [Column bands](docs/api.md#column-bands)).
49
+ - **Export:** XLSX without a server ([#332](https://github.com/casoon/opengrid/issues/332)).
50
+ `exportRows(provider, query, { format: "xlsx" })` now writes the workbook in the tab for the
51
+ engine in the tab, a worker and the hybrid provider — the same writer and the same type rules as
52
+ the server's. It is a module of its own, `@casoon/opengrid/xlsx/` (about 245 KB brotli), that
53
+ `exportRows` loads the first time and a page that never exports to Excel does not fetch. The
54
+ workbook is held in memory, so a workbook in the tab is bounded by `maxRows` (250 000 by
55
+ default; about 120 MB at 100 000 rows) and by Excel's 1 048 575 rows
56
+ ([export guide](docs/guides/export.md#xlsx)).
57
+ - **Grid:** a whole record as a form. `Shift`+`F2` on a data cell opens the record in a native modal
58
+ dialog built from the schema — one labelled field per column, the editor its cell would open, a
59
+ column the page fills shown and not editable. Saving checks every field first (the schema, a required
60
+ column, a blocking validator) and keeps the form open with the reason under the field and the focus on
61
+ the first one; otherwise it fires one `opengrid-cell-change` per changed field and the record is **one**
62
+ undo step. A cancelable `opengrid-record-open` lets a page open its own form instead. Needs `row-key`;
63
+ off while grouped and in a tree ([#325](https://github.com/casoon/opengrid/issues/325),
64
+ [Editing a whole record](docs/api.md#editing-a-whole-record)).
65
+ - **Grid:** a block of cells, marked and copied. `Shift`+arrows, `Shift`+click and dragging mark the
66
+ rectangle between where it began and the focus, announced as a size („3 by 4 cells“) and drawn with
67
+ `data-range`; `Ctrl`/`Cmd`+`C` copies it as values, tab-separated, which a spreadsheet reads and the
68
+ grid's paste reads back unchanged. A text cell a spreadsheet would run as a formula gets the export's
69
+ guard (a leading `'`), which pasting into a text column takes off again. A copy covers the loaded
70
+ rows and says so otherwise; the row selection stays its own thing
71
+ ([#327](https://github.com/casoon/opengrid/issues/327),
72
+ [Copying a range of cells](docs/api.md#copying-a-range-of-cells)).
73
+ - **Grid:** cell templates. `set_cell_templates(host, { column: ({ value, text, row, key }) => Node })`
74
+ (and `cellTemplates` in `connect` and the React, Vue and Svelte adapters) shows a node the page builds —
75
+ a link, a badge, a small bar — instead of a cell's text. Never an HTML string; the source's value stays
76
+ what search, filters, export, copy and events read. The cell stays one stop of the grid pattern:
77
+ `Enter` goes into its controls, `Escape` comes back. Cells are drawn again when their row changes under
78
+ them ([#317](https://github.com/casoon/opengrid/issues/317), [Cell templates](docs/api.md#cell-templates)).
79
+ - **Query:** `icontains` and `istarts_with` — `contains` and `starts_with` ignoring case, both sides
80
+ folded with Unicode's lowercase mapping and no locale (`Müller` is found by `müller`; `ß` stays, a
81
+ final `Σ` becomes `ς`, a Turkish `İ` becomes `i` and a combining dot). The engine, SQLite (a function
82
+ the connector registers) and PostgreSQL (`lower` under ICU's `und-x-icu`, so the database needs ICU)
83
+ agree on the new `fold-cases` of the conformance suite. The filter row offers them
84
+ ([#323](https://github.com/casoon/opengrid/issues/323),
85
+ [query semantics](docs/guides/query-semantics.mdx)). Locale collation of sorting is
86
+ [#391](https://github.com/casoon/opengrid/issues/391).
87
+ - **Server, provider, grid:** a source that changes. `GET /watch/{source}` is an optional,
88
+ notification-only stream (Server-Sent Events, same token, no rows); the application says when data
89
+ changed with `Server::notify_changed`. `createRestProvider({ …, watch: true })` follows it and
90
+ tells the grid with a cancelable `opengrid-source-changed`. The grid moves **nothing**: the
91
+ status line says once that the data changed and a **Refresh** button (or `refresh(grid)`) runs the
92
+ query again, keeping the view, the focus by record, the selection by key and the history
93
+ ([#328](https://github.com/casoon/opengrid/issues/328),
94
+ [protocol](docs/protocol.md#watching-a-source), [A source that changes](docs/api.md#a-source-that-changes)).
95
+ - **Grid:** filters joined by `or`. The search expression takes `or` and parentheses —
96
+ `country = DE or (qty ≥ 900 and customer = Alpha)`, `and` binding tighter — and a value in double
97
+ quotes. An expression the filter row cannot hold — one with an `or`, or with two conditions on
98
+ one column — becomes the grid's one **nested filter**: one chip in words, and-ed onto the filter
99
+ row, the facets, the search and the page's `filter`, in every query the grid sends; every other
100
+ expression still writes the filter row ([#324](https://github.com/casoon/opengrid/issues/324), [Search](docs/api.md#search),
101
+ [Nested filter](docs/api.md#nested-filter)).
102
+ - **Grid:** a builder for the nested filter — a native modal `<dialog>` with conditions in groups
103
+ that match *all* or *any*. The filter's chip opens it; the new attribute `filter-builder` puts
104
+ *Advanced filter* into the toolbar to start one (`filterBuilder` in the framework components).
105
+ New parts `filter-builder`, `filter-builder-dialog` and `chip-edit` ([#324](https://github.com/casoon/opengrid/issues/324)).
106
+ - **Grid:** the view carries the nested filter as `where`, in the wire form of a query's filter
107
+ (type `ViewFilter`); `set_view` restores it and refuses one that names an unknown column, `not`
108
+ or `in` ([#324](https://github.com/casoon/opengrid/issues/324), [The view](docs/api.md#the-view)).
109
+ - **Texts:** `queryOr`, `queryUnclosed`, `queryUnopened`, `queryMissingCondition`,
110
+ `queryMissingJoin`, `filterApplied`, `filterBuilder`, `filterBuilderJoin`, `filterBuilderAll`,
111
+ `filterBuilderAny`, `filterBuilderCondition`, `filterBuilderGroup`, `filterBuilderAddCondition`,
112
+ `filterBuilderAddGroup` and `filterBuilderEdit`, with their German ([#324](https://github.com/casoon/opengrid/issues/324)).
113
+ - **Pivot:** XLSX export, written by the server ([#331](https://github.com/casoon/opengrid/issues/331)).
114
+ `exportPivot(provider, pivot, { format: "xlsx" })` answers the shown pivot as one flat sheet: the
115
+ header row and the rows of its CSV, numbers and dates as typed cells. Over `createPivotProvider`
116
+ and `createRestProvider`, from `POST /pivot/{source}?format=xlsx`
117
+ ([export guide](docs/guides/export.md#a-pivot-as-a-workbook)).
118
+ - **Elements:** right-to-left layout for `<opengrid-grid>`, `<opengrid-table>` and
119
+ `<opengrid-pivot>`, taken from `dir` on the element or an ancestor: the columns run from the
120
+ right, and in the grid `←` and `→` follow what is on the screen
121
+ ([#320](https://github.com/casoon/opengrid/issues/320), [Right to left](docs/api.md#right-to-left)).
122
+ - **Export:** a print path for paper and PDF. `prepare_print(grid)` builds a plain table of every
123
+ match of the view, shown only in `@media print` in place of the grid, and `window.print()` prints
124
+ it; a table, a pivot and a grid print black on white whatever the look
125
+ ([#334](https://github.com/casoon/opengrid/issues/334), [Printing the view](docs/api.md#printing-the-view)).
126
+ - **Grid:** pinned columns. `pin: "start"` or `pin: "end"` in `set_columns` keeps a column in
127
+ place while the others scroll sideways; the reader changes it on the header cell with
128
+ `Alt`+`Shift`+`←`/`→` or from the column menu's *Pin* group, and the view holds that choice as
129
+ `columns.pinned`. A focused cell is scrolled clear of the pinned columns, and when they would take
130
+ more than half of the grid's width they scroll with the others until there is room again. New
131
+ texts `pinGroup`, `pinNone`, `pinStart`, `pinEnd`, `columnPinnedStart`, `columnPinnedEnd`,
132
+ `columnUnpinned` and `pinsReleased`
133
+ ([#316](https://github.com/casoon/opengrid/issues/316), [Pinned columns](docs/api.md#pinned-columns)).
134
+ - **Grid:** column bands, a header above several columns. A column names its band in
135
+ `set_columns` (`band: "Address"`), and the columns that name the same one share a header cell in
136
+ a row above their own; one level. A band is always in one piece: a column moves inside its band,
137
+ `Ctrl`/`Cmd`+`←`/`→` on the band's cell moves the band with its columns, hiding its last shown
138
+ column hides it, and pinning one of its columns pins the band. The arrow keys cross the two
139
+ header rows, and a data cell names its band and its column as its headers. New part `band`
140
+ ([#319](https://github.com/casoon/opengrid/issues/319), [Column bands](docs/api.md#column-bands)).
141
+ - **Grid:** lookup columns. `lookup: { key: label }` in `set_columns` gives a `utf8` or `int64`
142
+ column that stores keys the labels a reader reads: the cell and a group's header show the label,
143
+ the editor is the combobox over the labels, the filter row and the "+ Filter" dialog offer a
144
+ choice among them, and `list` and `pills` facets list them. The value stays the key — in the
145
+ query, the view, the events and every export — and the column **sorts and groups by the key, not
146
+ by the label**; its only aggregate is `count`
147
+ ([#326](https://github.com/casoon/opengrid/issues/326), [Lookup columns](docs/api.md#lookup-columns)).
148
+ - **Grid:** `filter`, the page's filter — a wire filter as JSON, and-ed onto every query the grid
149
+ sends. It is not the reader's: no chip, not in the view, and "remove all" leaves it
150
+ ([#330](https://github.com/casoon/opengrid/issues/330), [The page's filter](docs/api.md#the-pages-filter)).
151
+ - **Pivot:** the rows behind a cell. With `drill-down`, every value is a button that fires
152
+ `opengrid-drill-down` with the cell's filter — NULL and empty-string groups apart, totals by the
153
+ dimensions they lie in, the pivot's own filter included — and the page shows the rows, in a grid
154
+ through its `filter`; `onDrillDown` in `connect` and the framework components
155
+ ([#330](https://github.com/casoon/opengrid/issues/330), [Drilling down](docs/api.md#drilling-down)).
156
+ - **Grid:** a grouped grid with `row-key` selects rows: opening and closing a group never changes
157
+ what is selected, a group header is not selected, and select-all takes every row of the filter,
158
+ open or not ([#322](https://github.com/casoon/opengrid/issues/322)).
159
+ - **Grid:** the view carries a selection by key as `selected`, and `set_view` restores it after
160
+ asking the source which of the keys still name a record; those that do not are dropped and said
161
+ (new text `selectionMissing`). Selecting fires `opengrid-selection-change` only
162
+ ([#322](https://github.com/casoon/opengrid/issues/322)).
163
+ - **Pivot:** calculated measures. A measure with `calc` is shown as its share of the row, the
164
+ column or the grand total (`sum`, `count`), or as a running total along the columns (also `avg`,
165
+ `min`, `max`) — computed by the source,
166
+ chosen from a measure's chip in the toolbar, named in the headers and the exports
167
+ ([#329](https://github.com/casoon/opengrid/issues/329),
168
+ [Calculated measures](docs/api.md#calculated-measures)).
169
+ - **Texts:** a German translation ships with the npm package as `@casoon/opengrid/texts/de` — every
170
+ text of the grid, the table and the pivot, with `lang: "de"`, to hand to `set_texts` or to the
171
+ `texts` of `connect`; a page that does not import it does not load it
172
+ ([#333](https://github.com/casoon/opengrid/issues/333), [Texts](docs/api.md#texts)).
173
+
174
+ ### Changed
175
+
176
+ - **Build:** the shipped modules are optimised with `wasm-opt -Oz --low-memory-unused`, which makes the
177
+ element module 1.4 KiB, the engine 0.8 KiB and the XLSX module 0.9 KiB smaller (brotli); the budget
178
+ bounds are lowered to match ([#366](https://github.com/casoon/opengrid/issues/366)).
179
+ - **Pages:** the project site uses the current shared theme (0.12.12).
180
+ - **Pages:** the project site uses the current shared theme (0.12.11).
181
+ - **Grid:** the free-text search ignores case. **What breaks:** it sent `contains` and now sends
182
+ `icontains`, so `de` finds `DE`; a source that does not know the new operator refuses the query.
183
+ The operator list of the filter row has two more entries after `starts_with`; `set_texts` keys by
184
+ token, so a page's translations are unaffected, but anything that picked an operator by its
185
+ position in the list has moved.
186
+ - **Pages:** the project site uses the current shared theme (0.12.10).
187
+ - **Grid:** the search expression reads `or` and parentheses. **What breaks:** ` or ` (and the
188
+ `queryOr` word) inside a value now ends it, a `)` without its `(` inside a value is refused,
189
+ and a value that starts with `"` and has a closing `"` is the text between them — write such
190
+ values in double quotes: `customer = "this or that"`. Input that starts with `(` and a condition
191
+ is a filter, no longer a text search. The pivot's filter field joins with `and` alone, as before
192
+ ([#324](https://github.com/casoon/opengrid/issues/324)).
193
+ - **Grid:** two conditions on one column are both kept. `amount > 1 and amount < 5` in the search
194
+ field left only the last one in the filter row; now the whole expression becomes the nested
195
+ filter. The same in the pivot's filter field, where both are and-ed. Expressions with one
196
+ condition per column go to the filter row as before ([#324](https://github.com/casoon/opengrid/issues/324)).
197
+ - **Grid:** every grid with `row-key` selects **by key**, grouped or not: the selection stays
198
+ through a sort, a filter, grouping and ungrouping, and select-all asks the source for the keys.
199
+ **What breaks:** with `row-key`, and in a tree, `opengrid-selection-change` is `{ count, keys }`
200
+ and has no `rows` and no `ranges` any more (`SelectionChangeDetail` is a union of
201
+ `SelectionByPosition` and `SelectionByKey`); a sort or a filter no longer drops such a selection;
202
+ `get_view` holds `selected` while something is selected, and `set_view` with a view that has no
203
+ `selected` clears it. Without `row-key` nothing changes
204
+ ([#322](https://github.com/casoon/opengrid/issues/322), `docs/api.md`: *Selecting by key*).
205
+ - **Grid:** the view's `columns` has a fourth field, `pinned`, and every column menu has the three
206
+ entries of the *Pin* group. **What breaks:** a TypeScript `View` written out in full needs
207
+ `columns.pinned` (`{}` for none; `ViewInput`, which `set_view` takes, does not); in the
208
+ `opengrid-grid` crate `ColumnLayout::effective` and `ColumnLayout::move_column` take the pins of
209
+ the page as a further argument ([#316](https://github.com/casoon/opengrid/issues/316)).
210
+ - **Grid:** in the `opengrid-grid` crate the page's part of the column arrangement is one value,
211
+ `layout::PageColumns` (its pins and its bands). **What breaks:** `ColumnLayout::effective`,
212
+ `pin`, `set_pin` and `move_column` take `&PageColumns` where they took the page's pins as a
213
+ slice. The elements and the npm package are not affected
214
+ ([#319](https://github.com/casoon/opengrid/issues/319)).
215
+ - **Grid:** setting `group-by` on a grid that selects by position now says `Selection cleared` and
216
+ fires `opengrid-selection-change` when it drops a selection; it was dropped silently
217
+ ([#322](https://github.com/casoon/opengrid/issues/322)).
218
+ - **Pivot (Rust):** a pivot's measure is `opengrid_pivot::Measure` — an `Aggregate` and its
219
+ optional `Calc`. **What breaks:** `PivotQuery::values` and `ValidatedPivotQuery::values` are
220
+ `Vec<Measure>` (they were `Vec<Aggregate>`; the aggregate is `measure.aggregate`), and
221
+ `PivotError` gained `Calc`, so an exhaustive `match` must handle it. The wire form is unchanged
222
+ for a pivot without `calc` ([#329](https://github.com/casoon/opengrid/issues/329)).
223
+ - **Grid:** `group-by`, the view's `group` and the toolbar's *+ Group* take three grouping levels; a
224
+ fourth is refused as the third was. The default wording of `groupingFull` is now
225
+ `Grouped by three columns already` ([#321](https://github.com/casoon/opengrid/issues/321)).
226
+
227
+ - **Rust:** three public items that nothing was meant to use are closed
228
+ ([#357](https://github.com/casoon/opengrid/issues/357)). **What breaks:**
229
+ `opengrid_datasource::ExecutionMode` is gone — the engine takes
230
+ `opengrid_planner::ExecutionMode`; the fields of `opengrid_server::AppState` are private, read
231
+ `registry()` and `max_concurrent_exports()` instead, so a new setting no longer breaks a caller
232
+ that builds one; the modules `opengrid_server::api` and `opengrid_server::registry` are private,
233
+ with what they offered still at the crate root (`AppState`, `ErrorReport`, `router`, `Registry`,
234
+ `RegistryError`, `RowFilter`, `SourcePolicy`); `opengrid_datasource_postgres::pg_type` is
235
+ not public any more.
236
+ - **Rust:** `opengrid-export`'s feature `xlsx` writes a workbook **in memory**, and the new feature
237
+ `xlsx-streaming` is what `xlsx` was — finished rows go to a temporary file, which the server has
238
+ and a browser has not ([#332](https://github.com/casoon/opengrid/issues/332)).
239
+ **What breaks:** a crate that enabled `opengrid-export/xlsx` for its constant memory enables
240
+ `xlsx-streaming` now (`opengrid-server` does). New: `opengrid_datasource::wire::result_from_bytes`,
241
+ the binary form of an answer read into a result — it moved there from the element module, and
242
+ `opengrid-datasource` depends on `opengrid-columns` for it.
243
+
244
+ ### Fixed
245
+
246
+ - **Grid:** copying a block of cells with `Ctrl`/`Cmd`+`C` works in Firefox and Safari, whose `copy` event does not pass through the shadow root ([#327](https://github.com/casoon/opengrid/issues/327)).
247
+ - **Grid:** pinned columns hold in Safari (WebKit)
248
+ ([#379](https://github.com/casoon/opengrid/issues/379)): the filter field of a pinned column right
249
+ to left, and the one of a pinned band, stay above their column; a filter field that takes the focus
250
+ stands clear of the pinned fields, and a pinned one no longer moves the grid; a pinned cell that
251
+ takes the focus no longer jumps the grid sideways; and the rows of a grid narrower than its table
252
+ are as wide as the table, so a pinned cell has room to stand in.
253
+ - **Grid:** in a tree with rows whose parent is missing, the sentence about them replaced a notice
254
+ that was waiting for the result — a page's `{ notice }` on `set_view` was never said. Both are
255
+ said now, the page's first ([#344](https://github.com/casoon/opengrid/issues/344)).
256
+ - **Grid:** after `group-by` changed, the focus stayed on the old cell while the grid acted on the
257
+ first header, so `Enter` and the arrow keys did nothing useful until the focus moved. A cell that
258
+ had the focus now hands focus and active cell to its column's header; a header keeps both, and
259
+ a column menu or the *+ Group* button gets the focus back where it was
260
+ ([#345](https://github.com/casoon/opengrid/issues/345)).
261
+ - **Grid:** a grouped grid, and a tree, put their window six rows short of where a key or the
262
+ scrolling asked for it: `Ctrl`+`End` stopped before the last position and `ArrowDown` at the
263
+ window's edge needed two presses ([#342](https://github.com/casoon/opengrid/issues/342)).
264
+ - **Docs:** the API reference's link to the protocol, where `where` is described, led to a
265
+ missing page on the project site.
266
+
267
+ ## [0.15.0] - 2026-11-09
268
+
269
+ **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
270
+ **Browsers:** Chromium (the whole e2e suite: 1405 passed). Firefox and WebKit on Linux
271
+ (`gh workflow run ci.yml -f browsers=true`): 1386 passed, 24 skipped by design — no failures, none
272
+ on a retry.
273
+
274
+ The first release with the Rust crates on crates.io: the engine, the connectors and
275
+ `opengrid-server`, fourteen crates at the npm package's version. The rest is hardening after a
276
+ review of the whole project: the server bounds its work before doing it, tells a caller nothing
277
+ about the database and refuses a wrong configuration at startup; PostgreSQL connects over TLS and
278
+ both SQL connectors end a statement nobody waits for; the grid keeps its focus, its selection and
279
+ its editor through new answers, scrolls a result of any length and does less work per frame.
280
+
281
+ **Module sizes** (brotli, `just measure-modules`): the elements 279.4 → 288.5 KiB, the engine
282
+ 145.4 → 149.1 KiB, measured against v0.14.0 — both within their bounds
283
+ (`scripts/module-budget.txt`); the elements are 83 bytes under theirs.
284
+
285
+ **What breaks:**
286
+ - Rust: `DataSourceError` gained `Data`, `ErrorCode` gained `Data`, `QueryError` gained
287
+ `OffsetTooLarge` and `ListTooLong`, `SchemaError` one variant, so an exhaustive `match` must
288
+ handle them; `Limits` has the new field `max_list_values` and `AppState` a new field, so a struct
289
+ literal needs them; `Schema::check` refuses a column named `__og_…` or `__grouping_…`.
290
+ - Server: `ServerBuilder::build` fails for a token that does not fit a row filter, a token handed
291
+ in twice and an invalid `allow_origin`. A backend failure reaches the client as one sentence and a
292
+ reference, not as the database's text. A tree with a key twice or a cycle answers `data` / `422`
293
+ (it was `backend` / `502`). A `POST /query` without `limit` gets `max_limit`. A tree over five
294
+ million rows, an Excel export over a million rows and a list of more than 1 000 values are
295
+ refused unless the bound is raised. PostgreSQL's `connect` refuses `sslmode=require`; use
296
+ `connect_with_tls`.
297
+ - Elements: `set_texts(host, {})` no longer resets the texts (`null` does). The default wording of
298
+ `subtreeCell` and `subtreeOnly` and the name of a disabled add button changed. `page-size="0"`
299
+ means no paging. Results above 312 500 rows scroll through a scaled scroll bar.
300
+ - npm: `engines.node` is `>=22.12.0`; the peer ranges are `vue >=3.4.20` and
301
+ `@types/react >=18.3.0`.
302
+ - MCP: `opengrid_query` answers 500 rows at most per call, and a server source over `http://` is
303
+ refused unless it is on the machine itself.
304
+
305
+ ### Added
306
+
307
+ - **PostgreSQL:** `PostgresDataSource::connect_with` and `PoolOptions` set the pool size and the wait,
308
+ create and recycle timeouts, so `max_concurrent_exports` can be sized against a known pool.
309
+ - **Rust crates on crates.io:** the portable crates, the connectors and `opengrid-server` (fourteen
310
+ in all) are published with every release at the npm package's version, through crates.io Trusted
311
+ Publishing; `opengrid-wasm` and the `opengrid-web-*` crates stay unpublished
312
+ ([#241](https://github.com/casoon/opengrid/issues/241), [releasing](docs/releasing.md#rust-crates)).
313
+ - **PostgreSQL over TLS** ([#220](https://github.com/casoon/opengrid/issues/220)).
314
+ `PostgresDataSource::connect_with_tls` takes any `tokio-postgres` TLS connector and **requires**
315
+ TLS (`sslmode=prefer` would fall back to clear text, so it is lifted to `require`; `disable` is
316
+ refused). The cancel request of a dropped statement goes over the same connector. The cargo
317
+ feature `tls` (off by default) adds `rustls_connector`: `rustls` with the `ring` provider, the
318
+ Mozilla roots and optionally a private authority's. `connect` refuses a string with
319
+ `sslmode=require` at once. New dependencies, only with the feature: `rustls`,
320
+ `tokio-postgres-rustls`, `webpki-roots`, `rustls-pki-types`.
321
+ - **Editing through `connect` and the framework components** ([#206](https://github.com/casoon/opengrid/issues/206)).
322
+ New options `actions` and `validators` (functions compare by identity, as in `formats`) and the
323
+ callbacks `onRowAdd`, `onPaste`, `onBulkChange`, `onRowAction`, `onSourceReplaced`. `onRowAdd`
324
+ answers with the new row's state, or a promise of it — that is `set_row_state`. The connection
325
+ carries `setCellState` and `setValues`, and so does each component's ref (React: the element;
326
+ Vue: the template ref; Svelte: `bind:this`). React, Vue and Svelte take `rowKey` and `addRow`
327
+ as props; the Angular recipe has them as inputs, `[rowAdd]` and `exportAs: "opengrid"`.
328
+ See the framework guide's "Editing".
329
+
330
+ ### Changed
331
+
332
+ - **Engine:** the hot paths no longer allocate per row. `in` looks each cell up in a set of the
333
+ literals instead of comparing the whole column once per literal (500 values over 1M rows: 2229 ms
334
+ to 19 ms), `min`/`max` reuse one buffer per group (1M rows by country: 154 ms to 102 ms), and a
335
+ tree keys its nodes on the typed value and builds the paths of the returned page only (100 000
336
+ nodes: roots 24 ms to 8 ms, flat tree 49 ms to 30 ms; native release build). The answers are the
337
+ same ([#214](https://github.com/casoon/opengrid/issues/214)).
338
+ - **Engine:** `load_csv` reads the file record by record into the column builders instead of
339
+ scanning every record first. The peak memory of loading the 1M-row demo file (85 MB) drops from
340
+ 431 MiB to 159 MiB (native, release build, maximum resident set size); the result is the same
341
+ ([#215](https://github.com/casoon/opengrid/issues/215)).
342
+ - **Packaging:** the Cargo feature `pivot` pulls `opengrid-grid` and `opengrid-query`, so
343
+ `set_columns` and `set_formats` exist in a pivot-only build of `opengrid-web-components` too
344
+ (they were gated on `grid`, and a pivot-only build had no way to title its columns or format its
345
+ values). The pivot-only module grows from 125803 to 127991 B brotli (343738 to 351574 B raw);
346
+ `grid+pivot`, the module the packages ship, is the same to the byte raw (876486 B)
347
+ ([#234](https://github.com/casoon/opengrid/issues/234)).
348
+ - **Server:** `ServerBuilder::build` now fails at startup for what used to fail on every request or
349
+ silently: a token whose context does not fit a source's row filter (a `tenant_id bigint` filter
350
+ never worked, the context was always sent as text; it is now read as the column's type), a token
351
+ value handed in twice (the last context replaced the first's, so the first tenant got the second's
352
+ rows), and an `allow_origin` that is not a valid header value (it was dropped). **What breaks:** a
353
+ server that was configured with any of these now refuses to start
354
+ ([#221](https://github.com/casoon/opengrid/issues/221)).
355
+ - **Server:** data that breaks a rule of the query, a tree with a key twice or a cycle, now answers
356
+ with the new error code `data` and status `422` instead of `backend` and `502`; the message is
357
+ still told in full. The code is added to the end of `ErrorCode` (`opengrid-datasource`), of the
358
+ frozen server codes and of the `ErrorCode` type in `loader.d.ts`. `createRestProvider`, `exportRows`
359
+ and the elements pass a code they do not know on unchanged and treat it as a failure like any
360
+ other. **What breaks:** a `switch` over `ErrorCode` in Rust must handle the new variant, and a client
361
+ that retried `backend` for a tree cycle now sees `data` and retrying does not help
362
+ ([#219](https://github.com/casoon/opengrid/issues/219)).
363
+ - **Docs:** the project site uses the current shared theme (0.12.6) and ends with a link to the
364
+ quickstart.
365
+ - **Grid:** a further sort key says its place to a screen reader. `aria-sort` stays on the primary
366
+ key only (ARIA 1.2); the header of the second and later keys is described by "Sort key 2", "Sort key
367
+ 3" … through `aria-describedby` and a hidden node. **Public API:** the new text key `sortKey`
368
+ (`Sort key {position}`, 1-based) for `set_texts`, documented in `docs/api.md`
369
+ ([#229](https://github.com/casoon/opengrid/issues/229)).
370
+ - **Packaging:** a bundler's production build finds the WebAssembly modules and the worker by
371
+ itself ([#238](https://github.com/casoon/opengrid/issues/238)). `loader.js` and `worker.js`
372
+ import the packaged glue statically and the worker is started with the
373
+ `new Worker(new URL(...))` form, so `loadOpengrid()` and `createWorkerProvider()` work in a Vite
374
+ build without `moduleUrl` or `workerUrl`; the options still replace the defaults. Before, such a
375
+ build fell back to the plain table and could not start the engine's worker.
376
+ - **Grid:** scrolling, filtering and selecting everything cost less
377
+ ([#235](https://github.com/casoon/opengrid/issues/235), measured with `just measure-grid` over
378
+ 100 000 rows and 10 columns in Chromium). A frame now crosses into the DOM once instead of once
379
+ per patch, writes only what differs (a text, an attribute or a removal that is already as it
380
+ should be is left alone), and the operator choices and column markers are written per result
381
+ instead of per frame. A scroll step of three rows: 6 656 DOM writes become 64, the script time
382
+ 9.6 ms becomes 2.7 ms and the main-thread time 14.2 ms becomes 4.2 ms. The handler of Ctrl+A
383
+ runs 3.6 ms instead of 11.7 ms, `<opengrid-table>` draws 5 000 rows 20 % faster, and extending a range
384
+ over a large selection no longer takes quadratic time. The DOM, the events and the texts are
385
+ the same.
386
+ - **API:** `opengrid-source-replaced` is frozen, typed in `OpengridEventMap` and in the events table
387
+ of the API reference, which says that `loader.js` dispatches it on the grid without bubbling
388
+ ([#234](https://github.com/casoon/opengrid/issues/234)). A test now reads the module's
389
+ `#[wasm_bindgen]` exports from the source and holds them against the frozen functions and an
390
+ explicit internal list, so a new export cannot slip past the freeze. The docs and types no longer
391
+ count events or functions.
392
+ - **Grid:** `opengrid-selection-change` carries `ranges` beside `rows`: the selected rows as runs of
393
+ adjacent rows, `{ from, to }`, ascending, both ends inclusive, so a page can take "select all" over
394
+ 100 000 rows as one range instead of walking the list. `rows` and `count` are unchanged; in a
395
+ tree `ranges` follow `rows`. **Public API:** the detail gains the field `ranges`
396
+ (`SelectionChangeDetail` in `loader.d.ts`, the events table in `docs/api.md`), additive
397
+ ([#235](https://github.com/casoon/opengrid/issues/235)).
398
+ - **Packages:** the peer range of `vue` is `>=3.4.20` and that of `@types/react` is `>=18.3.0`
399
+ ([#237](https://github.com/casoon/opengrid/issues/237)). The shipped Vue types import
400
+ `DefineSetupFnComponent`, which Vue only has from 3.4.20; a project on 3.3 or early 3.4 got a
401
+ type error from our own `.d.ts`. `just types` now also checks the packed adapters against the
402
+ lowest Vue, React and Svelte the ranges allow.
403
+ - **npm:** `engines.node` of `@casoon/opengrid` is `>=22.12.0` (it was `>=18`, which is past its end of life), the same as `@casoon/opengrid-mcp`.
404
+ - **MCP:** `opengrid_query` answers a window of 500 rows at most, the server keeps 100 sessions
405
+ (the least recently used goes first), the `view` of the tools is a typed schema instead of any
406
+ object, and a server source over `http://` is refused unless it is on the machine itself
407
+ ([#242](https://github.com/casoon/opengrid/issues/242)).
408
+ - **Contributors:** the changelog's release headings use the Keep a Changelog form `## [x.y.z] - date`, and the version links at the end of the file work.
409
+
410
+ ### Fixed
411
+
412
+ - **Grid:** loading the source again leaves nothing of the old one behind
413
+ ([#226](https://github.com/casoon/opengrid/issues/226)). The selection is cleared (and the
414
+ `opengrid-selection-change` event and the status line say so), a tree asks for its levels again
415
+ instead of keeping the old ones, and a facet lists the new source's values. A result with fewer
416
+ rows no longer leaves selected rows that are not there. The rows the reader added and the undo
417
+ history now survive what rebuilds the grid (moving or hiding a column, `tree`, applying a view),
418
+ following their columns by name; a changed `datasource` still starts clean. `<opengrid-table>` and
419
+ `<opengrid-pivot>` re-run their query when `loadRows` or `load` replaces their source, which only
420
+ the grid did.
421
+ - **Grid: a selected row is visible under forced colours** ([#230](https://github.com/casoon/opengrid/issues/230)).
422
+ The tint is `Canvas` there and browsers drop `box-shadow`, so a selected row looked like any
423
+ other unless the `selection` column was on. It now keeps a 4px `Highlight` border on its first
424
+ cell.
425
+ - **Server and connectors, hardening** ([#222](https://github.com/casoon/opengrid/issues/222)).
426
+ `max_payload_bytes` above axum's 2 MiB is honoured (the router carries the limit; an oversize body
427
+ is still the `limit_exceeded` wire error), every answer has `Cache-Control: no-store` and
428
+ `X-Content-Type-Options: nosniff`, and the `Bearer` scheme matches without regard to case. An
429
+ `offset` past `i64::MAX` is a validation error (`OffsetTooLarge`) instead of a negative one in the
430
+ database, and `Limits::max_list_values` (default 1 000) bounds an `in`, `has_all`, `and` or `or`
431
+ (`ListTooLong`). A decimal that does not fit SQLite's 64-bit integer is a backend error instead of
432
+ a wrapped number. `PostgresDataSource::connect_in_schema` takes a table in a PostgreSQL schema.
433
+ The example server warns when it falls back to a public demo token. **What breaks:** `Limits` has
434
+ a new public field (a struct literal without `..Limits::default()` no longer compiles),
435
+ `QueryError` has two new variants, `SchemaError` one, and `Schema::check` refuses a column named
436
+ `__og_…` or `__grouping_…`, which the connectors use for helper columns.
437
+ - **Grid and pivot a11y: a disabled add button answers to what it shows** ([#306](https://github.com/casoon/opengrid/issues/306)).
438
+ axe-core 4.14 reports `label-content-name-mismatch` (WCAG 2.5.3, Label in Name) on `+ Group`
439
+ (`part="add-grouping"`) when it is `aria-disabled`, and on the pivot's `+ Row`, `+ Column` and
440
+ `+ Measure` (`part="add-field"`): the `aria-label` was the reason alone ("Nothing left to add"),
441
+ so a speaker saying "click + Row" did not match the name. The accessible name is now the visible
442
+ text, then the reason: `+ Row. Nothing left to add`. The reasons are the texts `groupingFull`,
443
+ `treeGroupIgnored`, `columnFull` and `nothingToAdd`, unchanged and still translatable; no key is
444
+ new or gone, but the name is now `{addGrouping|addRow|addColumn|addMeasure}. {reason}`, so a page
445
+ or test that read the whole name as the bare reason sees the longer one.
446
+ - **Connectors:** a query the server gave up on (its timeout, a client that left) kept running in the
447
+ database. PostgreSQL now gets a cancel request for the connection when the request is dropped
448
+ halfway (`/query`, `/pivot`, a pushed-down tree) and the connection is closed instead of reused.
449
+ SQLite ran on the async thread, to the end, so the timeout could not fire and one slow query held
450
+ every other request; it now runs on a thread of its own and a dropped request interrupts the
451
+ statement. `opengrid_conformance::block_on` waits for a future that is woken from another
452
+ thread (up to two minutes) instead of panicking. `opengrid-datasource-postgres` depends on `tokio` (already in the build) to send the cancel
453
+ request, and SQLite queries of one connector still run one after the other
454
+ ([#217](https://github.com/casoon/opengrid/issues/217)).
455
+ - **Grid a11y: a tree node's cell with a subtree summary names what it shows** ([#306](https://github.com/casoon/opengrid/issues/306)).
456
+ The cell shows `10 · Σ 15` but said "10. Sum of the subtree: 15", which axe-core 4.14 reports as
457
+ `label-content-name-mismatch` (WCAG 2.5.3, Label in Name). The texts `subtreeCell` and
458
+ `subtreeOnly` get a new placeholder `{shown}` for the cell's visible text, and the English
459
+ defaults use it: the name is now "10 · Σ 15, Sum of the subtree" (was
460
+ `{value}. {aggregate} of the subtree: {total}` and `{aggregate} of the subtree: {total}`; now both
461
+ `{shown}, {aggregate} of the subtree`). **The default wording changes**, so a test or a page that
462
+ matches the old sentence sees the new one, and the summary is now said once. For a summary that
463
+ is NULL, `{shown}` is the cell text plus the word for none ("10 · Σ (no value)"). The new
464
+ placeholder is additive: a text a page has set without `{shown}` stays valid and is used exactly
465
+ as written; its name then does not contain the visible text, which is the page's decision.
466
+ `{value}`, `{aggregate}` and `{total}` work as before.
467
+ - **Grid:** with a far row focused, the last row of the result is drawn again
468
+ ([#309](https://github.com/casoon/opengrid/issues/309)). The focused row keeps its own slot while
469
+ the rows scroll; when that left the window one slot short, the window lost its last row, so a click
470
+ in row 3 followed by a scroll to the end showed no last row. The row dropped is now never the
471
+ first or last row of the result (and so the first row stays too, with a focus far below).
472
+ - **Server:** a backend failure reaches the browser as one fixed sentence and a reference
473
+ (`the data source failed (reference og-…)`), no longer as the database's text, which can name a
474
+ table, a hidden column or a tenant's value. New `ServerBuilder::on_error(hook)` receives the full
475
+ cause under the same reference, and every refused token with its reason (never the token); there
476
+ is no logging without it. `DataSourceError::Data` is new: a tree with a key twice or a cycle
477
+ (T1, T3) is told to the caller in full instead of hidden as an outage, and the local engine's
478
+ `TooLarge` is `LimitExceeded` now. **What breaks:** `DataSourceError` has a new variant (an
479
+ exhaustive `match` no longer compiles), `AppState` a new field, and a client that parsed the
480
+ database text out of a `backend` message no longer can. A tree error has the code `data`, see
481
+ *Changed* ([#219](https://github.com/casoon/opengrid/issues/219)).
482
+ - **Grid:** a grid that was removed from the page is collected after its popups were opened
483
+ ([#227](https://github.com/casoon/opengrid/issues/227)). The listeners of the column list, the
484
+ filter dialog, the grouping menu and the operator menu held the grid, so one open of any of them
485
+ kept it, its shadow tree and its runtime for the life of the page. They now find the grid from the
486
+ event they receive.
487
+ - **Grid: the pager keeps the keyboard focus** ([#285](https://github.com/casoon/opengrid/issues/285)).
488
+ Pressing "Next" onto the last page (or "Previous" onto the first) disabled the button the focus
489
+ stood on and the browser dropped it to the document. It now moves to the nearest pager button that
490
+ still works.
491
+ - **Columns:** the binary wire reader no longer panics on forged counts and lengths: a row count of
492
+ `u64::MAX` overflowed `rows + 1` in a text or list column, and path lengths of a flat tree that wrap
493
+ around `u64` passed the sum check and then indexed out of range. Both are now a decode error, so a
494
+ hostile or broken server cannot trap the page ([#212](https://github.com/casoon/opengrid/issues/212)).
495
+ - **Server:** pivots, trees and Excel exports are bounded before the work is done, not after it.
496
+ A pivot's grouping sets carry a limit one past `max_cells` (PostgreSQL's single statement one past
497
+ the sets' sum), so a pivot over a high-cardinality dimension no longer reads every group; the
498
+ overflow is `limit_exceeded` (it was a hidden `backend` error in the default pivot path). A tree the
499
+ engine builds has its scope counted against the new `ServerBuilder::max_tree_rows` (default
500
+ 5 000 000) before its rows are read, for a level and for an export. The new
501
+ `ServerBuilder::max_xlsx_rows` (default 1 000 000) bounds an Excel export below the sheet's 1 048 576
502
+ rows, since the whole workbook is built in memory: a million rows of ten columns take about
503
+ 65 MiB while it is made, and about 25 s, which is past the default timeout of 10 s, so raise
504
+ `timeout` for such exports. **What breaks:** a tree over five million rows, and an Excel export
505
+ over a million rows, are refused unless the bound is raised
506
+ ([#218](https://github.com/casoon/opengrid/issues/218)).
507
+ - **Grid: a result of any length can be scrolled to its last row** ([#284](https://github.com/casoon/opengrid/issues/284)).
508
+ The sizer is `rows * row-height` and a browser caps the height of an element (Firefox at about
509
+ 17.9 million pixels, Chromium and WebKit at 33.5 million), so past about a million rows the end
510
+ was out of reach. The sizer now stops at 10 million pixels (312 500 rows at 32 px) and above that
511
+ the scroll position is mapped onto the rows: dragging the scroll bar lands proportionally in the
512
+ result (its ends are the first and the last row, to the pixel), while the wheel, touch, the
513
+ arrow and page keys still move a few rows at a time. Ctrl+End and every other far jump of the
514
+ focus place the scroll position first. A result that fits the sizer is drawn exactly as before.
515
+ **What changes:** results between 312 500 rows and the old limit are now scaled too, so the thumb
516
+ of the scroll bar is not exactly proportional while the wheel is used in the middle of such a
517
+ result; a drag of it moves by many rows per pixel.
518
+ - **Grid: `--og-row-height` is followed at runtime and a fractional value counts** ([#283](https://github.com/casoon/opengrid/issues/283)).
519
+ A change while the grid stays in the page (a theme switch, a class on a parent) used to leave the
520
+ window math on the old height, so rows overlapped; the grid now notices it through the size of its
521
+ rows. A value like `40.5px` fell back to the default silently; it is now rounded up to 41 px.
522
+ - **Query:** an integer literal on a `decimal` column (`{"field": "amount", "op": "gt", "value": 10}`) was
523
+ refused as `ValueTypeMismatch`, although rule S8 allows comparing an integer with a decimal. It is
524
+ now read at the column's scale (an overflow of the precision is still a validation error); a float
525
+ literal on a decimal column stays an error ([#210](https://github.com/casoon/opengrid/issues/210)).
526
+ - **Grid:** a filter control that has the focus stays in sight when the filter row is laid out again
527
+ (a window resized, a column shown). The widths and the indent changed under the control and the
528
+ row's own scroll position did not follow, so the control could end up beside the edge and stay
529
+ there (WCAG 2.4.11). Found by a spec that passed only on its retry
530
+ (`at 480px every filter control is in sight`, about 1 run in 20).
531
+ - **Pivot and grid: live region, language, names and descriptions** ([#231](https://github.com/casoon/opengrid/issues/231)).
532
+ `<opengrid-pivot>` keeps its status line across answers and changes only its text, where it built
533
+ a fresh `role="status"` with the text already inside on every answer (WCAG 4.1.3); the toolbar and
534
+ the table are drawn around it. The grand total carries our `lang`, and the filter field is named
535
+ by a hidden node with our `lang` instead of `aria-label`. A validation sentence and a tree's
536
+ "context" are hidden nodes the cell is described by (`aria-describedby`) instead of
537
+ `aria-description` (ARIA 1.3 draft); a finding no longer overwrites the context on a tree's first
538
+ cell. The *Add filter* dialog is `aria-modal="true"`, and what it says about a refused value goes
539
+ through the status line instead of a second `role="alert"`.
540
+ - **Planner:** a tree the client builds (the source has no trees, or leaves the sort or the paging
541
+ to the client) lost the query's sort when it was not paged, and a tree the source answered but
542
+ could not sort or page came back as plain rows without `children`, `match` and `orphans`. The
543
+ client now builds the whole level in those cases and asks the source for the columns of the tree's
544
+ scope and sums too, which it did not, so a scoped or summing tree failed with an unknown column.
545
+ The hybrid conformance run now covers the tree and list cases
546
+ ([#211](https://github.com/casoon/opengrid/issues/211)).
547
+ - **Grid: the ARIA of grouping, selection and sorting** ([#229](https://github.com/casoon/opengrid/issues/229)).
548
+ Group rows and grouped data rows carry `aria-posinset` / `aria-setsize` (the total row none), the
549
+ `<table>` carries `aria-multiselectable="true"` while selection is on, rows carry no
550
+ `aria-selected` while grouped (selection is off there), and only the primary sort key sets
551
+ `aria-sort`: further keys show their order and direction in the header's marks, which stay
552
+ `aria-hidden` — the text key `sortKey` says them, see *Changed*.
553
+ - **Engine:** a decimal `sum` of 39 digits was returned as a `decimal(38, s)` that neither wire form
554
+ could read back; it is now an overflow error, like an `int64` sum past its limit. A decimal pushed
555
+ into a column of another scale was stored with a different meaning (100 at scale 0 became `1.00`);
556
+ it is now refused ([#213](https://github.com/casoon/opengrid/issues/213)).
557
+ - **Grid:** after a filter, facet or search the row the focus stood on kept showing the old record,
558
+ or stayed on as an empty row past the end; a new answer now clears the pinned row and keeps the
559
+ active cell inside the result. A focus request that a newer query superseded is carried by the
560
+ answer that lands, and an answer no longer pulls the focus back from a filter field or a toolbar
561
+ button the reader moved to. The grouped grand total is asked again when a newer query cut the
562
+ first one short ([#223](https://github.com/casoon/opengrid/issues/223)).
563
+ - **Grid:** attributes mean their value, not their presence
564
+ ([#233](https://github.com/casoon/opengrid/issues/233)). `page-size="0"` (or a word) is no paging
565
+ and no longer refuses `group-by`, `tree`, `add-row` or the grouping in the column menu; a
566
+ `row-key` that names no field no longer offers bulk editing or puts `key: null` into events.
567
+ `set_texts` now does what the API reference says: it adds to the texts an earlier call set
568
+ instead of starting from the defaults again (**behaviour change:** `set_texts(host, {})` no longer
569
+ resets the texts; `set_texts(host, null)` does, and `connect` uses it so that its `texts` option
570
+ still means all of them). The pivot mirrors a changed `label` instead of asking its provider again, as
571
+ the grid and the table do.
572
+ - **Grid:** with a `row-key`, undo and redo of a record that was not among the loaded rows (a filter
573
+ or a scroll had moved it out) wrote the old value into whichever record sat in its former position.
574
+ The grid is not written to then; the event reaches the page with the record's `key`. A value the
575
+ page sets with `set_values` now ends the undo and redo steps it overrides
576
+ ([#225](https://github.com/casoon/opengrid/issues/225)).
577
+ - **Formats follow the page's `lang`** ([#232](https://github.com/casoon/opengrid/issues/232)).
578
+ An `Intl` format without a `locale` read the browser's locale, so a `lang="de"` page in an English
579
+ browser showed `1,234.5` while the screen reader spoke German. The locale is now the explicit
580
+ `locale`, then the nearest `lang` of the page (through shadow roots), then the browser's — and a
581
+ change of `lang` on the page re-resolves the formats and redraws the grid, table and pivot.
582
+ - **Grid:** scrolling while a cell was being edited closed the editor in the grid's state but left
583
+ the `<input>` on screen, where `Enter` and `Escape` no longer reached it and the typed value was
584
+ lost. A scroll now leaves the editor open ([#224](https://github.com/casoon/opengrid/issues/224)).
585
+ - **Grid:** pasting no longer writes into a column the page fills (`readonly`)
586
+ ([#228](https://github.com/casoon/opengrid/issues/228)). The preview shows those cells with the
587
+ reason and leaves them out, the live region names the column, and a block of nothing else closes
588
+ without an `opengrid-paste`. A preview is discarded when a new result for the whole query lands
589
+ (another sort or filter, a replaced source, a rebuild), and an answer that arrives after one does
590
+ not open one; before, `Enter` applied the block to rows that were no longer there. The preview's
591
+ query is no longer counted in the footer.
592
+ - **Engine:** a date or timestamp text with a multi-byte character (a filter literal, a CSV cell, a
593
+ wire value) panicked the parser — a wasm trap in the browser, a 500 on the server; it is now a
594
+ validation error ([#209](https://github.com/casoon/opengrid/issues/209)).
595
+ - **Server:** a `POST /query` that named no `limit` read the whole filtered table into memory;
596
+ it now gets `max_limit`, as `docs/protocol.md` always said ([#216](https://github.com/casoon/opengrid/issues/216)).
597
+ An export is unchanged and still reads up to its row bound.
598
+ - **Docs:** rustdoc builds without warnings again: broken and private intra-doc links in the
599
+ crate docs now point at public paths or are plain code spans.
600
+
601
+ ## [0.14.0] - 2026-10-26
22
602
 
23
603
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
24
604
  **Browsers:** Chromium (the whole e2e suite: 1231 passed). Firefox and WebKit on Linux
@@ -120,7 +700,7 @@ workflow with npm Trusted Publishing.
120
700
  hero shows a tighter capture of the grid from the live demo, with a narrower one on phones.
121
701
  - **Releases:** the npm packages are published by a Release workflow on the tag, with npm Trusted Publishing (provenance, no token), after approval in the `npm` environment; `pnpm release` now checks the commit and sets the tag.
122
702
 
123
- ## `@casoon/opengrid-mcp` [0.13.0] — 2026-10-14
703
+ ## [0.13.0-mcp] - 2026-10-14
124
704
 
125
705
  **Not yet tried in a host.** No chat client has rendered the view yet — Claude Desktop
126
706
  included; the e2e suite runs it in a test host of its own, and the release installs the
@@ -135,7 +715,7 @@ on one view; the rows stay with the server. Sources are a CSV with schema or a s
135
715
  CSP allows no WebAssembly. Published alone, under the tag `opengrid-mcp-v0.13.0`; from the
136
716
  next release on it comes out with `@casoon/opengrid`, with the same version.
137
717
 
138
- ## [0.13.0] — 2026-10-10
718
+ ## [0.13.0] - 2026-10-10
139
719
 
140
720
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
141
721
  **Browsers:** Chromium (the whole e2e suite: 1155 passed). Firefox and WebKit on Linux (`gh workflow run ci.yml -f browsers=true`): 1141 passed, 19 skipped by design — no failures; the two of [#157](https://github.com/casoon/opengrid/issues/157) are gone.
@@ -194,7 +774,7 @@ level and path. Beside it, two Firefox fixes the new browser run found.
194
774
  stop of its own before the first button. It is out of the tab order now; every button is still
195
775
  reached by `Tab` and scrolls into view.
196
776
 
197
- ## [0.12.0] — 2026-10-09
777
+ ## [0.12.0] - 2026-10-09
198
778
 
199
779
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
200
780
  **Browsers:** Chromium (the whole e2e suite: 1138 passed; a GC test of the Angular example passed on
@@ -236,7 +816,7 @@ bound; the engine is unchanged.
236
816
  `script-src 'self' 'wasm-unsafe-eval'; style-src 'self'` with editing, choices, read-only
237
817
  columns, widths and scrolling.
238
818
 
239
- ## [0.11.0] — 2026-10-08
819
+ ## [0.11.0] - 2026-10-08
240
820
 
241
821
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
242
822
  **Browsers:** Chromium (the whole e2e suite: 1127 passed), WebKit (`just e2e-browsers` on macOS:
@@ -271,7 +851,7 @@ which this release raises (`scripts/module-budget.txt`); the engine is unchanged
271
851
  - States and values name records, so they outlive sorting, filtering and reloading; another
272
852
  `row-key` or `datasource` forgets them. A guide: *Saving edits from the page*.
273
853
 
274
- ## [0.10.0] — 2026-10-02
854
+ ## [0.10.0] - 2026-10-02
275
855
 
276
856
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
277
857
  **Browsers:** Chromium (the whole e2e suite: 1116 passed; the 480 px filter test, a known flake, passed on its own rerun). WebKit and Firefox: **not run** for this release.
@@ -341,7 +921,7 @@ the tree in the grid and in the engine is most of it; `view_query`'s share is 5.
341
921
  `set_formats` built its formatters with `new Function`, which throws without `'unsafe-eval'`. They
342
922
  come from a static snippet now; no code is built at run time.
343
923
 
344
- ## [0.9.0] — 2026-10-01
924
+ ## [0.9.0] - 2026-10-01
345
925
 
346
926
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
347
927
  **Browsers:** Chromium (the whole e2e suite, 1053 passed) and WebKit (Playwright's, not Safari:
@@ -386,7 +966,7 @@ what a browser draws as a table in about a second.
386
966
  with a sentence. The toolbar offers "+ Column" until there are two; `columnFull` reads "Two
387
967
  column fields already". Conformance cases with two column dimensions run on every path.
388
968
 
389
- ## [0.8.1] — 2026-09-30
969
+ ## [0.8.1] - 2026-09-30
390
970
 
391
971
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
392
972
  **Browsers:** Chromium, the whole e2e suite. A fix to the types; nothing breaks.
@@ -398,7 +978,7 @@ what a browser draws as a table in about a second.
398
978
  `View | PivotView`. It is two overloads now: without a type argument the grid's `View`,
399
979
  with one (`get_view<PivotView>(pivot)`) the pivot's.
400
980
 
401
- ## [0.8.0] — 2026-09-30
981
+ ## [0.8.0] - 2026-09-30
402
982
 
403
983
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
404
984
  **Browsers:** Chromium (the whole e2e suite, 1047 passed) and WebKit (Playwright's, not Safari:
@@ -459,7 +1039,7 @@ the fields and filtering — each from the keyboard, each part of the view.
459
1039
  plus "Remove all". The types come from a pivot the provider already answers (the pivot has no
460
1040
  schema of its own). Three new text keys: `pivotFilters`, `pivotFilterLabel`, `pivotFilterHint`.
461
1041
 
462
- ## [0.7.2] — 2026-09-30
1042
+ ## [0.7.2] - 2026-09-30
463
1043
 
464
1044
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
465
1045
  **Browsers:** Chromium, the whole e2e suite. A fix to the toolbar's column list; nothing breaks.
@@ -473,7 +1053,7 @@ the fields and filtering — each from the keyboard, each part of the view.
473
1053
  back to the button), a click outside or the button. It no longer opens inline and pushes the
474
1054
  toolbar aside.
475
1055
 
476
- ## [0.7.1] — 2026-09-30
1056
+ ## [0.7.1] - 2026-09-30
477
1057
 
478
1058
  **Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
479
1059
  **Browsers:** Chromium, the whole e2e suite. A fix to the filter row of 0.7.0; nothing breaks.
@@ -484,7 +1064,7 @@ the fields and filtering — each from the keyboard, each part of the view.
484
1064
  wrote the placeholder `is` into every column it did not filter, so a text column showed
485
1065
  *is* instead of *contains*. It is back on its type's default now, as after a reset.
486
1066
 
487
- ## [0.7.0] — 2026-09-30
1067
+ ## [0.7.0] - 2026-09-30
488
1068
 
489
1069
  **Screen-reader pairings tested: none yet** — the VoiceOver pass is prepared and not yet run
490
1070
  ([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** Chromium and
@@ -509,7 +1089,7 @@ menu), the engine unchanged at 115.2 KiB.
509
1089
  **What breaks:** `filter-operator` is a `<button>` now, not a `<select>`; a page script that
510
1090
  set its `value` sets nothing. The new part `operator-menu` is the menu.
511
1091
 
512
- ## [0.6.0] — 2026-09-29
1092
+ ## [0.6.0] - 2026-09-29
513
1093
 
514
1094
  **Screen-reader pairings tested: none yet** — the VoiceOver pass is prepared and not yet run
515
1095
  ([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** Chromium, the whole
@@ -588,7 +1168,7 @@ Playwright's Firefox does not start on the release machine.
588
1168
  couldn't tell from an empty one. The waiting table now carries `aria-busy="true"`, and
589
1169
  the table with its answer doesn't.
590
1170
 
591
- ## [0.5.0] — 2026-09-28
1171
+ ## [0.5.0] - 2026-09-28
592
1172
 
593
1173
  **Screen-reader pairings tested: none yet** — unchanged since 0.1.0
594
1174
  ([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** Chromium, the whole
@@ -658,7 +1238,7 @@ engine 122.6 → 124.9 KiB (the resource report's measuring, #70).
658
1238
  columns' minimum widths — a column without a width of its own no longer shrinks to a few
659
1239
  pixels, the grid scrolls sideways instead.
660
1240
 
661
- ## [0.4.0] — 2026-09-28
1241
+ ## [0.4.0] - 2026-09-28
662
1242
 
663
1243
  **Screen-reader pairings tested: none yet** — unchanged since 0.1.0
664
1244
  ([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** as in 0.1.0.
@@ -755,7 +1335,7 @@ unchanged): the crate `opengrid-arrow-engine` is now `opengrid-engine`. `load_cs
755
1335
  fail, and `execute::QueryResult` carries a `table`. `opengrid-types` has no `arrow`
756
1336
  feature any more.
757
1337
 
758
- ## [0.3.0] — 2026-09-27
1338
+ ## [0.3.0] - 2026-09-27
759
1339
 
760
1340
  **Screen-reader pairings tested: none yet** — unchanged since 0.1.0
761
1341
  ([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** as in 0.1.0.
@@ -794,7 +1374,7 @@ feature any more.
794
1374
  changes. A page that styled `::part(status)` as a line above the rows finds it in the
795
1375
  footer now.
796
1376
 
797
- ## [0.2.0] — 2026-09-27
1377
+ ## [0.2.0] - 2026-09-27
798
1378
 
799
1379
  **Screen-reader pairings tested: none yet** — unchanged since 0.1.0
800
1380
  ([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** as in 0.1.0.
@@ -813,7 +1393,7 @@ Replace the import — `from "@casoon/opengrid-react"` becomes
813
1393
  `from "@casoon/opengrid/react"` — and drop the package from `dependencies`. The
814
1394
  components, their props and their events are unchanged.
815
1395
 
816
- ## [0.1.0] — 2026-09-26
1396
+ ## [0.1.0] - 2026-09-26
817
1397
 
818
1398
  The first release: `@casoon/opengrid`, `@casoon/opengrid-react`,
819
1399
  `@casoon/opengrid-vue`, `@casoon/opengrid-svelte` and the `opengrid-*` crates,
@@ -1049,3 +1629,25 @@ tested.
1049
1629
  in all three adapters; Vite's development server only checked by hand; not
1050
1630
  tested: React 18 rendering on the server, SvelteKit, Nuxt, Next.js and Astro
1051
1631
  as real applications. A Vite production build needs `loadOpengrid({ moduleUrl })`.
1632
+
1633
+ [Unreleased]: https://github.com/casoon/opengrid/compare/v0.16.0...HEAD
1634
+ [0.16.0]: https://github.com/casoon/opengrid/compare/v0.15.0...v0.16.0
1635
+ [0.15.0]: https://github.com/casoon/opengrid/compare/v0.14.0...v0.15.0
1636
+ [0.14.0]: https://github.com/casoon/opengrid/compare/v0.13.0...v0.14.0
1637
+ [0.13.0]: https://github.com/casoon/opengrid/compare/v0.12.0...v0.13.0
1638
+ [0.13.0-mcp]: https://github.com/casoon/opengrid/releases/tag/opengrid-mcp-v0.13.0
1639
+ [0.12.0]: https://github.com/casoon/opengrid/compare/v0.11.0...v0.12.0
1640
+ [0.11.0]: https://github.com/casoon/opengrid/compare/v0.10.0...v0.11.0
1641
+ [0.10.0]: https://github.com/casoon/opengrid/compare/v0.9.0...v0.10.0
1642
+ [0.9.0]: https://github.com/casoon/opengrid/compare/v0.8.1...v0.9.0
1643
+ [0.8.1]: https://github.com/casoon/opengrid/compare/v0.8.0...v0.8.1
1644
+ [0.8.0]: https://github.com/casoon/opengrid/compare/v0.7.2...v0.8.0
1645
+ [0.7.2]: https://github.com/casoon/opengrid/compare/v0.7.1...v0.7.2
1646
+ [0.7.1]: https://github.com/casoon/opengrid/compare/v0.7.0...v0.7.1
1647
+ [0.7.0]: https://github.com/casoon/opengrid/compare/v0.6.0...v0.7.0
1648
+ [0.6.0]: https://github.com/casoon/opengrid/compare/v0.5.0...v0.6.0
1649
+ [0.5.0]: https://github.com/casoon/opengrid/compare/v0.4.0...v0.5.0
1650
+ [0.4.0]: https://github.com/casoon/opengrid/compare/v0.3.0...v0.4.0
1651
+ [0.3.0]: https://github.com/casoon/opengrid/compare/v0.2.0...v0.3.0
1652
+ [0.2.0]: https://github.com/casoon/opengrid/compare/v0.1.0...v0.2.0
1653
+ [0.1.0]: https://github.com/casoon/opengrid/releases/tag/v0.1.0