@excalidraw/excalidraw breaking changes
@excalidraw/excalidraw 0.18.0 (March 10, 2025) is its newest release with breaking changes, 28 of them. The first: Removed ExcalidrawEmbeddableElement.validated. Every breaking API change we have recorded in @excalidraw/excalidraw on npm: 42 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.18.1, released April 20, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@excalidraw/excalidraw 0.18.0 breaking changes
- Removed
ExcalidrawEmbeddableElement.validated
The attribute moved to private editor state; code reading it must stop, while props.validateEmbeddable still applies. github.com - Removed
ExcalidrawTextElement.baseline
Vertical text offset is now computed from font metrics; custom fonts need FONT_METRICS extended with related properties. github.com - Behavior changed
The package is built for react@19, so apps on older React versions may need to upgrade. github.com - Behavior changed
The dist folder now contains ESM bundles, so environments must support ES modules; you may need to set "type": "module" in package.json or use a script type="module". github.com - Behavior changed
Bundlers expecting fully specified import paths need resolve.fullySpecified set to false; Create React App no longer works without ejecting or a workaround. github.com - Behavior changed
Fonts now load from esm.run by default; self-hosting requires copying dist/prod/fonts and setting window.EXCALIDRAW_ASSET_PATH. github.com - Behavior changed
LibraryPersistenceAdapter.load
The load() source option was changed to priority. github.com - Behavior changed
renderCustomStats
Custom renderCustomStats output may need style adjustments to keep the same layout. github.com - Behavior changed
useHandleLibrary
Use opts.adapter instead of opts.getInitialLibraryItems for library initialization. github.com - Configuration changed
Using "node" or "node10" moduleResolution in tsconfig.json no longer works because they ignore package.json exports; use "bundler", "node16" or "nodenext" instead. github.com - Signature changed
Button
Was const Button: ({type, onSelect, selected, children, className, ...rest}: ButtonProps) => JSX.Element; now const Button: ({type, onSelect, selected, children, className, ...rest}: ButtonProps) => import("react/jsx-runtime").JSX.Element. npmjs.com - Signature changed
convertToExcalidrawElements
Was const convertToExcalidrawElements: (elementsSkeleton: ExcalidrawElementSkeleton[] | null, opts?: {regenerateIds: boolean;}) => ExcalidrawElement[]; now const convertToExcalidrawElements: (elementsSkeleton: ExcalidrawElementSkeleton[] |... npmjs.com - Signature changed
DefaultSidebar
Was const DefaultSidebar: import("react").FC<Omit<MarkOptional<Omit<{name: string; children: import("react").ReactNode; onStateChange?: ((state: {name: string; tab?: string | undefined;} | null) => void) | undefined; onDock?: ((docked... npmjs.com - Signature changed
DefaultSidebar.Triggers
DefaultSidebar.Triggers accepts only children now; other props must be removed. github.com - Signature changed
Excalidraw
Was const Excalidraw: React.MemoExoticComponent<(props: ExcalidrawProps) => JSX.Element>; now const Excalidraw: React.MemoExoticComponent<(props: ExcalidrawProps) => import("react/jsx-runtime").JSX.Element>. npmjs.com - Signature changed
FONT_FAMILY
Was const FONT_FAMILY: {Virgil: number; Helvetica: number; Cascadia: number; Assistant: number;}; now const FONT_FAMILY: {Virgil: number; Helvetica: number; Cascadia: number; Excalifont: number; Nunito: number; "Lilita One": number; "Comic... npmjs.com - Signature changed
Footer
Was const FooterCenter: {({children}: {children?: React.ReactNode;}): JSX.Element; displayName: string;}; now const FooterCenter: {({children}: {children?: React.ReactNode;}): import("react/jsx-runtime").JSX.Element; displayName: string;}. npmjs.com - Signature changed
getCommonBounds
Was const getCommonBounds: (elements: readonly ExcalidrawElement[]) => Bounds; now const getCommonBounds: (elements: readonly ExcalidrawElement[], elementsMap?: ElementsMap) => Bounds. npmjs.com - Signature changed
getNonDeletedElements
Was const getNonDeletedElements: (elements: readonly ExcalidrawElement[]) => readonly NonDeletedExcalidrawElement[]; now const getNonDeletedElements: <T extends ExcalidrawElement>(elements: readonly T[]) => readonly NonDeleted<T>[]. npmjs.com - Signature changed
LiveCollaborationTrigger
Was const LiveCollaborationTrigger: {({isCollaborating, onSelect, ...rest}: {isCollaborating: boolean; onSelect: () => void;} & import("react").ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element; displayName: string;}; now const... npmjs.com - Signature changed
MainMenu
Was const MainMenu: React.FC<{children?: React.ReactNode; onSelect?: ((event: Event) => void) | undefined;} & {__fallback?: boolean | undefined;}> & {Trigger: {({className, children, onToggle, title, ...rest}: {className?: string |... npmjs.com - Signature changed
MIME_TYPES
Was const MIME_TYPES: {readonly svg: "image/svg+xml"; readonly png: "image/png"; readonly jpg: "image/jpeg"; readonly gif: "image/gif"; readonly webp: "image/webp"; readonly bmp: "image/bmp"; readonly ico: "image/x-icon"; readonly avif... npmjs.com - Signature changed
mutateElement
Was const mutateElement: <TElement extends Mutable<ExcalidrawElement>>(element: TElement, updates: ElementUpdate<TElement>, informMutation?: boolean) => TElement; now const mutateElement: <TElement extends... npmjs.com - Signature changed
newElementWith
Was const newElementWith: <TElement extends ExcalidrawElement>(element: TElement, updates: ElementUpdate<TElement>) => TElement; now const newElementWith: <TElement extends ExcalidrawElement>(element: TElement, updates... npmjs.com - Signature changed
restoreElements
Was const restoreElements: (elements: ImportedDataState["elements"], localElements: readonly ExcalidrawElement[] | null | undefined, opts?: {refreshDimensions?: boolean; repairBindings?: boolean;} | undefined) => ExcalidrawElement[]; now... npmjs.com - Signature changed
Sidebar
Was const Sidebar: React.ForwardRefExoticComponent<{name: string; children: React.ReactNode; onStateChange?: ((state: {name: string; tab?: string | undefined;} | null) => void) | undefined; onDock?: ((docked: boolean) => void) | undefined... npmjs.com - Signature changed
useHandleLibrary
Was const useHandleLibrary: ({excalidrawAPI, getInitialLibraryItems}: {excalidrawAPI: ExcalidrawImperativeAPI | null; getInitialLibraryItems?: (() => LibraryItemsSource) | undefined;}) => void; now const useHandleLibrary: (opts... npmjs.com - Signature changed
WelcomeScreen
Was const WelcomeScreen: {(props: {children?: React.ReactNode;}): JSX.Element; displayName: string; Center: {({children}: {children?: import("react").ReactNode;}): JSX.Element; displayName: string; Logo: {({children}: {children?... npmjs.com
@excalidraw/excalidraw 0.17.3 breaking changes
- Configuration changed
process.env.IS_PREACT
When building with Vite, process.env.IS_PREACT must be defined as the string "true" rather than a boolean. Vite configs that set it differently need to be updated. github.com
@excalidraw/excalidraw 0.17.0 breaking changes
- Removed
ready
The ready API was discontinued as superfluous; stop calling it. github.com - Removed
readyPromise
The readyPromise API was discontinued as superfluous; stop using it. github.com - Removed
Ref
Refs are no longer supported; use the excalidrawAPI prop instead. github.com - Behavior changed
useDevice
The return value now differentiates between editor and viewport breakpoints; update code that reads it. github.com - Configuration changed
process.env.IS_PREACT
Hosts that use Preact must set process.env.IS_PREACT to true and expose it in their build config. github.com - Signature changed
bumpVersion
Was const bumpVersion: (element: Mutable<ExcalidrawElement>, version?: ExcalidrawElement["version"]) => Mutable<ExcalidrawElement>; now const bumpVersion: <T extends Mutable<ExcalidrawElement>>(element: T, version?... npmjs.com - Signature changed
convertToExcalidrawElements
Was const convertToExcalidrawElements: (elements: ExcalidrawElementSkeleton[] | null) => ExcalidrawElement[]; now const convertToExcalidrawElements: (elementsSkeleton: ExcalidrawElementSkeleton[] | null, opts?: {regenerateIds: boolean;})... npmjs.com - Signature changed
Excalidraw
Was const Excalidraw: React.MemoExoticComponent<React.ForwardRefExoticComponent<PublicExcalidrawProps & React.RefAttributes<ExcalidrawAPIRefValue>>>; now const Excalidraw: React.MemoExoticComponent<(props: ExcalidrawProps) => JSX.Element>. npmjs.com - Signature changed
exportToCanvas
Was const exportToCanvas: ({elements, appState, files, maxWidthOrHeight, getDimensions, exportPadding}: ExportOpts & {exportPadding?: number | undefined;}) => Promise<HTMLCanvasElement>; now const exportToCanvas: ({elements, appState... npmjs.com - Signature changed
exportToSvg
Was const exportToSvg: ({elements, appState, files, exportPadding, renderEmbeddables}: Omit<ExportOpts, "getDimensions"> & {exportPadding?: number | undefined; renderEmbeddables?: boolean | undefined;}) => Promise<SVGSVGElement>; now const... npmjs.com
And 3 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.