@seed-ship/mcp-ui-solid 6.12.0 → 6.14.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 CHANGED
@@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [6.14.0] - 2026-05-31
9
+
10
+ Make the external quickchart.io chart fallback an explicit host opt-in
11
+ (audit P1.7).
12
+
13
+ ### Security / privacy
14
+
15
+ - The chart renderer could silently fall back to **quickchart.io** when the
16
+ native `chart.js` peer was unavailable (auto mode) — encoding the **entire
17
+ chart config** (labels + data) into an external image URL. That is an
18
+ implicit network call that can leak potentially sensitive data and behaves
19
+ differently offline.
20
+ - A new **host-level** prop `allowQuickchartFallback` (on `<UIResourceRenderer>`
21
+ and `<StreamingUIRenderer>`) gates **all** quickchart.io access.
22
+ **Default `false`**:
23
+ - in `auto` mode, when Chart.js is missing the chart now **degrades to a
24
+ local data table** (the P2.5 fallback ladder) and emits a `render:error`
25
+ telemetry signal (`componentType: 'chart'`) — no external call;
26
+ - an explicit `renderer: 'iframe'` request is likewise declined (and
27
+ degraded) unless the host opts in.
28
+ - Native Chart.js stays the preferred path and is unchanged. Setting
29
+ `allowQuickchartFallback` restores the previous quickchart behaviour.
30
+
31
+ Like `allowHtmlPopups` (v6.10.0), this is deliberately a host prop, not a
32
+ payload field — a payload must not be able to opt itself into an external
33
+ call.
34
+
35
+ ## [6.13.0] - 2026-05-31
36
+
37
+ `graph` is now first-class in the `UIComponent` params union (audit follow-up
38
+ to P1.4/P1.5).
39
+
40
+ ### Added
41
+
42
+ - `GraphComponentParams`, `GraphNode`, `GraphEdge` and `GraphLayout` types
43
+ (mirroring `GraphComponentParamsSchema` in `@seed-ship/mcp-ui-spec`), and
44
+ `GraphComponentParams` is now part of the `UIComponent` `params` union.
45
+ Previously a `type: 'graph'` component could not be expressed as a typed
46
+ `UIComponent` — the union ended at `MapComponentParams`.
47
+ - `GraphRegistry` now ships a **typed** example (it was an empty array in
48
+ v6.12.0 precisely because the union lacked graph params).
49
+ - `types/graph-types.test.ts` — compile-time + runtime assertion that a graph
50
+ component with `nodes`/`edges` is assignable to `UIComponent`.
51
+
52
+ Type-widening only; existing valid code keeps compiling.
53
+
8
54
  ## [6.12.0] - 2026-05-31
9
55
 
10
56
  Registry/schema parity for `graph` (audit P1.5).