---
title: "@floating-ui/dom 1.8.0 Breaking Changes on npm | Since.dev"
description: "What each @floating-ui/dom release removed, renamed or changed: 37 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@floating-ui/dom
last_updated: 2026-12-04
---

# @floating-ui/dom breaking changes

@floating-ui/dom 1.8.0 (July 11, 2026) is its newest release with breaking changes, 21 of them. The first: Signature changed AutoPlacementOptions.boundary. Every breaking API change we have recorded in @floating-ui/dom on npm: 37 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

Latest version `1.8.0`, released July 11, 2026. [Source repository](https://github.com/floating-ui/floating-ui)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.5.0](#v-0-5-0) to [1.8.0](#v-1-8-0): 22 breaking changes in 2 versions.

## @floating-ui/dom 1.8.0 breaking changes

@floating-ui/dom 1.8.0, released July 11, 2026: 21 breaking changes.

- **Signature changed** `AutoPlacementOptions.boundary`  

Was boundary?: Boundary; now boundary?: Boundary | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `AutoUpdateOptions.ancestorResize`  

Was ancestorResize?: boolean; now ancestorResize?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `AutoUpdateOptions.ancestorScroll`  

Was ancestorScroll?: boolean; now ancestorScroll?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `AutoUpdateOptions.animationFrame`  

Was animationFrame?: boolean; now animationFrame?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `AutoUpdateOptions.elementResize`  

Was elementResize?: boolean; now elementResize?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `AutoUpdateOptions.layoutShift`  

Was layoutShift?: boolean; now layoutShift?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `ComputePositionConfig`  

Was type ComputePositionConfig = Prettify\<Omit\<ComputePositionConfig_2, 'middleware' | 'platform'> & {middleware?: Array\<Middleware | null | undefined | false>; platform?: Platform;}>; now type ComputePositionConfig =... [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `ComputePositionConfig.middleware`  

Was middleware?: Array\<Middleware | null | undefined | false>; now middleware?: Array\<Middleware | null | undefined | false> | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `ComputePositionConfig.platform`  

Was platform?: Platform; now platform?: Platform | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `DetectOverflowOptions`  

Was type DetectOverflowOptions = Prettify\<Omit\<DetectOverflowOptions_2, 'boundary'> & {boundary?: Boundary;}>; now type DetectOverflowOptions = Prettify\<Omit\<DetectOverflowOptions_2, 'boundary'> & {boundary?: Boundary | undefined;}>. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `DetectOverflowOptions.boundary`  

Was boundary?: Boundary; now boundary?: Boundary | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `FlipOptions.boundary`  

Was boundary?: Boundary; now boundary?: Boundary | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `HideOptions.boundary`  

Was boundary?: Boundary; now boundary?: Boundary | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `Platform.convertOffsetParentRelativeRectToViewportRelativeRect`  

Was convertOffsetParentRelativeRectToViewportRelativeRect: (args: {elements?: Elements; rect: Rect; offsetParent: Element; strategy: Strategy;}) => Promisable\<Rect>; now convertOffsetParentRelativeRectToViewportRelativeRect: (args... [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `Platform.detectOverflow`  

Was detectOverflow?: typeof detectOverflow_2; now detectOverflow?: typeof detectOverflow_2 | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `ShiftOptions.boundary`  

Was boundary?: Boundary; now boundary?: Boundary | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `SizeOptions`  

Was type SizeOptions = Prettify\<Omit\<SizeOptions_2, 'apply' | 'boundary'> & DetectOverflowOptions & {apply?(args: MiddlewareState & {availableWidth: number; availableHeight: number;}): Promisable\<void>;}>; now type SizeOptions =... [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `SizeOptions.apply`  

Was apply?(args: MiddlewareState & {availableWidth: number; availableHeight: number;}): Promisable\<void>; now apply?: BivariantCallback<(args: MiddlewareState & {availableWidth: number; availableHeight: number;}) => Promisable\<void>> |... [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `SizeOptions.boundary`  

Was boundary?: Boundary; now boundary?: Boundary | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `VirtualElement.contextElement`  

Was contextElement?: Element; now contextElement?: Element | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)
- **Signature changed** `VirtualElement.getClientRects`  

Was getClientRects?(): Array\<ClientRectObject> | DOMRectList; now getClientRects?: (() => Array\<ClientRectObject> | DOMRectList) | undefined. [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.8.0)

## @floating-ui/dom 1.7.6 breaking changes

@floating-ui/dom 1.7.6, released March 3, 2026: 1 breaking change.

- **Signature changed** `autoUpdate`  

Was function autoUpdate(reference: ReferenceElement, floating: FloatingElement, update: () => void, options?: AutoUpdateOptions): () => void; now function autoUpdate(reference: ReferenceElement, floating: FloatingElement | null, update: ()... [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/1.7.6)

## @floating-ui/dom 0.5.0 breaking changes

@floating-ui/dom 0.5.0, released May 7, 2022: 15 breaking changes.

- **Removed**  

The "production" and "development" export conditions were removed. Use the new "browser" export condition instead. [github.com](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%400.5.0)
- **Removed** `src/index.ts:arrow`  

arrow was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:autoPlacement`  

autoPlacement was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:autoUpdate`  

autoUpdate was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:computePosition`  

computePosition was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:detectOverflow`  

detectOverflow was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:flip`  

flip was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:getOverflowAncestors`  

getOverflowAncestors was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:hide`  

hide was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)
- **Removed** `src/index.ts:inline`  

inline was removed in @floating-ui/dom 0.5.0 [npmjs.com](https://www.npmjs.com/package/@floating-ui/dom/v/0.5.0)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [@floating-ui/utils](https://since.dev/packages/npm/@floating-ui/utils.md)
- [@floating-ui/core](https://since.dev/packages/npm/@floating-ui/core.md)
- [@floating-ui/vue](https://since.dev/packages/npm/@floating-ui/vue.md)
- [@floating-ui/react](https://since.dev/packages/npm/@floating-ui/react.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
