Important
In this release, PatternFly 4.x is no longer supported in Console. Starting with Console 4.19, only PatternFly 6.x and 5.x are supported. Support for PatternFly 5.x is deprecated and is expected to be removed in a future release.
- Console no longer provides PatternFly 4.x as shared modules. It now uses PatternFly 6.x and provides PatternFly 5.x styles to help existing plugins transition.
- Added
@patternfly/react-topologyshared module. This allows plugins to use PatternFly's topology components with consistent React context and styling. - The
react-router-dom-v5-compatshared module is deprecated and is expected to be removed in a future release. Until a migration path is available, plugins can use this module to access React Router v6 APIs. VirtualizedTable,ListPageFilteranduseListPageFilterare deprecated and are expected to be removed in the future. Use PatternFly's Data view provides the recommended alternative. See this proof of concept for an example.
The following shared modules are now deprecated:
- Console provided React Router v5 shared modules
react-routerreact-router-dom
- Console provided React Router v6 compatibility module
react-router-dom-v5-compat
A migration path to a newer version of React Router is expected to be provided in a future release.
In OpenShift 4.19, Content Security Policy (CSP) is enabled by default in report-only mode.
Starting with OpenShift Console 4.19, PatternFly 4.x shared modules are no longer provided. Plugins are expected to use PatternFly 6.x.
- Major release highlights providing an overview of changes
- Upgrade guide with information about codemods and other resources
- Release notes change log that can be searched and filtered
The react-helmet shared module was removed in OpenShift 4.16. Plugins that need to set the document
title can use the DocumentTitle component from @openshift-console/dynamic-plugin-sdk.
Support for PatternFly 5.x within Console is deprecated and will be removed in the future.
Warning
OpenShift web console does not support non-PatternFly CSS provided by Console in plugins. The following information is provided for reference only.
OpenShift web console no longer applies styling to the following CSS classes:
- Removed
@fortawesome/font-awesome. Plugins should use PatternFly icons from@patternfly/react-iconsinstead. Thefa-spinclass remains but is deprecated and will be removed in the future. Plugins should provide their own CSS to spin icons if needed. - Removed
openshift-logos-icon. Plugins should provide icons if needed. - Removed styling for generic HTML heading elements (e.g.,
<h1>). Use PatternFly components instead. - Removed styling for generic HTML description list elements (e.g.,
<dl>,<dt>,<dd>). Use PatternFly components instead. - Removed
co-m-horizontal-navstyling. Use PatternFly Tabs instead. - Removed
co-m-page__bodystyling. Use PatternFly Flex instead. - Removed
co-m-pane__bodyspacing styling. Use PatternFly PageSection instead. - Removed
co-m-nav-titlespacing styling. Use PatternFly PageSection instead. - Removed
co-button-help-icon,co-inline,co-resource-list*,co-toolbar*styling. - Removed Bootstrap
table,text-muted,text-secondarystyling. - Removed
co-m-pane__detailsanddetails-itemstyling. Use PatternFly DescriptionList instead.