@casoon/opengrid 0.13.0 → 0.15.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.
- package/CHANGELOG.md +491 -18
- package/README.md +17 -2
- package/engine/opengrid_wasm.d.ts +9 -0
- package/engine/opengrid_wasm.js +22 -0
- package/engine/opengrid_wasm_bg.wasm +0 -0
- package/engine/opengrid_wasm_bg.wasm.d.ts +1 -0
- package/loader.d.ts +215 -11
- package/loader.js +183 -43
- package/package.json +6 -6
- package/pkg/opengrid_web_components.d.ts +61 -26
- package/pkg/opengrid_web_components.js +250 -60
- package/pkg/opengrid_web_components_bg.wasm +0 -0
- package/pkg/opengrid_web_components_bg.wasm.d.ts +11 -8
- package/pkg/snippets/opengrid-web-components-ef3def04de0cb619/inline0.js +8 -0
- package/pkg/snippets/opengrid-web-components-ef3def04de0cb619/inline1.js +58 -0
- package/pkg/snippets/opengrid-web-core-78fdded9b8a374ed/inline2.js +89 -0
- package/react/index.d.ts +12 -0
- package/react/index.js +24 -4
- package/svelte/Opengrid.svelte +39 -10
- package/svelte/OpengridGrid.svelte +15 -0
- package/svelte/index.d.ts +45 -16
- package/vue/index.d.ts +37 -5
- package/vue/index.js +33 -7
- package/worker.js +11 -1
- package/pkg/snippets/opengrid-web-components-ad6dc2c80732d2d3/inline0.js +0 -17
- /package/pkg/snippets/{opengrid-web-core-19b41f3fd18cf51f → opengrid-web-core-78fdded9b8a374ed}/inline0.js +0 -0
- /package/pkg/snippets/{opengrid-web-core-19b41f3fd18cf51f → opengrid-web-core-78fdded9b8a374ed}/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,458 @@ Two things belong in every release entry and are easy to leave out:
|
|
|
18
19
|
|
|
19
20
|
## [Unreleased]
|
|
20
21
|
|
|
21
|
-
## [0.
|
|
22
|
+
## [0.15.0] - 2026-11-09
|
|
23
|
+
|
|
24
|
+
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
25
|
+
**Browsers:** Chromium (the whole e2e suite: 1405 passed). Firefox and WebKit on Linux
|
|
26
|
+
(`gh workflow run ci.yml -f browsers=true`): 1386 passed, 24 skipped by design — no failures, none
|
|
27
|
+
on a retry.
|
|
28
|
+
|
|
29
|
+
The first release with the Rust crates on crates.io: the engine, the connectors and
|
|
30
|
+
`opengrid-server`, fourteen crates at the npm package's version. The rest is hardening after a
|
|
31
|
+
review of the whole project: the server bounds its work before doing it, tells a caller nothing
|
|
32
|
+
about the database and refuses a wrong configuration at startup; PostgreSQL connects over TLS and
|
|
33
|
+
both SQL connectors end a statement nobody waits for; the grid keeps its focus, its selection and
|
|
34
|
+
its editor through new answers, scrolls a result of any length and does less work per frame.
|
|
35
|
+
|
|
36
|
+
**Module sizes** (brotli, `just measure-modules`): the elements 279.4 → 288.5 KiB, the engine
|
|
37
|
+
145.4 → 149.1 KiB, measured against v0.14.0 — both within their bounds
|
|
38
|
+
(`scripts/module-budget.txt`); the elements are 83 bytes under theirs.
|
|
39
|
+
|
|
40
|
+
**What breaks:**
|
|
41
|
+
- Rust: `DataSourceError` gained `Data`, `ErrorCode` gained `Data`, `QueryError` gained
|
|
42
|
+
`OffsetTooLarge` and `ListTooLong`, `SchemaError` one variant, so an exhaustive `match` must
|
|
43
|
+
handle them; `Limits` has the new field `max_list_values` and `AppState` a new field, so a struct
|
|
44
|
+
literal needs them; `Schema::check` refuses a column named `__og_…` or `__grouping_…`.
|
|
45
|
+
- Server: `ServerBuilder::build` fails for a token that does not fit a row filter, a token handed
|
|
46
|
+
in twice and an invalid `allow_origin`. A backend failure reaches the client as one sentence and a
|
|
47
|
+
reference, not as the database's text. A tree with a key twice or a cycle answers `data` / `422`
|
|
48
|
+
(it was `backend` / `502`). A `POST /query` without `limit` gets `max_limit`. A tree over five
|
|
49
|
+
million rows, an Excel export over a million rows and a list of more than 1 000 values are
|
|
50
|
+
refused unless the bound is raised. PostgreSQL's `connect` refuses `sslmode=require`; use
|
|
51
|
+
`connect_with_tls`.
|
|
52
|
+
- Elements: `set_texts(host, {})` no longer resets the texts (`null` does). The default wording of
|
|
53
|
+
`subtreeCell` and `subtreeOnly` and the name of a disabled add button changed. `page-size="0"`
|
|
54
|
+
means no paging. Results above 312 500 rows scroll through a scaled scroll bar.
|
|
55
|
+
- npm: `engines.node` is `>=22.12.0`; the peer ranges are `vue >=3.4.20` and
|
|
56
|
+
`@types/react >=18.3.0`.
|
|
57
|
+
- MCP: `opengrid_query` answers 500 rows at most per call, and a server source over `http://` is
|
|
58
|
+
refused unless it is on the machine itself.
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
|
|
62
|
+
- **PostgreSQL:** `PostgresDataSource::connect_with` and `PoolOptions` set the pool size and the wait,
|
|
63
|
+
create and recycle timeouts, so `max_concurrent_exports` can be sized against a known pool.
|
|
64
|
+
- **Rust crates on crates.io:** the portable crates, the connectors and `opengrid-server` (fourteen
|
|
65
|
+
in all) are published with every release at the npm package's version, through crates.io Trusted
|
|
66
|
+
Publishing; `opengrid-wasm` and the `opengrid-web-*` crates stay unpublished
|
|
67
|
+
([#241](https://github.com/casoon/opengrid/issues/241), [releasing](docs/releasing.md#rust-crates)).
|
|
68
|
+
- **PostgreSQL over TLS** ([#220](https://github.com/casoon/opengrid/issues/220)).
|
|
69
|
+
`PostgresDataSource::connect_with_tls` takes any `tokio-postgres` TLS connector and **requires**
|
|
70
|
+
TLS (`sslmode=prefer` would fall back to clear text, so it is lifted to `require`; `disable` is
|
|
71
|
+
refused). The cancel request of a dropped statement goes over the same connector. The cargo
|
|
72
|
+
feature `tls` (off by default) adds `rustls_connector`: `rustls` with the `ring` provider, the
|
|
73
|
+
Mozilla roots and optionally a private authority's. `connect` refuses a string with
|
|
74
|
+
`sslmode=require` at once. New dependencies, only with the feature: `rustls`,
|
|
75
|
+
`tokio-postgres-rustls`, `webpki-roots`, `rustls-pki-types`.
|
|
76
|
+
- **Editing through `connect` and the framework components** ([#206](https://github.com/casoon/opengrid/issues/206)).
|
|
77
|
+
New options `actions` and `validators` (functions compare by identity, as in `formats`) and the
|
|
78
|
+
callbacks `onRowAdd`, `onPaste`, `onBulkChange`, `onRowAction`, `onSourceReplaced`. `onRowAdd`
|
|
79
|
+
answers with the new row's state, or a promise of it — that is `set_row_state`. The connection
|
|
80
|
+
carries `setCellState` and `setValues`, and so does each component's ref (React: the element;
|
|
81
|
+
Vue: the template ref; Svelte: `bind:this`). React, Vue and Svelte take `rowKey` and `addRow`
|
|
82
|
+
as props; the Angular recipe has them as inputs, `[rowAdd]` and `exportAs: "opengrid"`.
|
|
83
|
+
See the framework guide's "Editing".
|
|
84
|
+
|
|
85
|
+
### Changed
|
|
86
|
+
|
|
87
|
+
- **Engine:** the hot paths no longer allocate per row. `in` looks each cell up in a set of the
|
|
88
|
+
literals instead of comparing the whole column once per literal (500 values over 1M rows: 2229 ms
|
|
89
|
+
to 19 ms), `min`/`max` reuse one buffer per group (1M rows by country: 154 ms to 102 ms), and a
|
|
90
|
+
tree keys its nodes on the typed value and builds the paths of the returned page only (100 000
|
|
91
|
+
nodes: roots 24 ms to 8 ms, flat tree 49 ms to 30 ms; native release build). The answers are the
|
|
92
|
+
same ([#214](https://github.com/casoon/opengrid/issues/214)).
|
|
93
|
+
- **Engine:** `load_csv` reads the file record by record into the column builders instead of
|
|
94
|
+
scanning every record first. The peak memory of loading the 1M-row demo file (85 MB) drops from
|
|
95
|
+
431 MiB to 159 MiB (native, release build, maximum resident set size); the result is the same
|
|
96
|
+
([#215](https://github.com/casoon/opengrid/issues/215)).
|
|
97
|
+
- **Packaging:** the Cargo feature `pivot` pulls `opengrid-grid` and `opengrid-query`, so
|
|
98
|
+
`set_columns` and `set_formats` exist in a pivot-only build of `opengrid-web-components` too
|
|
99
|
+
(they were gated on `grid`, and a pivot-only build had no way to title its columns or format its
|
|
100
|
+
values). The pivot-only module grows from 125803 to 127991 B brotli (343738 to 351574 B raw);
|
|
101
|
+
`grid+pivot`, the module the packages ship, is the same to the byte raw (876486 B)
|
|
102
|
+
([#234](https://github.com/casoon/opengrid/issues/234)).
|
|
103
|
+
- **Server:** `ServerBuilder::build` now fails at startup for what used to fail on every request or
|
|
104
|
+
silently: a token whose context does not fit a source's row filter (a `tenant_id bigint` filter
|
|
105
|
+
never worked, the context was always sent as text; it is now read as the column's type), a token
|
|
106
|
+
value handed in twice (the last context replaced the first's, so the first tenant got the second's
|
|
107
|
+
rows), and an `allow_origin` that is not a valid header value (it was dropped). **What breaks:** a
|
|
108
|
+
server that was configured with any of these now refuses to start
|
|
109
|
+
([#221](https://github.com/casoon/opengrid/issues/221)).
|
|
110
|
+
- **Server:** data that breaks a rule of the query, a tree with a key twice or a cycle, now answers
|
|
111
|
+
with the new error code `data` and status `422` instead of `backend` and `502`; the message is
|
|
112
|
+
still told in full. The code is added to the end of `ErrorCode` (`opengrid-datasource`), of the
|
|
113
|
+
frozen server codes and of the `ErrorCode` type in `loader.d.ts`. `createRestProvider`, `exportRows`
|
|
114
|
+
and the elements pass a code they do not know on unchanged and treat it as a failure like any
|
|
115
|
+
other. **What breaks:** a `switch` over `ErrorCode` in Rust must handle the new variant, and a client
|
|
116
|
+
that retried `backend` for a tree cycle now sees `data` and retrying does not help
|
|
117
|
+
([#219](https://github.com/casoon/opengrid/issues/219)).
|
|
118
|
+
- **Docs:** the project site uses the current shared theme (0.12.6) and ends with a link to the
|
|
119
|
+
quickstart.
|
|
120
|
+
- **Grid:** a further sort key says its place to a screen reader. `aria-sort` stays on the primary
|
|
121
|
+
key only (ARIA 1.2); the header of the second and later keys is described by "Sort key 2", "Sort key
|
|
122
|
+
3" … through `aria-describedby` and a hidden node. **Public API:** the new text key `sortKey`
|
|
123
|
+
(`Sort key {position}`, 1-based) for `set_texts`, documented in `docs/api.md`
|
|
124
|
+
([#229](https://github.com/casoon/opengrid/issues/229)).
|
|
125
|
+
- **Packaging:** a bundler's production build finds the WebAssembly modules and the worker by
|
|
126
|
+
itself ([#238](https://github.com/casoon/opengrid/issues/238)). `loader.js` and `worker.js`
|
|
127
|
+
import the packaged glue statically and the worker is started with the
|
|
128
|
+
`new Worker(new URL(...))` form, so `loadOpengrid()` and `createWorkerProvider()` work in a Vite
|
|
129
|
+
build without `moduleUrl` or `workerUrl`; the options still replace the defaults. Before, such a
|
|
130
|
+
build fell back to the plain table and could not start the engine's worker.
|
|
131
|
+
- **Grid:** scrolling, filtering and selecting everything cost less
|
|
132
|
+
([#235](https://github.com/casoon/opengrid/issues/235), measured with `just measure-grid` over
|
|
133
|
+
100 000 rows and 10 columns in Chromium). A frame now crosses into the DOM once instead of once
|
|
134
|
+
per patch, writes only what differs (a text, an attribute or a removal that is already as it
|
|
135
|
+
should be is left alone), and the operator choices and column markers are written per result
|
|
136
|
+
instead of per frame. A scroll step of three rows: 6 656 DOM writes become 64, the script time
|
|
137
|
+
9.6 ms becomes 2.7 ms and the main-thread time 14.2 ms becomes 4.2 ms. The handler of Ctrl+A
|
|
138
|
+
runs 3.6 ms instead of 11.7 ms, `<opengrid-table>` draws 5 000 rows 20 % faster, and extending a range
|
|
139
|
+
over a large selection no longer takes quadratic time. The DOM, the events and the texts are
|
|
140
|
+
the same.
|
|
141
|
+
- **API:** `opengrid-source-replaced` is frozen, typed in `OpengridEventMap` and in the events table
|
|
142
|
+
of the API reference, which says that `loader.js` dispatches it on the grid without bubbling
|
|
143
|
+
([#234](https://github.com/casoon/opengrid/issues/234)). A test now reads the module's
|
|
144
|
+
`#[wasm_bindgen]` exports from the source and holds them against the frozen functions and an
|
|
145
|
+
explicit internal list, so a new export cannot slip past the freeze. The docs and types no longer
|
|
146
|
+
count events or functions.
|
|
147
|
+
- **Grid:** `opengrid-selection-change` carries `ranges` beside `rows`: the selected rows as runs of
|
|
148
|
+
adjacent rows, `{ from, to }`, ascending, both ends inclusive, so a page can take "select all" over
|
|
149
|
+
100 000 rows as one range instead of walking the list. `rows` and `count` are unchanged; in a
|
|
150
|
+
tree `ranges` follow `rows`. **Public API:** the detail gains the field `ranges`
|
|
151
|
+
(`SelectionChangeDetail` in `loader.d.ts`, the events table in `docs/api.md`), additive
|
|
152
|
+
([#235](https://github.com/casoon/opengrid/issues/235)).
|
|
153
|
+
- **Packages:** the peer range of `vue` is `>=3.4.20` and that of `@types/react` is `>=18.3.0`
|
|
154
|
+
([#237](https://github.com/casoon/opengrid/issues/237)). The shipped Vue types import
|
|
155
|
+
`DefineSetupFnComponent`, which Vue only has from 3.4.20; a project on 3.3 or early 3.4 got a
|
|
156
|
+
type error from our own `.d.ts`. `just types` now also checks the packed adapters against the
|
|
157
|
+
lowest Vue, React and Svelte the ranges allow.
|
|
158
|
+
- **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`.
|
|
159
|
+
- **MCP:** `opengrid_query` answers a window of 500 rows at most, the server keeps 100 sessions
|
|
160
|
+
(the least recently used goes first), the `view` of the tools is a typed schema instead of any
|
|
161
|
+
object, and a server source over `http://` is refused unless it is on the machine itself
|
|
162
|
+
([#242](https://github.com/casoon/opengrid/issues/242)).
|
|
163
|
+
- **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.
|
|
164
|
+
|
|
165
|
+
### Fixed
|
|
166
|
+
|
|
167
|
+
- **Grid:** loading the source again leaves nothing of the old one behind
|
|
168
|
+
([#226](https://github.com/casoon/opengrid/issues/226)). The selection is cleared (and the
|
|
169
|
+
`opengrid-selection-change` event and the status line say so), a tree asks for its levels again
|
|
170
|
+
instead of keeping the old ones, and a facet lists the new source's values. A result with fewer
|
|
171
|
+
rows no longer leaves selected rows that are not there. The rows the reader added and the undo
|
|
172
|
+
history now survive what rebuilds the grid (moving or hiding a column, `tree`, applying a view),
|
|
173
|
+
following their columns by name; a changed `datasource` still starts clean. `<opengrid-table>` and
|
|
174
|
+
`<opengrid-pivot>` re-run their query when `loadRows` or `load` replaces their source, which only
|
|
175
|
+
the grid did.
|
|
176
|
+
- **Grid: a selected row is visible under forced colours** ([#230](https://github.com/casoon/opengrid/issues/230)).
|
|
177
|
+
The tint is `Canvas` there and browsers drop `box-shadow`, so a selected row looked like any
|
|
178
|
+
other unless the `selection` column was on. It now keeps a 4px `Highlight` border on its first
|
|
179
|
+
cell.
|
|
180
|
+
- **Server and connectors, hardening** ([#222](https://github.com/casoon/opengrid/issues/222)).
|
|
181
|
+
`max_payload_bytes` above axum's 2 MiB is honoured (the router carries the limit; an oversize body
|
|
182
|
+
is still the `limit_exceeded` wire error), every answer has `Cache-Control: no-store` and
|
|
183
|
+
`X-Content-Type-Options: nosniff`, and the `Bearer` scheme matches without regard to case. An
|
|
184
|
+
`offset` past `i64::MAX` is a validation error (`OffsetTooLarge`) instead of a negative one in the
|
|
185
|
+
database, and `Limits::max_list_values` (default 1 000) bounds an `in`, `has_all`, `and` or `or`
|
|
186
|
+
(`ListTooLong`). A decimal that does not fit SQLite's 64-bit integer is a backend error instead of
|
|
187
|
+
a wrapped number. `PostgresDataSource::connect_in_schema` takes a table in a PostgreSQL schema.
|
|
188
|
+
The example server warns when it falls back to a public demo token. **What breaks:** `Limits` has
|
|
189
|
+
a new public field (a struct literal without `..Limits::default()` no longer compiles),
|
|
190
|
+
`QueryError` has two new variants, `SchemaError` one, and `Schema::check` refuses a column named
|
|
191
|
+
`__og_…` or `__grouping_…`, which the connectors use for helper columns.
|
|
192
|
+
- **Grid and pivot a11y: a disabled add button answers to what it shows** ([#306](https://github.com/casoon/opengrid/issues/306)).
|
|
193
|
+
axe-core 4.14 reports `label-content-name-mismatch` (WCAG 2.5.3, Label in Name) on `+ Group`
|
|
194
|
+
(`part="add-grouping"`) when it is `aria-disabled`, and on the pivot's `+ Row`, `+ Column` and
|
|
195
|
+
`+ Measure` (`part="add-field"`): the `aria-label` was the reason alone ("Nothing left to add"),
|
|
196
|
+
so a speaker saying "click + Row" did not match the name. The accessible name is now the visible
|
|
197
|
+
text, then the reason: `+ Row. Nothing left to add`. The reasons are the texts `groupingFull`,
|
|
198
|
+
`treeGroupIgnored`, `columnFull` and `nothingToAdd`, unchanged and still translatable; no key is
|
|
199
|
+
new or gone, but the name is now `{addGrouping|addRow|addColumn|addMeasure}. {reason}`, so a page
|
|
200
|
+
or test that read the whole name as the bare reason sees the longer one.
|
|
201
|
+
- **Connectors:** a query the server gave up on (its timeout, a client that left) kept running in the
|
|
202
|
+
database. PostgreSQL now gets a cancel request for the connection when the request is dropped
|
|
203
|
+
halfway (`/query`, `/pivot`, a pushed-down tree) and the connection is closed instead of reused.
|
|
204
|
+
SQLite ran on the async thread, to the end, so the timeout could not fire and one slow query held
|
|
205
|
+
every other request; it now runs on a thread of its own and a dropped request interrupts the
|
|
206
|
+
statement. `opengrid_conformance::block_on` waits for a future that is woken from another
|
|
207
|
+
thread (up to two minutes) instead of panicking. `opengrid-datasource-postgres` depends on `tokio` (already in the build) to send the cancel
|
|
208
|
+
request, and SQLite queries of one connector still run one after the other
|
|
209
|
+
([#217](https://github.com/casoon/opengrid/issues/217)).
|
|
210
|
+
- **Grid a11y: a tree node's cell with a subtree summary names what it shows** ([#306](https://github.com/casoon/opengrid/issues/306)).
|
|
211
|
+
The cell shows `10 · Σ 15` but said "10. Sum of the subtree: 15", which axe-core 4.14 reports as
|
|
212
|
+
`label-content-name-mismatch` (WCAG 2.5.3, Label in Name). The texts `subtreeCell` and
|
|
213
|
+
`subtreeOnly` get a new placeholder `{shown}` for the cell's visible text, and the English
|
|
214
|
+
defaults use it: the name is now "10 · Σ 15, Sum of the subtree" (was
|
|
215
|
+
`{value}. {aggregate} of the subtree: {total}` and `{aggregate} of the subtree: {total}`; now both
|
|
216
|
+
`{shown}, {aggregate} of the subtree`). **The default wording changes**, so a test or a page that
|
|
217
|
+
matches the old sentence sees the new one, and the summary is now said once. For a summary that
|
|
218
|
+
is NULL, `{shown}` is the cell text plus the word for none ("10 · Σ (no value)"). The new
|
|
219
|
+
placeholder is additive: a text a page has set without `{shown}` stays valid and is used exactly
|
|
220
|
+
as written; its name then does not contain the visible text, which is the page's decision.
|
|
221
|
+
`{value}`, `{aggregate}` and `{total}` work as before.
|
|
222
|
+
- **Grid:** with a far row focused, the last row of the result is drawn again
|
|
223
|
+
([#309](https://github.com/casoon/opengrid/issues/309)). The focused row keeps its own slot while
|
|
224
|
+
the rows scroll; when that left the window one slot short, the window lost its last row, so a click
|
|
225
|
+
in row 3 followed by a scroll to the end showed no last row. The row dropped is now never the
|
|
226
|
+
first or last row of the result (and so the first row stays too, with a focus far below).
|
|
227
|
+
- **Server:** a backend failure reaches the browser as one fixed sentence and a reference
|
|
228
|
+
(`the data source failed (reference og-…)`), no longer as the database's text, which can name a
|
|
229
|
+
table, a hidden column or a tenant's value. New `ServerBuilder::on_error(hook)` receives the full
|
|
230
|
+
cause under the same reference, and every refused token with its reason (never the token); there
|
|
231
|
+
is no logging without it. `DataSourceError::Data` is new: a tree with a key twice or a cycle
|
|
232
|
+
(T1, T3) is told to the caller in full instead of hidden as an outage, and the local engine's
|
|
233
|
+
`TooLarge` is `LimitExceeded` now. **What breaks:** `DataSourceError` has a new variant (an
|
|
234
|
+
exhaustive `match` no longer compiles), `AppState` a new field, and a client that parsed the
|
|
235
|
+
database text out of a `backend` message no longer can. A tree error has the code `data`, see
|
|
236
|
+
*Changed* ([#219](https://github.com/casoon/opengrid/issues/219)).
|
|
237
|
+
- **Grid:** a grid that was removed from the page is collected after its popups were opened
|
|
238
|
+
([#227](https://github.com/casoon/opengrid/issues/227)). The listeners of the column list, the
|
|
239
|
+
filter dialog, the grouping menu and the operator menu held the grid, so one open of any of them
|
|
240
|
+
kept it, its shadow tree and its runtime for the life of the page. They now find the grid from the
|
|
241
|
+
event they receive.
|
|
242
|
+
- **Grid: the pager keeps the keyboard focus** ([#285](https://github.com/casoon/opengrid/issues/285)).
|
|
243
|
+
Pressing "Next" onto the last page (or "Previous" onto the first) disabled the button the focus
|
|
244
|
+
stood on and the browser dropped it to the document. It now moves to the nearest pager button that
|
|
245
|
+
still works.
|
|
246
|
+
- **Columns:** the binary wire reader no longer panics on forged counts and lengths: a row count of
|
|
247
|
+
`u64::MAX` overflowed `rows + 1` in a text or list column, and path lengths of a flat tree that wrap
|
|
248
|
+
around `u64` passed the sum check and then indexed out of range. Both are now a decode error, so a
|
|
249
|
+
hostile or broken server cannot trap the page ([#212](https://github.com/casoon/opengrid/issues/212)).
|
|
250
|
+
- **Server:** pivots, trees and Excel exports are bounded before the work is done, not after it.
|
|
251
|
+
A pivot's grouping sets carry a limit one past `max_cells` (PostgreSQL's single statement one past
|
|
252
|
+
the sets' sum), so a pivot over a high-cardinality dimension no longer reads every group; the
|
|
253
|
+
overflow is `limit_exceeded` (it was a hidden `backend` error in the default pivot path). A tree the
|
|
254
|
+
engine builds has its scope counted against the new `ServerBuilder::max_tree_rows` (default
|
|
255
|
+
5 000 000) before its rows are read, for a level and for an export. The new
|
|
256
|
+
`ServerBuilder::max_xlsx_rows` (default 1 000 000) bounds an Excel export below the sheet's 1 048 576
|
|
257
|
+
rows, since the whole workbook is built in memory: a million rows of ten columns take about
|
|
258
|
+
65 MiB while it is made, and about 25 s, which is past the default timeout of 10 s, so raise
|
|
259
|
+
`timeout` for such exports. **What breaks:** a tree over five million rows, and an Excel export
|
|
260
|
+
over a million rows, are refused unless the bound is raised
|
|
261
|
+
([#218](https://github.com/casoon/opengrid/issues/218)).
|
|
262
|
+
- **Grid: a result of any length can be scrolled to its last row** ([#284](https://github.com/casoon/opengrid/issues/284)).
|
|
263
|
+
The sizer is `rows * row-height` and a browser caps the height of an element (Firefox at about
|
|
264
|
+
17.9 million pixels, Chromium and WebKit at 33.5 million), so past about a million rows the end
|
|
265
|
+
was out of reach. The sizer now stops at 10 million pixels (312 500 rows at 32 px) and above that
|
|
266
|
+
the scroll position is mapped onto the rows: dragging the scroll bar lands proportionally in the
|
|
267
|
+
result (its ends are the first and the last row, to the pixel), while the wheel, touch, the
|
|
268
|
+
arrow and page keys still move a few rows at a time. Ctrl+End and every other far jump of the
|
|
269
|
+
focus place the scroll position first. A result that fits the sizer is drawn exactly as before.
|
|
270
|
+
**What changes:** results between 312 500 rows and the old limit are now scaled too, so the thumb
|
|
271
|
+
of the scroll bar is not exactly proportional while the wheel is used in the middle of such a
|
|
272
|
+
result; a drag of it moves by many rows per pixel.
|
|
273
|
+
- **Grid: `--og-row-height` is followed at runtime and a fractional value counts** ([#283](https://github.com/casoon/opengrid/issues/283)).
|
|
274
|
+
A change while the grid stays in the page (a theme switch, a class on a parent) used to leave the
|
|
275
|
+
window math on the old height, so rows overlapped; the grid now notices it through the size of its
|
|
276
|
+
rows. A value like `40.5px` fell back to the default silently; it is now rounded up to 41 px.
|
|
277
|
+
- **Query:** an integer literal on a `decimal` column (`{"field": "amount", "op": "gt", "value": 10}`) was
|
|
278
|
+
refused as `ValueTypeMismatch`, although rule S8 allows comparing an integer with a decimal. It is
|
|
279
|
+
now read at the column's scale (an overflow of the precision is still a validation error); a float
|
|
280
|
+
literal on a decimal column stays an error ([#210](https://github.com/casoon/opengrid/issues/210)).
|
|
281
|
+
- **Grid:** a filter control that has the focus stays in sight when the filter row is laid out again
|
|
282
|
+
(a window resized, a column shown). The widths and the indent changed under the control and the
|
|
283
|
+
row's own scroll position did not follow, so the control could end up beside the edge and stay
|
|
284
|
+
there (WCAG 2.4.11). Found by a spec that passed only on its retry
|
|
285
|
+
(`at 480px every filter control is in sight`, about 1 run in 20).
|
|
286
|
+
- **Pivot and grid: live region, language, names and descriptions** ([#231](https://github.com/casoon/opengrid/issues/231)).
|
|
287
|
+
`<opengrid-pivot>` keeps its status line across answers and changes only its text, where it built
|
|
288
|
+
a fresh `role="status"` with the text already inside on every answer (WCAG 4.1.3); the toolbar and
|
|
289
|
+
the table are drawn around it. The grand total carries our `lang`, and the filter field is named
|
|
290
|
+
by a hidden node with our `lang` instead of `aria-label`. A validation sentence and a tree's
|
|
291
|
+
"context" are hidden nodes the cell is described by (`aria-describedby`) instead of
|
|
292
|
+
`aria-description` (ARIA 1.3 draft); a finding no longer overwrites the context on a tree's first
|
|
293
|
+
cell. The *Add filter* dialog is `aria-modal="true"`, and what it says about a refused value goes
|
|
294
|
+
through the status line instead of a second `role="alert"`.
|
|
295
|
+
- **Planner:** a tree the client builds (the source has no trees, or leaves the sort or the paging
|
|
296
|
+
to the client) lost the query's sort when it was not paged, and a tree the source answered but
|
|
297
|
+
could not sort or page came back as plain rows without `children`, `match` and `orphans`. The
|
|
298
|
+
client now builds the whole level in those cases and asks the source for the columns of the tree's
|
|
299
|
+
scope and sums too, which it did not, so a scoped or summing tree failed with an unknown column.
|
|
300
|
+
The hybrid conformance run now covers the tree and list cases
|
|
301
|
+
([#211](https://github.com/casoon/opengrid/issues/211)).
|
|
302
|
+
- **Grid: the ARIA of grouping, selection and sorting** ([#229](https://github.com/casoon/opengrid/issues/229)).
|
|
303
|
+
Group rows and grouped data rows carry `aria-posinset` / `aria-setsize` (the total row none), the
|
|
304
|
+
`<table>` carries `aria-multiselectable="true"` while selection is on, rows carry no
|
|
305
|
+
`aria-selected` while grouped (selection is off there), and only the primary sort key sets
|
|
306
|
+
`aria-sort`: further keys show their order and direction in the header's marks, which stay
|
|
307
|
+
`aria-hidden` — the text key `sortKey` says them, see *Changed*.
|
|
308
|
+
- **Engine:** a decimal `sum` of 39 digits was returned as a `decimal(38, s)` that neither wire form
|
|
309
|
+
could read back; it is now an overflow error, like an `int64` sum past its limit. A decimal pushed
|
|
310
|
+
into a column of another scale was stored with a different meaning (100 at scale 0 became `1.00`);
|
|
311
|
+
it is now refused ([#213](https://github.com/casoon/opengrid/issues/213)).
|
|
312
|
+
- **Grid:** after a filter, facet or search the row the focus stood on kept showing the old record,
|
|
313
|
+
or stayed on as an empty row past the end; a new answer now clears the pinned row and keeps the
|
|
314
|
+
active cell inside the result. A focus request that a newer query superseded is carried by the
|
|
315
|
+
answer that lands, and an answer no longer pulls the focus back from a filter field or a toolbar
|
|
316
|
+
button the reader moved to. The grouped grand total is asked again when a newer query cut the
|
|
317
|
+
first one short ([#223](https://github.com/casoon/opengrid/issues/223)).
|
|
318
|
+
- **Grid:** attributes mean their value, not their presence
|
|
319
|
+
([#233](https://github.com/casoon/opengrid/issues/233)). `page-size="0"` (or a word) is no paging
|
|
320
|
+
and no longer refuses `group-by`, `tree`, `add-row` or the grouping in the column menu; a
|
|
321
|
+
`row-key` that names no field no longer offers bulk editing or puts `key: null` into events.
|
|
322
|
+
`set_texts` now does what the API reference says: it adds to the texts an earlier call set
|
|
323
|
+
instead of starting from the defaults again (**behaviour change:** `set_texts(host, {})` no longer
|
|
324
|
+
resets the texts; `set_texts(host, null)` does, and `connect` uses it so that its `texts` option
|
|
325
|
+
still means all of them). The pivot mirrors a changed `label` instead of asking its provider again, as
|
|
326
|
+
the grid and the table do.
|
|
327
|
+
- **Grid:** with a `row-key`, undo and redo of a record that was not among the loaded rows (a filter
|
|
328
|
+
or a scroll had moved it out) wrote the old value into whichever record sat in its former position.
|
|
329
|
+
The grid is not written to then; the event reaches the page with the record's `key`. A value the
|
|
330
|
+
page sets with `set_values` now ends the undo and redo steps it overrides
|
|
331
|
+
([#225](https://github.com/casoon/opengrid/issues/225)).
|
|
332
|
+
- **Formats follow the page's `lang`** ([#232](https://github.com/casoon/opengrid/issues/232)).
|
|
333
|
+
An `Intl` format without a `locale` read the browser's locale, so a `lang="de"` page in an English
|
|
334
|
+
browser showed `1,234.5` while the screen reader spoke German. The locale is now the explicit
|
|
335
|
+
`locale`, then the nearest `lang` of the page (through shadow roots), then the browser's — and a
|
|
336
|
+
change of `lang` on the page re-resolves the formats and redraws the grid, table and pivot.
|
|
337
|
+
- **Grid:** scrolling while a cell was being edited closed the editor in the grid's state but left
|
|
338
|
+
the `<input>` on screen, where `Enter` and `Escape` no longer reached it and the typed value was
|
|
339
|
+
lost. A scroll now leaves the editor open ([#224](https://github.com/casoon/opengrid/issues/224)).
|
|
340
|
+
- **Grid:** pasting no longer writes into a column the page fills (`readonly`)
|
|
341
|
+
([#228](https://github.com/casoon/opengrid/issues/228)). The preview shows those cells with the
|
|
342
|
+
reason and leaves them out, the live region names the column, and a block of nothing else closes
|
|
343
|
+
without an `opengrid-paste`. A preview is discarded when a new result for the whole query lands
|
|
344
|
+
(another sort or filter, a replaced source, a rebuild), and an answer that arrives after one does
|
|
345
|
+
not open one; before, `Enter` applied the block to rows that were no longer there. The preview's
|
|
346
|
+
query is no longer counted in the footer.
|
|
347
|
+
- **Engine:** a date or timestamp text with a multi-byte character (a filter literal, a CSV cell, a
|
|
348
|
+
wire value) panicked the parser — a wasm trap in the browser, a 500 on the server; it is now a
|
|
349
|
+
validation error ([#209](https://github.com/casoon/opengrid/issues/209)).
|
|
350
|
+
- **Server:** a `POST /query` that named no `limit` read the whole filtered table into memory;
|
|
351
|
+
it now gets `max_limit`, as `docs/protocol.md` always said ([#216](https://github.com/casoon/opengrid/issues/216)).
|
|
352
|
+
An export is unchanged and still reads up to its row bound.
|
|
353
|
+
- **Docs:** rustdoc builds without warnings again: broken and private intra-doc links in the
|
|
354
|
+
crate docs now point at public paths or are plain code spans.
|
|
355
|
+
|
|
356
|
+
## [0.14.0] - 2026-10-26
|
|
357
|
+
|
|
358
|
+
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
359
|
+
**Browsers:** Chromium (the whole e2e suite: 1231 passed). Firefox and WebKit on Linux
|
|
360
|
+
(`gh workflow run ci.yml -f browsers=true`): 1216 passed, 19 skipped by design, one WebKit test of
|
|
361
|
+
the narrow filter row passed on its retry. The first run found the new paste tests failing in
|
|
362
|
+
Firefox — the test's synthetic `ClipboardEvent`, whose `clipboardData` Firefox does not take, not
|
|
363
|
+
the grid.
|
|
364
|
+
|
|
365
|
+
The grid edits like a working tool: new rows from the keyboard, a pasted block with a preview,
|
|
366
|
+
lists in a cell, undo, one value for many rows, validation while typing, row actions and editing
|
|
367
|
+
while grouped — and the page can hand it rows it already holds. Releases now come from a tag
|
|
368
|
+
workflow with npm Trusted Publishing.
|
|
369
|
+
|
|
370
|
+
**Module sizes** (brotli, `just measure-modules`): the elements 249.7 → 279.4 KiB, the engine
|
|
371
|
+
139.9 → 145.4 KiB, measured against v0.13.0 — within their bounds, which the feature PRs raised as they grew them
|
|
372
|
+
(`scripts/module-budget.txt`).
|
|
373
|
+
|
|
374
|
+
**What breaks:**
|
|
375
|
+
- Rust: public enums gained variants for lists, so an exhaustive `match` must handle them —
|
|
376
|
+
`Value::List`, `DataType::ListUtf8` and `ListInt64`, `FilterExpr` and `ValidatedFilter`
|
|
377
|
+
`Has`, `HasAll` and `IsEmpty`, `CmpOp::Has` and `HasAll`, `QueryError::ListNotOrdered`,
|
|
378
|
+
`ValueError::NullInList`, and the grid's `FilterOp::IsEmpty`.
|
|
379
|
+
- Wire format: unchanged for existing columns; a reader older than 0.14.0 refuses a result that
|
|
380
|
+
carries a list column ("unknown type code").
|
|
381
|
+
|
|
382
|
+
### Added
|
|
383
|
+
|
|
384
|
+
- **List values in a cell, with a type-ahead editor** ([#185](https://github.com/casoon/opengrid/issues/185)).
|
|
385
|
+
Schema types `list<utf8>` and `list<int64>`: shown as chips, edited in an ARIA combobox over
|
|
386
|
+
`set_choices` (which may now give `{ value, label }` pairs), several picks, `Backspace` takes
|
|
387
|
+
the last back, `Enter` commits, a text that is no choice is refused with the reason. Filter
|
|
388
|
+
operators **contains**, **contains all** and **is empty** (`has`, `has_all`, `is_empty` on the wire).
|
|
389
|
+
A plain column with choices gets the same combobox instead of a `<select>`. Engine, wire format
|
|
390
|
+
(type codes 8 and 9, additive), CSV (a JSON array in the cell), SQLite (JSON text, `json_each`)
|
|
391
|
+
and PostgreSQL (arrays) agree on 20 conformance cases. **A list has no order:** sorting,
|
|
392
|
+
grouping or `min`/`max` on a list column is refused (`ListNotOrdered`).
|
|
393
|
+
**What breaks:** a page that read `Value` or `DataType` exhaustively in Rust must handle the new
|
|
394
|
+
variants; the wire format is unchanged for existing columns; a reader older than this version
|
|
395
|
+
refuses a result that carries a list column ("unknown type code").
|
|
396
|
+
- **Undo and redo of edits** ([#186](https://github.com/casoon/opengrid/issues/186)).
|
|
397
|
+
`Ctrl`/`Cmd`+`Z` and `Shift`+`Ctrl`/`Cmd`+`Z` (or `Ctrl`+`Y`) walk the grid's own history of
|
|
398
|
+
cell edits, added rows and pastes (a paste is one step). Each step fires the original event
|
|
399
|
+
with `undo: true` (`redo: true` forward), so the page saves it like any edit; the status line
|
|
400
|
+
says what was undone. The history ends when the source is replaced.
|
|
401
|
+
- **Validation while typing, without blocking** ([#188](https://github.com/casoon/opengrid/issues/188)).
|
|
402
|
+
`set_validators(host, { column: (value, row) => null | { level, message } })` runs on every
|
|
403
|
+
keystroke in the editor and on commit; the message shows under the editor, stays on the cell
|
|
404
|
+
(`data-validation`) and is said once in the status line. An error does not block the commit
|
|
405
|
+
unless the column is `{ validate, block: true }`; type errors from the schema always block.
|
|
406
|
+
`set_cell_state(..., "invalid", message)` reports a finding the page computes elsewhere.
|
|
407
|
+
- **One value for every selected row** ([#187](https://github.com/casoon/opengrid/issues/187)).
|
|
408
|
+
With rows selected, `F2` or the column menu's "Set for selected rows" opens the column's editor
|
|
409
|
+
once; committing fires one `opengrid-bulk-change` `{ keys, column, value }` and marks the cells
|
|
410
|
+
unsaved. Needs `row-key`; a read-only column refuses it.
|
|
411
|
+
- **Pasting a block from a spreadsheet, with a preview** ([#184](https://github.com/casoon/opengrid/issues/184)).
|
|
412
|
+
`Ctrl`/`Cmd`+`V` on a cell anchors the clipboard's tab-separated (or CSV) text there and
|
|
413
|
+
shows what would happen first — each value read against its column in the grid's number
|
|
414
|
+
notation, unreadable ones marked with the reason, a sentence in the live region. `Enter`
|
|
415
|
+
applies, `Escape` discards; applying fires one `opengrid-paste` with every change and the
|
|
416
|
+
rows past the end (added rows with `add-row`, otherwise cut off). Formula-looking text is
|
|
417
|
+
never evaluated.
|
|
418
|
+
- **Adding a record from the keyboard** ([#183](https://github.com/casoon/opengrid/issues/183)).
|
|
419
|
+
`add-row` shows an empty new row after the last one; `Enter` goes on through the columns,
|
|
420
|
+
`Enter` in the last one (or `Ctrl`/`Cmd`+`Enter`) fires `opengrid-row-add`
|
|
421
|
+
`{ values, provisionalKey }` and shows the row at once, unsaved, with a fresh new row focused
|
|
422
|
+
under it. `set_row_state(host, provisionalKey, "saved" | "error" | "saving", detail)` answers.
|
|
423
|
+
Required fields (not nullable) are marked, and adding without one is refused with the cell
|
|
424
|
+
named. Off while grouped, in a tree and with `page-size`.
|
|
425
|
+
- **Row actions** ([#189](https://github.com/casoon/opengrid/issues/189)).
|
|
426
|
+
`set_actions(host, [{ id, label }])` adds a trailing column per action with a button on
|
|
427
|
+
every row, reachable as cells of the grid; activating one fires `opengrid-row-action`
|
|
428
|
+
`{ id, row, key }`. The labels are the accessible names; group headers and the total have
|
|
429
|
+
no button.
|
|
430
|
+
- **Editing while grouped** ([#190](https://github.com/casoon/opengrid/issues/190)). With a
|
|
431
|
+
`row-key`, the data rows of a grouped grid edit; the change names the record by its key.
|
|
432
|
+
Group headers and the total stay read-only, selection stays off, and a replaced source
|
|
433
|
+
refreshes the group aggregates.
|
|
434
|
+
- **Rows the page already holds** ([#182](https://github.com/casoon/opengrid/issues/182)).
|
|
435
|
+
`loadRows(name, rows, schema)` on the local and the worker provider (`load_rows` on the
|
|
436
|
+
engine) takes an array of objects keyed by field name; the schema stays required and the
|
|
437
|
+
result is the same as the same data through CSV. Loading under a name that is already loaded
|
|
438
|
+
replaces the source all at once; a grid on it re-runs its query and keeps its sort, filter
|
|
439
|
+
and focus (by `row-key`). A value that does not fit is refused with the row and field named,
|
|
440
|
+
and the old rows stay. Providers gain `loadRows` and `watch` (`docs/guides/data-you-have.md`).
|
|
441
|
+
- **A tree's level in SQL, on request** ([#132](https://github.com/casoon/opengrid/issues/132)).
|
|
442
|
+
`SqliteConnector::with_tree_pushdown(true)` and `PostgresDataSource::with_tree_pushdown(true)`
|
|
443
|
+
answer a level and its subtree aggregates (T1–T7) with `WITH RECURSIVE` and report the
|
|
444
|
+
capability `tree`; the flat tree stays the engine's. **Off by default**: measured on 100 000
|
|
445
|
+
nodes it is slower than the engine's way where the database is close (SQLite about 75 ms
|
|
446
|
+
against 900 ms, a local PostgreSQL about 170 ms against 365–540 ms) — worth it only for a
|
|
447
|
+
large tree over a slow link (`docs/guides/connectors.md`). Every tree case passes against
|
|
448
|
+
both databases either way, and a differential test compares the pushdown with the engine on
|
|
449
|
+
a generated tree of 100 000 nodes.
|
|
450
|
+
|
|
451
|
+
### Changed
|
|
452
|
+
|
|
453
|
+
- **Project page** ([#197](https://github.com/casoon/opengrid/issues/197)). The start page
|
|
454
|
+
title is short enough for two lines; the three components it named moved into the lead. The
|
|
455
|
+
hero shows a tighter capture of the grid from the live demo, with a narrower one on phones.
|
|
456
|
+
- **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.
|
|
457
|
+
|
|
458
|
+
## [0.13.0-mcp] - 2026-10-14
|
|
459
|
+
|
|
460
|
+
**Not yet tried in a host.** No chat client has rendered the view yet — Claude Desktop
|
|
461
|
+
included; the e2e suite runs it in a test host of its own, and the release installs the
|
|
462
|
+
packed tarball and asks it over stdio. **Screen-reader pairings tested: none.**
|
|
463
|
+
|
|
464
|
+
The first release of the MCP server ([#140](https://github.com/casoon/opengrid/issues/140)):
|
|
465
|
+
opengrid's grid as an MCP App, on `@casoon/opengrid` 0.13.0. The model and the reader work
|
|
466
|
+
on one view; the rows stay with the server. Sources are a CSV with schema or a source of an
|
|
467
|
+
`opengrid-server` (URL and token); six tools (`opengrid_open`, `opengrid_set_view`,
|
|
468
|
+
`opengrid_describe`, `opengrid_selection`, and for the grid only `opengrid_query`,
|
|
469
|
+
`opengrid_sync`). The view ships the elements translated with wasm2js, because the hosts'
|
|
470
|
+
CSP allows no WebAssembly. Published alone, under the tag `opengrid-mcp-v0.13.0`; from the
|
|
471
|
+
next release on it comes out with `@casoon/opengrid`, with the same version.
|
|
472
|
+
|
|
473
|
+
## [0.13.0] - 2026-10-10
|
|
22
474
|
|
|
23
475
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
24
476
|
**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.
|
|
@@ -77,7 +529,7 @@ level and path. Beside it, two Firefox fixes the new browser run found.
|
|
|
77
529
|
stop of its own before the first button. It is out of the tab order now; every button is still
|
|
78
530
|
reached by `Tab` and scrolls into view.
|
|
79
531
|
|
|
80
|
-
## [0.12.0]
|
|
532
|
+
## [0.12.0] - 2026-10-09
|
|
81
533
|
|
|
82
534
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
83
535
|
**Browsers:** Chromium (the whole e2e suite: 1138 passed; a GC test of the Angular example passed on
|
|
@@ -119,7 +571,7 @@ bound; the engine is unchanged.
|
|
|
119
571
|
`script-src 'self' 'wasm-unsafe-eval'; style-src 'self'` with editing, choices, read-only
|
|
120
572
|
columns, widths and scrolling.
|
|
121
573
|
|
|
122
|
-
## [0.11.0]
|
|
574
|
+
## [0.11.0] - 2026-10-08
|
|
123
575
|
|
|
124
576
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
125
577
|
**Browsers:** Chromium (the whole e2e suite: 1127 passed), WebKit (`just e2e-browsers` on macOS:
|
|
@@ -154,7 +606,7 @@ which this release raises (`scripts/module-budget.txt`); the engine is unchanged
|
|
|
154
606
|
- States and values name records, so they outlive sorting, filtering and reloading; another
|
|
155
607
|
`row-key` or `datasource` forgets them. A guide: *Saving edits from the page*.
|
|
156
608
|
|
|
157
|
-
## [0.10.0]
|
|
609
|
+
## [0.10.0] - 2026-10-02
|
|
158
610
|
|
|
159
611
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
160
612
|
**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.
|
|
@@ -224,7 +676,7 @@ the tree in the grid and in the engine is most of it; `view_query`'s share is 5.
|
|
|
224
676
|
`set_formats` built its formatters with `new Function`, which throws without `'unsafe-eval'`. They
|
|
225
677
|
come from a static snippet now; no code is built at run time.
|
|
226
678
|
|
|
227
|
-
## [0.9.0]
|
|
679
|
+
## [0.9.0] - 2026-10-01
|
|
228
680
|
|
|
229
681
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
230
682
|
**Browsers:** Chromium (the whole e2e suite, 1053 passed) and WebKit (Playwright's, not Safari:
|
|
@@ -269,7 +721,7 @@ what a browser draws as a table in about a second.
|
|
|
269
721
|
with a sentence. The toolbar offers "+ Column" until there are two; `columnFull` reads "Two
|
|
270
722
|
column fields already". Conformance cases with two column dimensions run on every path.
|
|
271
723
|
|
|
272
|
-
## [0.8.1]
|
|
724
|
+
## [0.8.1] - 2026-09-30
|
|
273
725
|
|
|
274
726
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
275
727
|
**Browsers:** Chromium, the whole e2e suite. A fix to the types; nothing breaks.
|
|
@@ -281,7 +733,7 @@ what a browser draws as a table in about a second.
|
|
|
281
733
|
`View | PivotView`. It is two overloads now: without a type argument the grid's `View`,
|
|
282
734
|
with one (`get_view<PivotView>(pivot)`) the pivot's.
|
|
283
735
|
|
|
284
|
-
## [0.8.0]
|
|
736
|
+
## [0.8.0] - 2026-09-30
|
|
285
737
|
|
|
286
738
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
287
739
|
**Browsers:** Chromium (the whole e2e suite, 1047 passed) and WebKit (Playwright's, not Safari:
|
|
@@ -342,7 +794,7 @@ the fields and filtering — each from the keyboard, each part of the view.
|
|
|
342
794
|
plus "Remove all". The types come from a pivot the provider already answers (the pivot has no
|
|
343
795
|
schema of its own). Three new text keys: `pivotFilters`, `pivotFilterLabel`, `pivotFilterHint`.
|
|
344
796
|
|
|
345
|
-
## [0.7.2]
|
|
797
|
+
## [0.7.2] - 2026-09-30
|
|
346
798
|
|
|
347
799
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
348
800
|
**Browsers:** Chromium, the whole e2e suite. A fix to the toolbar's column list; nothing breaks.
|
|
@@ -356,7 +808,7 @@ the fields and filtering — each from the keyboard, each part of the view.
|
|
|
356
808
|
back to the button), a click outside or the button. It no longer opens inline and pushes the
|
|
357
809
|
toolbar aside.
|
|
358
810
|
|
|
359
|
-
## [0.7.1]
|
|
811
|
+
## [0.7.1] - 2026-09-30
|
|
360
812
|
|
|
361
813
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
362
814
|
**Browsers:** Chromium, the whole e2e suite. A fix to the filter row of 0.7.0; nothing breaks.
|
|
@@ -367,7 +819,7 @@ the fields and filtering — each from the keyboard, each part of the view.
|
|
|
367
819
|
wrote the placeholder `is` into every column it did not filter, so a text column showed
|
|
368
820
|
*is* instead of *contains*. It is back on its type's default now, as after a reset.
|
|
369
821
|
|
|
370
|
-
## [0.7.0]
|
|
822
|
+
## [0.7.0] - 2026-09-30
|
|
371
823
|
|
|
372
824
|
**Screen-reader pairings tested: none yet** — the VoiceOver pass is prepared and not yet run
|
|
373
825
|
([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** Chromium and
|
|
@@ -392,7 +844,7 @@ menu), the engine unchanged at 115.2 KiB.
|
|
|
392
844
|
**What breaks:** `filter-operator` is a `<button>` now, not a `<select>`; a page script that
|
|
393
845
|
set its `value` sets nothing. The new part `operator-menu` is the menu.
|
|
394
846
|
|
|
395
|
-
## [0.6.0]
|
|
847
|
+
## [0.6.0] - 2026-09-29
|
|
396
848
|
|
|
397
849
|
**Screen-reader pairings tested: none yet** — the VoiceOver pass is prepared and not yet run
|
|
398
850
|
([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** Chromium, the whole
|
|
@@ -471,7 +923,7 @@ Playwright's Firefox does not start on the release machine.
|
|
|
471
923
|
couldn't tell from an empty one. The waiting table now carries `aria-busy="true"`, and
|
|
472
924
|
the table with its answer doesn't.
|
|
473
925
|
|
|
474
|
-
## [0.5.0]
|
|
926
|
+
## [0.5.0] - 2026-09-28
|
|
475
927
|
|
|
476
928
|
**Screen-reader pairings tested: none yet** — unchanged since 0.1.0
|
|
477
929
|
([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** Chromium, the whole
|
|
@@ -541,7 +993,7 @@ engine 122.6 → 124.9 KiB (the resource report's measuring, #70).
|
|
|
541
993
|
columns' minimum widths — a column without a width of its own no longer shrinks to a few
|
|
542
994
|
pixels, the grid scrolls sideways instead.
|
|
543
995
|
|
|
544
|
-
## [0.4.0]
|
|
996
|
+
## [0.4.0] - 2026-09-28
|
|
545
997
|
|
|
546
998
|
**Screen-reader pairings tested: none yet** — unchanged since 0.1.0
|
|
547
999
|
([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** as in 0.1.0.
|
|
@@ -638,7 +1090,7 @@ unchanged): the crate `opengrid-arrow-engine` is now `opengrid-engine`. `load_cs
|
|
|
638
1090
|
fail, and `execute::QueryResult` carries a `table`. `opengrid-types` has no `arrow`
|
|
639
1091
|
feature any more.
|
|
640
1092
|
|
|
641
|
-
## [0.3.0]
|
|
1093
|
+
## [0.3.0] - 2026-09-27
|
|
642
1094
|
|
|
643
1095
|
**Screen-reader pairings tested: none yet** — unchanged since 0.1.0
|
|
644
1096
|
([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** as in 0.1.0.
|
|
@@ -677,7 +1129,7 @@ feature any more.
|
|
|
677
1129
|
changes. A page that styled `::part(status)` as a line above the rows finds it in the
|
|
678
1130
|
footer now.
|
|
679
1131
|
|
|
680
|
-
## [0.2.0]
|
|
1132
|
+
## [0.2.0] - 2026-09-27
|
|
681
1133
|
|
|
682
1134
|
**Screen-reader pairings tested: none yet** — unchanged since 0.1.0
|
|
683
1135
|
([issue #5](https://github.com/casoon/opengrid/issues/5)). **Browsers:** as in 0.1.0.
|
|
@@ -696,7 +1148,7 @@ Replace the import — `from "@casoon/opengrid-react"` becomes
|
|
|
696
1148
|
`from "@casoon/opengrid/react"` — and drop the package from `dependencies`. The
|
|
697
1149
|
components, their props and their events are unchanged.
|
|
698
1150
|
|
|
699
|
-
## [0.1.0]
|
|
1151
|
+
## [0.1.0] - 2026-09-26
|
|
700
1152
|
|
|
701
1153
|
The first release: `@casoon/opengrid`, `@casoon/opengrid-react`,
|
|
702
1154
|
`@casoon/opengrid-vue`, `@casoon/opengrid-svelte` and the `opengrid-*` crates,
|
|
@@ -815,7 +1267,7 @@ tested.
|
|
|
815
1267
|
connection off rather than ending a short file. `Content-Disposition` names
|
|
816
1268
|
the file after the source, `X-Total-Count` carries the row count. A million
|
|
817
1269
|
rows from PostgreSQL keep the server under 40 MiB (measured in
|
|
818
|
-
[docs/guides/where-queries-run.
|
|
1270
|
+
[docs/guides/where-queries-run.mdx](docs/guides/where-queries-run.mdx)).
|
|
819
1271
|
`createRestProvider(...).export(query, options)` fetches it as a `Blob`, and
|
|
820
1272
|
`exportRows` uses a provider's `export` when there is one — one request
|
|
821
1273
|
instead of pieces, the same file. No request of the REST or pivot provider
|
|
@@ -932,3 +1384,24 @@ tested.
|
|
|
932
1384
|
in all three adapters; Vite's development server only checked by hand; not
|
|
933
1385
|
tested: React 18 rendering on the server, SvelteKit, Nuxt, Next.js and Astro
|
|
934
1386
|
as real applications. A Vite production build needs `loadOpengrid({ moduleUrl })`.
|
|
1387
|
+
|
|
1388
|
+
[Unreleased]: https://github.com/casoon/opengrid/compare/v0.15.0...HEAD
|
|
1389
|
+
[0.15.0]: https://github.com/casoon/opengrid/compare/v0.14.0...v0.15.0
|
|
1390
|
+
[0.14.0]: https://github.com/casoon/opengrid/compare/v0.13.0...v0.14.0
|
|
1391
|
+
[0.13.0]: https://github.com/casoon/opengrid/compare/v0.12.0...v0.13.0
|
|
1392
|
+
[0.13.0-mcp]: https://github.com/casoon/opengrid/releases/tag/opengrid-mcp-v0.13.0
|
|
1393
|
+
[0.12.0]: https://github.com/casoon/opengrid/compare/v0.11.0...v0.12.0
|
|
1394
|
+
[0.11.0]: https://github.com/casoon/opengrid/compare/v0.10.0...v0.11.0
|
|
1395
|
+
[0.10.0]: https://github.com/casoon/opengrid/compare/v0.9.0...v0.10.0
|
|
1396
|
+
[0.9.0]: https://github.com/casoon/opengrid/compare/v0.8.1...v0.9.0
|
|
1397
|
+
[0.8.1]: https://github.com/casoon/opengrid/compare/v0.8.0...v0.8.1
|
|
1398
|
+
[0.8.0]: https://github.com/casoon/opengrid/compare/v0.7.2...v0.8.0
|
|
1399
|
+
[0.7.2]: https://github.com/casoon/opengrid/compare/v0.7.1...v0.7.2
|
|
1400
|
+
[0.7.1]: https://github.com/casoon/opengrid/compare/v0.7.0...v0.7.1
|
|
1401
|
+
[0.7.0]: https://github.com/casoon/opengrid/compare/v0.6.0...v0.7.0
|
|
1402
|
+
[0.6.0]: https://github.com/casoon/opengrid/compare/v0.5.0...v0.6.0
|
|
1403
|
+
[0.5.0]: https://github.com/casoon/opengrid/compare/v0.4.0...v0.5.0
|
|
1404
|
+
[0.4.0]: https://github.com/casoon/opengrid/compare/v0.3.0...v0.4.0
|
|
1405
|
+
[0.3.0]: https://github.com/casoon/opengrid/compare/v0.2.0...v0.3.0
|
|
1406
|
+
[0.2.0]: https://github.com/casoon/opengrid/compare/v0.1.0...v0.2.0
|
|
1407
|
+
[0.1.0]: https://github.com/casoon/opengrid/releases/tag/v0.1.0
|