Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 4.32 KB

File metadata and controls

86 lines (64 loc) · 4.32 KB

OpenShift Console 4.19 Release Notes

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.

Changes to shared modules

  • 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-topology shared module. This allows plugins to use PatternFly's topology components with consistent React context and styling.
  • The react-router-dom-v5-compat shared 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, ListPageFilter and useListPageFilter are 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.

Deprecations of shared modules

The following shared modules are now deprecated:

  • Console provided React Router v5 shared modules
    • react-router
    • react-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.

Changes to Content Security Policy (CSP)

In OpenShift 4.19, Content Security Policy (CSP) is enabled by default in report-only mode.

Upgrade tips

PatternFly 6

Starting with OpenShift Console 4.19, PatternFly 4.x shared modules are no longer provided. Plugins are expected to use PatternFly 6.x.

PatternFly resources

Addition of DocumentTitle to replace react-helmet

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.

Changes to Console provided CSS

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-icons instead. The fa-spin class 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-nav styling. Use PatternFly Tabs instead.
  • Removed co-m-page__body styling. Use PatternFly Flex instead.
  • Removed co-m-pane__body spacing styling. Use PatternFly PageSection instead.
  • Removed co-m-nav-title spacing styling. Use PatternFly PageSection instead.
  • Removed co-button-help-icon, co-inline, co-resource-list*, co-toolbar* styling.
  • Removed Bootstrap table, text-muted, text-secondary styling.
  • Removed co-m-pane__details and details-item styling. Use PatternFly DescriptionList instead.