From: v74.x β v75.0.1 | Released: 2025-08-11 | Difficulty: π’ LOW
Hoist React v75 is a straightforward release that removes several previously deprecated APIs and introduces a minor change to Cube View row data objects. Most apps will only need to search for and remove references to the deprecated APIs listed below.
The most significant app-level impacts are:
- Removed deprecated APIs β
LoadSupport.isLoadSupport,FileChooserModel.removeAllFiles,FetchService.setDefaultHeaders,FetchService.setDefaultTimeout, andIdentityService.logoutAsynchave all been removed. - Cube View row data change β the undocumented
_metaandbucketsproperties on View row objects have been removed. Apps using the Cube/View system should verify they are not referencing these internal properties.
Before starting, ensure:
- Running hoist-react v74.x
Bump hoist-react to v75.
File: package.json
Before:
"@xh/hoist": "~74.1.0"After:
"@xh/hoist": "~75.0.0"The following APIs were deprecated in earlier releases and have now been removed. Search for any remaining references and replace them.
Find affected files:
grep -rE "isLoadSupport|removeAllFiles|setDefaultHeaders|setDefaultTimeout|logoutAsync" client-app/src/| Removed API | Replacement |
|---|---|
LoadSupport.isLoadSupport |
No direct replacement needed β this was a type-check utility rarely used by apps |
FileChooserModel.removeAllFiles |
Use FileChooserModel.clear() |
FetchService.setDefaultHeaders |
Set FetchService.defaults.headers directly |
FetchService.setDefaultTimeout |
Set FetchService.defaults.timeout directly |
IdentityService.logoutAsync |
Use XH.logoutAsync() |
The undocumented _meta and buckets properties on row objects returned by Cube View have been
removed. Row data is now emitted as typed ViewRowData objects with documented properties.
Find potentially affected files:
grep -rE "_meta|\.buckets" client-app/src/ | grep -iE "cube|view|query|dimension"If matches are found, review each usage. These were internal/undocumented properties, and there is
no one-for-one replacement β consult the ViewRowData class for the supported public API, or
contact XH for guidance on migrating specific patterns.
Ensure you call the developer's attention to any such usages, as these are advanced cases and will require direct developer review. Do not attempt to auto-update such usages yourself.
Hoist v75 upgrades the default Inter UI font from v3 to v4.1 (Inter Var β InterVariable). The
--xh-font-family CSS variable is updated automatically, so most apps will see no impact. However,
the new font version includes subtle changes to letter spacing and tabular number widths.
If your app has form inputs β especially date inputs β that are precisely sized to just fit their
contents (e.g. via explicit width values in CSS or inline styles), review them visually after
upgrading. Values that fit perfectly before may now be slightly clipped or overflow. Widen any
affected inputs as needed.
After completing all steps:
-
yarn install/npm installcompletes without errors -
npx tsc --noEmitpasses - Application loads without console errors
- No removed APIs remain:
grep -rE "isLoadSupport|removeAllFiles|setDefaultHeaders|setDefaultTimeout|logoutAsync" client-app/src/ - Cube/View-based visualizations render correctly (if applicable)
- Toolbox on GitHub β canonical example of a Hoist app