Change log for uiInfrastructureReact
All notable changes to the package uiInfrastructureReact are documented here.
Version 8.8.12
Bug fixes
Version 8.8.0
New Features
- C3ActionSpec
- Added disabled parameter to allow conditionally disabling network requests in UiSdlUseC3Action.
Improvements
- UiSdlUseC3Action
- Improved performance by preventing unnecessary API calls when requests are disabled via the disabled parameter.
- UiSdlDynamicComponentRenderer
- Add support for nested input dataSpecs in UiSdlForm.
Version 8.6.13
Bug Fixes
- Fixed race-condition issues when consecutive redirects are dispatched too fast and last route's page is not properly rendered.
Version 8.6.0
Bug Fixes
- UiSdlRouter
- Made it so that UiSdlRouter#findMatchingRoute is able to match to routes that do not have a leading slash.
- UiSdlSiteReact
- Made it so that
GLOBAL_REDIRECTtreats URLs that start or don't start with a leading/the same.
- Made it so that
- UiSdlThemeContextReact
- Made it so that even if themes come back with no data from the network request, the children are still rendered.
- UiSdlSite
- Fixed issue where UiSdlSite no longer set user in state.
New Features
- UiSdlRouterReact
- Added several data attributes to allow for more easily created app-specific styles.
Version 8.4.0
Changes
- Removed custom logic in
setupDevConfig.tsthat used entrypoint to decide the bundling output dir - Updated UiSdlUseData#useData to retrigger data requests if any part of the dataSpec is updated.
- Updated UiSdlReactTesting#renderWithIntl to provide
entranslations by default - Updated UiSdlReactTesting#renderWithState to allow developers to pass a
connectedparameter to initialize the Redux store with the UI framework'srootReducerand epic middleware for rendering connected components - Added a new case for dynamic component renderer to depend on a prop to reset the fields in a date range component.
New Features
- Added a global action
GLOBAL_DANGEROUSLY_SET_ARBITRARY_COMPONENT_VALUEto set any part of a component's redux state. See UiSdlArbitraryComponentValueDangerouslySetAction for more information about usage. - Webpack configuration extensibility. Packages can now extend the webpack configuration by creating a file under
ui/c3/config/wepback/extensionsand exportingextendConfigorextendSharedLibraries.
Bug Fixes
- Fixed
useDatahook so that when a contextVar value changes, only thedataspecsthat depend on that contextVar are re-fetched.
Version 8.3.3
Improvements
- UiSdlRouterReact
- Made it so that a static DOM is rendered on redirect rather than live React elements.
Bug Fixes
effectTriggersnow support multiple components subscribing with the same trigger and epic type
Deprecations
Bug Fixes
- UiSdlRouterReact
- Fixed a bug where the back button couldn't be used after redirecting to the unauthorized page.