-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Blueprint 6.0
Jonah Scheinerman edited this page May 5, 2025
·
1 revision
Blueprint 6.0 is an upcoming major version bump which focuses on the removal of deprecated and legacy code and the modernization of our codebase.
- CSS namespace changed from
bp5-
tobp6-
. - React 16 and 17 are no longer supported as peer dependencies of Blueprint.
- Blueprint no longer produces UMD bundles from its packages.
- Switched out the implementation for the following deprecated components. With each of these components the versioned component has replaced the unversioned variant and the versioned variant is exposed as a deprecated alias of the original component. For example, the previously deprecated
<PanelStack>
component is now implemented using the<PanelStack2>
implementation and API. Users can still usePanelStack2
but it is now identical to usingPanelStack
. The namePanelStack2
is deprecated and will be removed in an future major version bump.-
@blueprintjs/core
<HotkeysTarget>
<PanelStack>
<Toast>
-
@blueprintjs/datetime
<DatePicker>
<DateInput>
<DateRangePicker>
<DateRangeInput>
-
@blueprintjs/table
<Table>
<EditableCell>
-
-
<ContextMenu>
- Removed the deprecated
<ContextMenuTargetLegacy>
and<ContextMenuLegacy>
components - The
showContextMenu
function now only acceptsShowContextMenuOptions
for its second argument and uses the React 18ReactDOMClient.createRoot
async API instead of the React 16ReactDOM.render
by default. - The
hideContextMenu
function no longer accepts arguments.
- Removed the deprecated
-
<Hotkeys>
- Removed the following deprecated legacy components, types, and functions:
IHotkeysTargetComponent
isHotkeysDialogShowing
setHotkeysDialogProps
showHotkeysDialog
hideHotkeysDialog
hideHotkeysDialogAfterDelay
- Removed the following deprecated legacy components, types, and functions:
-
<Icon>
- The deprecated
iconSize
prop has been removed. Use thesize
props instead. - The
IconComponent
type's return value is nowReact.ReactNode
- The deprecated
-
<InputGroup>
,<NumericInput>
- Thesize
prop no longer accepts numeric values. Use the old native HTML functionality here, use theinputSize
prop instead -
<OverlayToaster>
- Updated
create
to use the same API ascreateAsync
. UsingcreateAsync
is now deprecated. - By default
create
will now use the React 18ReactDOMClient.createRoot
async API instead of the React 16ReactDOM.render
. - The
OverlayToasterCreateOptions
object no longer has adomUnmounter
field.
- Updated
-
<Portal>
- Removed the deprecated legacy context options for this component. Use<PortalProvider>
instead. -
<Tabs>
- Removed the deprecated<Tabs.Expander>
and<Expander>
components. Use<TabsExpander>
instead. -
<TextArea>
- The deprecatedgrowVertically
prop has been removed. Use theautoResize
prop instead. -
Toaster
- Removed the deprecatedcreate
method. UseOverlayToaster.create
instead. - Removed the following deprecated type aliases:
ControlledProps
AbstractComponent2
AbstractPureComponent2
InputGroupProps2
ToasterInstance
- Removed the deprecated
Classes.SELECT
class name and its associated styles.
-
@blueprintjs/datetime2
is now deprecated and should no longer be used. All component implementations have been merged into@blueprintjs/datetime
. - The
react-day-picker
dependency has changed from7.4.9
to^8.10.0
.
- Removed now obviated the
no-deprecated-datetime-components
rule
-
<SVCIconContainer>
- TheSVGIconContainerComponent
type's return value is nowReact.ReactNode
.
- This package and all associated types it exports have been removed
- Removed the following deprecated type aliases:
ColumnHeaderCell2
ColumnHeaderCell2Props
RowHeaderCell2
RowHeaderCell2Props
JSONFormat2
JSONFormat2Props
TruncatedFormat2
TruncatedFormat2Props
- The following components are deprecated:
-
<MultiSlider.Handle>
- Use<MultiSliderHandle>
instead -
<Navbar.Divider>
,<Navbar.Group>
, and<Navbar.Heading>
- Use<NavbarDivider>
,<NavbarGroup>
, and<NavbarHeading>
instead -
<Tabs.Tab>
- Use<Tab>
instead
-
- v6.0 changes
- react-day-picker v8 migration
- HotkeysTarget & useHotkeys migration
- PanelStack2 migration
- Table 6.0 changes