---
title: "@floating-ui/utils 0.2.12 Breaking Changes on npm"
description: "What each @floating-ui/utils release removed, renamed or changed: 4 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@floating-ui/utils
last_updated: 2026-12-04
---

# @floating-ui/utils breaking changes

@floating-ui/utils 0.2.12 (July 11, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed expandPaddingObject. Every breaking API change we have recorded in @floating-ui/utils on npm: 4 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.2.12`, 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.2.11](#v-0-2-11) to [0.2.12](#v-0-2-12): 3 breaking changes in 1 version.

## @floating-ui/utils 0.2.12 breaking changes

@floating-ui/utils 0.2.12, released July 11, 2026: 3 breaking changes.

- **Signature changed** `expandPaddingObject`  

Was function expandPaddingObject(padding: Partial\<SideObject>): SideObject; now function expandPaddingObject(padding: Exclude\<Padding, number>): SideObject. [npmjs.com](https://www.npmjs.com/package/@floating-ui/utils/v/0.2.12)
- **Signature changed** `Padding`  

Was type Padding = number | Prettify\<Partial\<SideObject>>; now type Padding = number | Prettify<{\[K in Side\]?: number | undefined;}>. [npmjs.com](https://www.npmjs.com/package/@floating-ui/utils/v/0.2.12)
- **Signature changed** `VirtualElement.getClientRects`  

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

## @floating-ui/utils 0.2.11 breaking changes

@floating-ui/utils 0.2.11, released March 3, 2026: 1 breaking change.

- **Behavior changed**  

Elements with container-type set are no longer treated as containing blocks, so positions computed for them may change. Check any floating element positioning that relies on those elements. [github.com](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/utils%400.2.11)

## Related packages

- [@floating-ui/core](https://since.dev/packages/npm/@floating-ui/core.md)
- [@floating-ui/dom](https://since.dev/packages/npm/@floating-ui/dom.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.
