@xh/hoist 90.0.0-SNAPSHOT.1793663731701 → 90.0.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
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
3. Plain ASCII punctuation only. Use " - " for in-sentence breaks, never an em dash.
|
|
13
13
|
-->
|
|
14
14
|
|
|
15
|
-
## 90.0.0-
|
|
15
|
+
## 90.0.0 - 2026-11-02
|
|
16
16
|
|
|
17
17
|
### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - `formatConfig`, built-in column specs, `DateInput` props, mobile styling, panel splitter CSS)
|
|
18
18
|
See [`docs/upgrade-notes/v90-upgrade-notes.md`](docs/upgrade-notes/v90-upgrade-notes.md) for
|
|
@@ -27,6 +27,10 @@ detailed, step-by-step upgrade instructions with before/after code examples.
|
|
|
27
27
|
already did, and its time picker is Hoist's own 24-hour control. `dayPickerProps` now takes
|
|
28
28
|
react-day-picker 10 props - see the upgrade notes for the renames from v8. Removed
|
|
29
29
|
`timePickerProps`, which took Blueprint `TimePicker` options such as `useAmPm`.
|
|
30
|
+
* Removed `datePicker` and `DatePicker` from `@xh/hoist/kit/blueprint`. Render `dayPicker` from
|
|
31
|
+
`@xh/hoist/kit/react-day-picker` instead.
|
|
32
|
+
* Removed `WindowedSelect` and `reactWindowedSelect` from `@xh/hoist/kit/react-select`. Desktop
|
|
33
|
+
`Select` windows large option lists itself, so `enableWindowed` works as before.
|
|
30
34
|
* Mobile components no longer render Onsen UI custom elements. `Button`, `TextInput`,
|
|
31
35
|
`NumberInput`, `SearchInput`, `Checkbox`, `SwitchInput`, `Dialog`, `DialogPanel`, `Toast`,
|
|
32
36
|
`TabContainer` and `MenuButton` menus render plain elements under `xh-` class names. App SCSS
|
package/docs/README.md
CHANGED
|
@@ -174,7 +174,7 @@ breaking changes, before/after code examples, and verification checklists.
|
|
|
174
174
|
|
|
175
175
|
| Version | Released | Difficulty | Key Changes |
|
|
176
176
|
|---------|----------|------------|-------------|
|
|
177
|
-
| [v90](./upgrade-notes/v90-upgrade-notes.md) |
|
|
177
|
+
| [v90](./upgrade-notes/v90-upgrade-notes.md) | 2026-11-02 | 🟢 LOW | numbro removed (`formatConfig`), desktop `DateInput` on react-day-picker 10, Onsen UI removed from mobile, `Column.textRenderer` on built-in column specs, panel splitter redesign |
|
|
178
178
|
| [v89](./upgrade-notes/v89-upgrade-notes.md) | 2026-10-13 | 🟢 LOW | TypeScript 7 (strongly recommended), `GridFilterModelConfig.fieldSpecs` no longer an allow-list |
|
|
179
179
|
| [v88](./upgrade-notes/v88-upgrade-notes.md) | 2026-09-28 | 🔴 HIGH | TC39 decorators (`accessor`, no `makeObservable`) + dev-utils 16 / Rsbuild, MobX 7 named exports, AG Grid 36 + Theming API, React 19.3, v86 scheduled removals |
|
|
180
180
|
| [v87](./upgrade-notes/v87-upgrade-notes.md) | TBD | 🟠 MEDIUM | React 19 + Floating UI popovers, data-layer perf overhaul (`leafMap`, `getCubeLeaves`, `StoreRecord.data` access), new column chooser + `RowDragModule`, hoist-core >= 40.5.0 |
|
package/docs/doc-registry.json
CHANGED
|
@@ -556,8 +556,8 @@
|
|
|
556
556
|
"title": "v90 Upgrade Notes",
|
|
557
557
|
"mcpCategory": "devops",
|
|
558
558
|
"viewerCategory": "upgrade",
|
|
559
|
-
"description": "Upgrade guide from v89.x to v90.0.0. Low difficulty. Covers the removal of numbro and
|
|
560
|
-
"keywords": ["upgrade", "migration", "breaking changes", "v90", "v89", "numbro", "formatConfig"]
|
|
559
|
+
"description": "Upgrade guide from v89.x to v90.0.0. Low difficulty. Covers the removal of numbro and formatConfig, DateInput on react-day-picker 10, the removal of Onsen UI from mobile, textRenderer on the built-in column specs and the panel splitter redesign.",
|
|
560
|
+
"keywords": ["upgrade", "migration", "breaking changes", "v90", "v89", "numbro", "formatConfig", "timePickerProps", "onsen", "modifier", "WindowedSelect", "react-windowed-select", "xh-resizable-splitter", "store2"]
|
|
561
561
|
}
|
|
562
562
|
]
|
|
563
563
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Hoist React v90 Upgrade Notes
|
|
2
2
|
|
|
3
|
-
> **From:** v89.x → v90.0.0 | **Released:**
|
|
3
|
+
> **From:** v89.x → v90.0.0 | **Released:** 2026-11-02 | **Difficulty:** 🟢 LOW
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ affected APIs.
|
|
|
24
24
|
Read `col.resolvedRenderer` instead - see Step 5.
|
|
25
25
|
- **Panel splitter CSS (required if an app styled splitters)** - desktop panel splitters are now
|
|
26
26
|
a 1px line with their own `--xh-panel-splitter-*` variables. App overrides of
|
|
27
|
-
`--resizable-*` variables no longer reach them - see Step 6.
|
|
27
|
+
`--xh-resizable-*` variables no longer reach them - see Step 6.
|
|
28
28
|
|
|
29
29
|
## Upgrade Steps
|
|
30
30
|
|
|
@@ -72,6 +72,23 @@ numberRenderer({label: 'ms', precision: 0, withCommas: false})
|
|
|
72
72
|
An app that imports numbro itself, for example to call `numbro.unformat()`, must declare numbro in
|
|
73
73
|
its own `package.json`.
|
|
74
74
|
|
|
75
|
+
Ordinary values render exactly as before. These edge cases changed:
|
|
76
|
+
|
|
77
|
+
| Input | Before | After | Why |
|
|
78
|
+
|---|---|---|---|
|
|
79
|
+
| `fmtNumber(-2.5, {precision: 0})` | `-2` | `-3` | Ties round half away from zero for both signs. numbro rounded negative ties toward zero. |
|
|
80
|
+
| `fmtNumber(-1.005, {precision: 2})` | `-1.00` | `-1.01` | The same rule. `1.005` gives `1.01`, as before. |
|
|
81
|
+
| `fmtPercent(-0.0045, {precision: 1})` | `-0.4%` | `-0.5%` | A negative value near a tie rounds as a positive one. `0.0045` gives `0.5%`, as before. |
|
|
82
|
+
| `fmtNumber(9.9999999e-7, {precision: 6})` | `0.000000` | `0.000001` | At a fixed precision, values below 1e-6 round like any other. numbro truncated them. At `'auto'` precision they still show as zero. |
|
|
83
|
+
| `fmtNumber(2390421244, {precision: 12})` | `2,390,421,243.999999500000` | `2,390,421,244.000000000000` | Past 15 significant digits the stored value shows. numbro added float noise when it shifted the decimal point. |
|
|
84
|
+
| `fmtNumber(1234.0001, {precision: 2, zeroPad: 0, omitFourDigitComma: true})` | `1234` | `1,234` | A `zeroPad` of `0` is the same as `false`. |
|
|
85
|
+
| `fmtNumber(Infinity)` | `Infinity` | `∞` | The `Intl.NumberFormat` symbol for infinity. |
|
|
86
|
+
| `fmtNumber('1,234.5', {precision: 2})` | `1,234.50` | `NaN` | A string renders as JavaScript's `Number()` reads it. `'1234.5'` still formats. |
|
|
87
|
+
| `fmtNumber('N/A')` | throws a `TypeError` | `NaN` | The same rule. |
|
|
88
|
+
|
|
89
|
+
Parse formatted text with `parseNumber()` before you format it, and update tests or exports that
|
|
90
|
+
match the text `Infinity`.
|
|
91
|
+
|
|
75
92
|
### 2. Update `DateInput` Picker Props
|
|
76
93
|
|
|
77
94
|
The desktop `DateInput` popover now renders its calendar with react-day-picker 10, the library the
|
|
@@ -182,23 +199,6 @@ An app that imports `@blueprintjs/datetime` or `date-fns` itself must now declar
|
|
|
182
199
|
`package.json`. Prefer dropping the Blueprint import, since a second calendar library adds a second
|
|
183
200
|
copy of date-fns to the bundle.
|
|
184
201
|
|
|
185
|
-
Ordinary values render exactly as before. These edge cases changed:
|
|
186
|
-
|
|
187
|
-
| Input | Before | After | Why |
|
|
188
|
-
|---|---|---|---|
|
|
189
|
-
| `fmtNumber(-2.5, {precision: 0})` | `-2` | `-3` | Ties round half away from zero for both signs. numbro rounded negative ties toward zero. |
|
|
190
|
-
| `fmtNumber(-1.005, {precision: 2})` | `-1.00` | `-1.01` | The same rule. `1.005` gives `1.01`, as before. |
|
|
191
|
-
| `fmtPercent(-0.0045, {precision: 1})` | `-0.4%` | `-0.5%` | A negative value near a tie rounds as a positive one. `0.0045` gives `0.5%`, as before. |
|
|
192
|
-
| `fmtNumber(9.9999999e-7, {precision: 6})` | `0.000000` | `0.000001` | At a fixed precision, values below 1e-6 round like any other. numbro truncated them. At `'auto'` precision they still show as zero. |
|
|
193
|
-
| `fmtNumber(2390421244, {precision: 12})` | `2,390,421,243.999999500000` | `2,390,421,244.000000000000` | Past 15 significant digits the stored value shows. numbro added float noise when it shifted the decimal point. |
|
|
194
|
-
| `fmtNumber(1234.0001, {precision: 2, zeroPad: 0, omitFourDigitComma: true})` | `1234` | `1,234` | A `zeroPad` of `0` is the same as `false`. |
|
|
195
|
-
| `fmtNumber(Infinity)` | `Infinity` | `∞` | The `Intl.NumberFormat` symbol for infinity. |
|
|
196
|
-
| `fmtNumber('1,234.5', {precision: 2})` | `1,234.50` | `NaN` | A string renders as JavaScript's `Number()` reads it. `'1234.5'` still formats. |
|
|
197
|
-
| `fmtNumber('N/A')` | throws a `TypeError` | `NaN` | The same rule. |
|
|
198
|
-
|
|
199
|
-
Parse formatted text with `parseNumber()` before you format it, and update tests or exports that
|
|
200
|
-
match the text `Infinity`.
|
|
201
|
-
|
|
202
202
|
### 3. Update Mobile Styling That Targeted Onsen UI
|
|
203
203
|
|
|
204
204
|
Hoist's mobile components used to render [Onsen UI](https://onsen.io/) custom elements, which
|
|
@@ -330,23 +330,24 @@ those.
|
|
|
330
330
|
**Find affected code:**
|
|
331
331
|
|
|
332
332
|
```bash
|
|
333
|
-
grep -rn "
|
|
333
|
+
grep -rn "xh-resizable-" client-app/src/
|
|
334
334
|
```
|
|
335
335
|
|
|
336
336
|
Map each override that targeted panel splitters to its new variable:
|
|
337
337
|
|
|
338
338
|
| Old variable | New variable |
|
|
339
339
|
|--------------|--------------|
|
|
340
|
-
| `--resizable-border-color` | `--panel-splitter-line-color` |
|
|
341
|
-
| `--resizable-button-bg` | `--panel-splitter-button-bg` |
|
|
342
|
-
| `--resizable-button-icon-color` | `--panel-splitter-button-icon-color` |
|
|
343
|
-
| `--resizable-border-width` | None. The line is always 1px. |
|
|
344
|
-
| `--resizable-size` | None. Use `--panel-splitter-hit-size` to change the grab area. |
|
|
345
|
-
| `--resizable-bg` | None. The splitter has no bar. |
|
|
346
|
-
|
|
347
|
-
Other new variables are `--
|
|
348
|
-
`--panel-splitter-
|
|
349
|
-
`--panel-splitter-button-border-color`, and
|
|
340
|
+
| `--xh-resizable-border-color` | `--xh-panel-splitter-line-color` |
|
|
341
|
+
| `--xh-resizable-button-bg` | `--xh-panel-splitter-button-bg` |
|
|
342
|
+
| `--xh-resizable-button-icon-color` | `--xh-panel-splitter-button-icon-color` |
|
|
343
|
+
| `--xh-resizable-border-width` | None. The line is always 1px. |
|
|
344
|
+
| `--xh-resizable-size` | None. Use `--xh-panel-splitter-hit-size` to change the grab area. |
|
|
345
|
+
| `--xh-resizable-bg` | None. The splitter has no bar. |
|
|
346
|
+
|
|
347
|
+
Other new variables are `--xh-panel-splitter-accent-color`,
|
|
348
|
+
`--xh-panel-splitter-accent-active-color`, `--xh-panel-splitter-snap-color`,
|
|
349
|
+
`--xh-panel-splitter-hover-delay`, `--xh-panel-splitter-button-border-color`, and
|
|
350
|
+
`--xh-panel-collapsed-strip-*` for the strip.
|
|
350
351
|
|
|
351
352
|
App SCSS that targeted `.xh-resizable-splitter` should target `.xh-panel-splitter`. The
|
|
352
353
|
`.xh-resizable-dragger` and `.xh-resizable-collapser-btn` classes are gone.
|
|
@@ -390,7 +391,8 @@ After completing all steps:
|
|
|
390
391
|
- [ ] No code imports `WindowedSelect` or `reactWindowedSelect` from `@xh/hoist/kit/react-select`.
|
|
391
392
|
- [ ] Code that reads `Column.renderer` handles columns built on the number and date specs.
|
|
392
393
|
- [ ] Styles on `xh-units-label` or on sign color classes inside grid cells still apply.
|
|
393
|
-
- [ ] No app SCSS styles panel splitters with `--resizable-*` variables or
|
|
394
|
+
- [ ] No app SCSS styles panel splitters with `--xh-resizable-*` variables or
|
|
395
|
+
`.xh-resizable-splitter`.
|
|
394
396
|
|
|
395
397
|
## Reference
|
|
396
398
|
|
|
@@ -61,7 +61,7 @@ Verified against both hoist-react and hoist-core changelogs.
|
|
|
61
61
|
|
|
62
62
|
| hoist-react | Min Core Required | Recommended Core | Max Core Tested | Notes | Upgrade |
|
|
63
63
|
|---|---|---|---|---|---|
|
|
64
|
-
| 90.0 | -- | 42.0 | 43.0 |
|
|
64
|
+
| 90.0 | -- | 42.0 | 43.0 | Admin Console Connection Pool Monitor purge buttons call a core 44 endpoint and fail on older cores | [Notes](./upgrade-notes/v90-upgrade-notes.md) |
|
|
65
65
|
| 89.0 | -- | 42.0 | 43.0 | No new server-side pairing requirements | [Notes](./upgrade-notes/v89-upgrade-notes.md) |
|
|
66
66
|
| 88.1 | -- | 42.0 | 42.0 | Use 88.1.2 or later - earlier 88 releases drop `MsalClient` defaults. `ViewManagerModel.manageGlobal` derived from server `globalWriteRoles` (42, degrades gracefully). TC39 decorators are client-only - requires hoist-dev-utils 16 | [Notes](./upgrade-notes/v88-upgrade-notes.md) |
|
|
67
67
|
| 87.0 | 40.5.0 | 41.0 | 41.0 | `ViewManager` group rename + bulk edit (40.5); directory group names/search, tabbed config editor (41, degrade gracefully) | [Notes](./upgrade-notes/v87-upgrade-notes.md) |
|