7.x Migration

August 26, 2019 ยท View on GitHub

Refer to the Carbon X Migration Guide for more information on migrating from v9 to v10.

Process

  1. Update your carbon-components-react package using npm or yarn.
  2. When migrating from v6 to v7, you'll first want to address your component instances marked with Removed in the table below. E.g. if you're using the <Footer /> React component that was previously available in Carbon, you'll need to either remove your footer instances or create your own footer component so the <Footer /> syntax is recognized in your client-side JavaScript.

Components

Componentv10
AccordionNo breaking changes
AccordionItemNo breaking changes
BreadcrumbNo breaking changes
BreadcrumbItemNo breaking changes
ButtonMigrate
CheckboxNo breaking changes
CodeSnippetNo breaking changes
ComboBoxNo breaking changes
ComposedModalNo breaking changes
ContentSwitcherNo breaking changes
CopyNo breaking changes
CopyButtonNo breaking changes
DangerButtonNo breaking changes
DataTableMigrate
DatePickerMigrate
DatePickerInputNo breaking changes
DropdownExisting import remapped to DropdownV2
DropdownItemNo breaking changes
DropdownV2Renamed to Dropdown
FileUploaderNo breaking changes
FooterRemoved
FormNo breaking changes
FormGroupNo breaking changes
FormItemNo breaking changes
FormLabelNo breaking changes
IconMigrate
InlineCheckboxMigrate
InlineLoadingNo breaking changes
LinkNo breaking changes
ListBoxNo breaking changes
ListItemNo breaking changes
LoadingNo breaking changes
ModalNo breaking changes
ModalWrapperNo breaking changes
MultiSelectNo breaking changes
NotificationDeprecated, use InlineNotification or ToastNotification instead
NumberInputMigrate
OverflowMenuMigrate
OverflowMenuItemMigrate
PaginationExport now points to PaginationV2
PaginationV2Renamed to Pagination
PrimaryButtonNo breaking changes
ProgressIndicatorNo breaking changes
RadioButtonMigrate
RadioButtonGroupNo breaking changes
RadioTileNo breaking changes
SearchNo breaking changes
SearchFilterButtonNo breaking changes
SearchLayoutButtonNo breaking changes
SecondaryButtonNo breaking changes
SelectNo breaking changes
SelectItemNo breaking changes
SelectItemGroupNo breaking changes
SkeletonPlaceholderNo breaking changes
SkeletonTextNo breaking changes
SliderMigrate
StructuredListNo breaking changes
SwitchNo breaking changes
TabNo breaking changes
TabContentNo breaking changes
TableExport now points to DataTable.Table
TableBodyExport now points to DataTable.TableBody
TableDataRemoved
TableHeadExport now points to DataTable.TableHead
TableHeaderExport now points to DataTable.TableHeader
TableRowExport now points to DataTable.TableRow
TableRowExpandedRemoved
TabsNo breaking changes
TagMigrate
TextAreaNo breaking changes
TextInputNo breaking changes
TileNo breaking changes
TileGroupNo breaking changes
TimePickerNo breaking changes
TimePickerSelectNo breaking changes
ToggleNo breaking changes
ToggleSmallNo breaking changes
ToolbarNo breaking changes
ToolbarSearchNo breaking changes
TooltipMigrate
TooltipDefinitionNo breaking changes
TooltipIconNo breaking changes
TooltipSimpleRemoved, use TooltipDefinition or TooltipIcon instead
UI ShellNew, experimental
UnorderedListNo breaking changes

Polyfills

Required polyfills list has been updated, adding: