@tauri-apps/api breaking changes
@tauri-apps/api 2.13.0 (November 28, 2026) is its newest release with breaking changes, 4 of them. The first: The pacman bundle target is now included in the all targets setting in @tauri-apps/api 2.13.0. Every breaking API change we have recorded in @tauri-apps/api on npm: 13 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
On this page
Latest version 2.13.0, released November 28, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@tauri-apps/api 2.13.0 breaking changes
- Behavior changed
Linux builds that bundle all targets now also produce a pacman package. List targets explicitly in bundle > targets to opt out. github.com - Behavior changed
Window.setPosition
APIs that take a Size or Position only accept whole physical pixels. Round values with the new round methods before passing them. github.com - Behavior changed
Window.setSize
APIs that take a Size or Position only accept whole physical pixels. Round values with the new round methods before passing them. github.com - Signature changed
menu.PredefinedMenuItemOptions.item
Was item: 'Separator' | 'Copy' | 'Cut' | 'Paste' | 'SelectAll' | 'Undo' | 'Redo' | 'Minimize' | 'Maximize' | 'Fullscreen' | 'Hide' | 'HideOthers' | 'ShowAll' | 'CloseWindow' | 'Quit' | 'Services' | 'BringAllToFront' | {About: AboutMetadata... npmjs.com
@tauri-apps/api 2.12.0 breaking changes
- Signature changed
image.Image.rgba
Was rgba(): Promise<Uint8Array>; now rgba(): Promise<Uint8Array<ArrayBuffer>>. npmjs.com - Signature changed
image.MenuIcon
Was type MenuIcon = NativeIcon | string | Image | Uint8Array | ArrayBuffer | number[]; now type MenuIcon = JsImage | NativeIcon. npmjs.com - Signature changed
image.transformImage
Was function transformImage<T>(image: string | Image | Uint8Array | ArrayBuffer | number[] | null): T; now function transformImage<T>(image: JsImage | null): T. npmjs.com - Signature changed
menu.AboutMetadata.icon
Was icon?: string | Uint8Array | ArrayBuffer | number[] | Image; now icon?: JsImage. npmjs.com - Signature changed
tray.TrayIcon.setIcon
Was setIcon(icon: string | Image | Uint8Array | ArrayBuffer | number[] | null): Promise<void>; now setIcon(icon: JsImage | null): Promise<void>. npmjs.com - Signature changed
tray.TrayIcon.setIconWithAsTemplate
Was setIconWithAsTemplate(icon: string | Image | Uint8Array | ArrayBuffer | number[] | null, asTemplate: boolean): Promise<void>; now setIconWithAsTemplate(icon: JsImage | null, asTemplate: boolean): Promise<void>. npmjs.com - Signature changed
tray.TrayIconOptions.icon
Was icon?: string | Uint8Array | ArrayBuffer | number[] | Image; now icon?: JsImage. npmjs.com - Signature changed
window.Window.setIcon
Was setIcon(icon: string | Image | Uint8Array | ArrayBuffer | number[]): Promise<void>; now setIcon(icon: JsImage): Promise<void>. npmjs.com - Signature changed
window.Window.setOverlayIcon
Was setOverlayIcon(icon?: string | Image | Uint8Array | ArrayBuffer | number[]): Promise<void>; now setOverlayIcon(icon?: JsImage): Promise<void>. npmjs.com
Related packages
- @tauri-apps/cli
- tauri on crates.io
- tauri-build on crates.io
- tauri-utils on crates.io
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.