Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.73 KB

File metadata and controls

44 lines (31 loc) · 1.73 KB

OpenShift Console 4.15 Release Notes

Changes to shared modules

  • The Console application now uses React Router v6 code internally. Plugins that only target OpenShift Console 4.15 or later should fully upgrade to React Router v6 via react-router-dom-v5-compat module.

PatternFly 5

Plugins that only target OpenShift Console 4.15 and newer should upgrade to PatternFly 5.x or newer to take advantage of PatternFly dynamic modules.

Any PatternFly related code should be imported via the corresponding package index:

// Do _not_ do this:
import { MonitoringIcon } from '@patternfly/react-icons/dist/esm/icons/monitoring-icon';
// Instead, do this:
import { MonitoringIcon } from '@patternfly/react-icons';

PatternFly 5+ dynamic modules

Newer versions of @openshift-console/dynamic-plugin-sdk-webpack package include support for automatic detection and sharing of individual PatternFly 5+ dynamic modules.

Plugins using PatternFly 5.x and newer should avoid non-index imports, for example:

// Do _not_ do this:
import { MonitoringIcon } from '@patternfly/react-icons/dist/esm/icons/monitoring-icon';
// Instead, do this:
import { MonitoringIcon } from '@patternfly/react-icons';

PatternFly resources