|
1 | 1 | ## Version 0.1.4 (in development) |
2 | 2 |
|
3 | | -- Add `multiple` property for `Select` component to enable the |
| 3 | +* In `chartlets.js` we no longer emit warnings and errors in common |
| 4 | + situations to avoid too much spam in the browser console. |
| 5 | + |
| 6 | +* Add `multiple` property for `Select` component to enable the |
4 | 7 | of multiple elements. |
5 | 8 |
|
6 | 9 | ## Version 0.1.3 (from 2025/01/28) |
7 | 10 |
|
8 | | -- **Chore:** Version bump to align CI process with GitHub release flow. |
9 | | - No functional changes. This release ensures proper triggering of the CI |
| 11 | +* **Chore:** Version bump to align CI process with GitHub release flow. |
| 12 | + No functional changes. This release ensures proper triggering of the CI |
10 | 13 | pipeline for publishing and NPM. |
11 | 14 |
|
12 | 15 | ## Version 0.1.0 (from 2025/01/14) |
13 | 16 |
|
14 | | -- Reorganised Chartlets project to better separate demo from library code. |
| 17 | +* Reorganised Chartlets project to better separate demo from library code. |
15 | 18 | Using monorepo layout for `chartlets.js` with workspaces `lib` and `demo` |
16 | 19 | that host the packages for `chartlets` and `chartlets-demo`. |
17 | 20 |
|
18 | | -- Other code reorganisations: |
19 | | - |
20 | | - - moved `component/Registry` into `store` |
21 | | - - renamed module `component` into `components` |
| 21 | +* Other code reorganisations: |
| 22 | + - moved `component/Registry` into `store` |
| 23 | + - renamed module `component` into `components` |
22 | 24 | - no longer exposing `Registry` type |
23 | 25 |
|
24 | | -- Chartlets now allows for plugins that can provide individual component |
| 26 | +* Chartlets now allows for plugins that can provide individual component |
25 | 27 | implementations. |
26 | | - The Vega-based chart and MUI components are now optional and have been |
| 28 | + The Vega-based chart and MUI components are now optional and have been |
27 | 29 | moved into respective plugin modules `chartlets/plugins/vega` and |
28 | 30 | `chartlets/plugins/mui`. |
29 | | - To activate them, use the new `plugins: PluginLike[]` option |
| 31 | + To activate them, use the new `plugins: PluginLike[]` option |
30 | 32 | of `FrameworkOptions`: |
31 | | - |
32 | 33 | ```TypeScript |
33 | 34 | import { configureFramework } from "chartlets"; |
34 | 35 | import mui from "chartlets/plugins/mui"; |
35 | 36 | import vega from "chartlets/plugins/vega"; |
36 | | - |
37 | | - configureFramework({ plugins: [mui(), vega()], ... }); |
| 37 | + |
| 38 | + configureFramework({ plugins: [mui(), vega()], ... }); |
38 | 39 | ``` |
39 | 40 |
|
40 | | -- Renamed `Plot` component into `VegaChart`. |
| 41 | +* Renamed `Plot` component into `VegaChart`. |
41 | 42 |
|
42 | | -- The new `VegaChart` component respects a `theme` property. If not given, |
| 43 | +* The new `VegaChart` component respects a `theme` property. If not given, |
43 | 44 | it will respect the current theme mode `"dark"` otherwise fallback to the |
44 | | - Vega default theme. |
| 45 | + Vega default theme. |
45 | 46 |
|
46 | | -- The demo application now allows for switching the theme mode between |
| 47 | +* The demo application now allows for switching the theme mode between |
47 | 48 | dark, light, and system mode. |
48 | 49 |
|
49 | | -- Changed the yet unused descriptor type `CbFunction` for callback functions. |
50 | | - |
| 50 | +* Changed the yet unused descriptor type `CbFunction` for callback functions. |
51 | 51 | - using `schema` instead of `type` property for callback arguments |
52 | 52 | - using `return` object with `schema` property for callback return values |
53 | 53 |
|
54 | | -- New (MUI) components |
55 | | - |
| 54 | +* New (MUI) components |
56 | 55 | - `Divider` |
57 | 56 | - `LinearProgress` |
58 | 57 | - `RadioGroup` and `Radio` |
59 | 58 | - `Switch` |
60 | 59 | - `Tabs` |
61 | 60 | - `Slider` |
62 | 61 |
|
63 | | -- Supporting `tooltip` property for interactive MUI components. |
| 62 | +* Supporting `tooltip` property for interactive MUI components. |
64 | 63 |
|
65 | 64 | ## Version 0.0.29 (from 2024/11/26) |
66 | 65 |
|
67 | | -- Resolved warnings that appeared when using Vega charts. |
| 66 | +* Resolved warnings that appeared when using Vega charts. |
68 | 67 |
|
69 | 68 | ## Version 0.0.28 (from 2024/11/26) |
70 | 69 |
|
71 | | -- Updated docs. |
| 70 | +* Updated docs. |
72 | 71 |
|
73 | 72 | ## Version 0.0.27 (from 2024/11/25) |
74 | 73 |
|
75 | | -- Added component `IconButton` and enhanced other components' attributes. |
| 74 | +* Added component `IconButton` and enhanced other components' attributes. |
76 | 75 |
|
77 | 76 | ## Version 0.0.26 (from 2024/11/23) |
78 | 77 |
|
79 | | -- Channels such as `Input`, `State`, `Output` no longer have a `link` property. |
| 78 | +* Channels such as `Input`, `State`, `Output` no longer have a `link` property. |
80 | 79 | Instead, we use a special `id` format, namely `"@app"` and `@container` |
81 | 80 | to address states other than components. (#52) |
82 | 81 |
|
83 | 82 | ## Version 0.0.25 (from 2024/11/23) |
84 | 83 |
|
85 | | -- `Registry.register()` now requires the `type` |
| 84 | +* `Registry.register()` now requires the `type` |
86 | 85 | to be passed as 1st argument because `component.name` will |
87 | 86 | be a mangled name in most cases. |
88 | 87 |
|
89 | 88 | ## Version 0.0.24 (from 2024/11/23) |
90 | 89 |
|
91 | | -- Exporting required `HostStore` type. |
| 90 | +* Exporting required `HostStore` type. |
92 | 91 |
|
93 | 92 | ## Version 0.0.23 (from 2024/11/23) |
94 | 93 |
|
95 | | -- Introduced new interface `HostState` that applications may implement |
| 94 | +* Introduced new interface `HostState` that applications may implement |
96 | 95 | to provide computed properties, i.e., a derived state. (#43) |
97 | 96 |
|
98 | | -- Replacing entire components if a related component `StateChange` |
| 97 | +* Replacing entire components if a related component `StateChange` |
99 | 98 | has an empty `property`. (#38) |
100 | 99 |
|
101 | | -- Added handy hooks `useContributions` and `useComponentChangeHandlers`. |
| 100 | +* Added handy hooks `useContributions` and `useComponentChangeHandlers`. |
| 101 | + |
102 | 102 |
|
103 | 103 | ## Version 0.0.22 (from 2024/11/19) |
104 | 104 |
|
105 | | -- Improved robustness while rendering the in `Select` component |
| 105 | +* Improved robustness while rendering the in `Select` component |
106 | 106 | wrt `options` property. |
107 | 107 |
|
108 | | -- `Button` component now sets a `clicked: boolean` property instead |
| 108 | +* `Button` component now sets a `clicked: boolean` property instead |
109 | 109 | of `n_clicks: int`. |
110 | 110 |
|
111 | 111 | ## Version 0.0.21 (from 2024/11/19) |
112 | 112 |
|
113 | | -- `Component` children can now also be text nodes (of type `string`). |
| 113 | +* `Component` children can now also be text nodes (of type `string`). |
114 | 114 |
|
115 | | -- `Typography` component has children instead of `text`. |
| 115 | +* `Typography` component has children instead of `text`. |
116 | 116 |
|
117 | | -- A component's `children` property can now be changed, even from a |
| 117 | +* A component's `children` property can now be changed, even from a |
118 | 118 | scalar. |
119 | 119 |
|
120 | | -- Renamed `Dropdown` component into `Select` |
| 120 | +* Renamed `Dropdown` component into `Select` |
121 | 121 | (to refer to MUI component with same name). |
122 | 122 |
|
123 | | -- `Select` component has more flexible options. |
| 123 | +* `Select` component has more flexible options. |
124 | 124 |
|
125 | 125 | ## Version 0.0.20 (from 2024/11/19) |
126 | 126 |
|
127 | | -- Using `FrameworkOptions.getDerivedHostState` also in |
| 127 | +* Using `FrameworkOptions.getDerivedHostState` also in |
128 | 128 | `handleHostStoreChange()`. |
129 | 129 |
|
130 | | -- Actions `handleComponentChange()` and `handleHostStoreChange()` |
| 130 | +* Actions `handleComponentChange()` and `handleHostStoreChange()` |
131 | 131 | now exit immediately, if no extensions are configured yet. |
132 | 132 |
|
133 | | -- Module `utils.objPath`: Renamed `toObjPath` into `normalizeObjPath`, |
| 133 | +* Module `utils.objPath`: Renamed `toObjPath` into `normalizeObjPath`, |
134 | 134 | added `formatObjPath`. |
135 | 135 |
|
136 | 136 | ## Version 0.0.19 (from 2024/11/18) |
137 | 137 |
|
138 | | -- Fixed TypeScript typing issues with `configureFramework<S>()` and |
| 138 | +* Fixed TypeScript typing issues with `configureFramework<S>()` and |
139 | 139 | `FrameworkOptions`. |
140 | | - |
| 140 | + |
141 | 141 | ## Version 0.0.18 (from 2024/11/18) |
142 | 142 |
|
143 | | -- Fixed TypeScript typing issues with `configureFramework<S>()` and |
144 | | - `FrameworkOptions`. |
| 143 | +* Fixed TypeScript typing issues with `configureFramework<S>()` and |
| 144 | + `FrameworkOptions`. |
145 | 145 |
|
146 | 146 | ## Version 0.0.17 (from 2024/11/18) |
147 | 147 |
|
148 | | -- Enhanced interface `FrameworkOptions` by property `getDerivedHostState`, |
| 148 | +* Enhanced interface `FrameworkOptions` by property `getDerivedHostState`, |
149 | 149 | which is a user-supplied function that can compute derived |
150 | | - host state property. |
151 | | - |
| 150 | + host state property. |
| 151 | + |
152 | 152 | ## Version 0.0.16 (from 2024/11/12) |
153 | 153 |
|
154 | | -Initial, still experimental version. |
| 154 | +Initial, still experimental version. |
0 commit comments