C3 AI Documentation Home

Change log for uiInfrastructureReact

All notable changes to the package uiInfrastructureReact are documented here.

Version 8.8.12

Bug fixes

    • Fixed issue where don't redirect to a 404 page when route does not exist.

Version 8.8.0

New Features

Improvements

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

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.ts that 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 en translations by default
  • Updated UiSdlReactTesting#renderWithState to allow developers to pass a connected parameter to initialize the Redux store with the UI framework's rootReducer and 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_VALUE to 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/extensions and exporting extendConfig or extendSharedLibraries.

Bug Fixes

  • Fixed useData hook so that when a contextVar value changes, only the dataspecs that 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

  • effectTriggers now 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.
Was this page helpful?