unstale

npm / @pixi/ui

@pixi/ui

What changed in @pixi/ui 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.

13 breaking5 new APIs and options1 performance1 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.12 on npm

@pixi/ui 222 changes

Breaking changes 13

  • ScrollBox declarations no longer expose a NodeJS.Timeout field, so browser projects without @types/node can type-check with skipLibCheck off.

    2.4.1release notes

  • Assigning null to view is ignored and keeps the current view instead of throwing.

    2.4.0release notes

  • Throws a clear error for an undefined child instead of failing later.

    2.4.0release notes

  • Typed text now comes from the hidden native field's input event, so typing no longer calls subclass methods that previously customized it.

    2.4.0release notes

  • Setting value while the user is editing now updates the field being edited, without emitting onChange.

    2.4.0release notes

  • Removed from Input's protected API.

    2.4.0release notes

  • Children with an anchor or pivot are positioned by their visual corner; children without one are unaffected.

    2.4.0release notes

  • No longer receives the event; subclasses that filter or rewrite characters can adjust this.input.value before calling super.onInput().

    2.4.0release notes

  • Renamed to onKeyDown, matching the event it was always bound to.

    2.4.0release notes

  • Removed from Input's protected API.

    2.4.0release notes

  • Scroll limits now follow the ScrollBox's current size.

    2.4.0release notes

  • Sizes itself to its content; explicit width and height take precedence, and 0 is treated as a real value.

    2.4.0release notes

  • The package is no longer needed; signals are built in, and the UMD bundle no longer needs a typedSignals global.

    2.4.0release notes

New APIs and options 5

  • Elements now support container options.

    2.4.0release notes

  • Adds a modal drawer component with container options support.

    2.4.0release notes

  • Adds the inputAttributes option for configuring the hidden native field used by Input.

    2.4.0release notes

  • Signal is now built in and exported from @pixi/ui; use it instead of the incompatible Signal type from typed-signals.

    2.4.0release notes

  • SignalConnection is now exported from @pixi/ui.

    2.4.0release notes

Performance 1

  • Bulk addItems adds items in one pass instead of one at a time.

    2.4.0release notes

Behavior and default changes 1

Fixes and other changes 2

  • The UMD bundle now uses tweedle.js’s actual global, so loading the scripts in order no longer leaves PIXI.ui undefined.

    2.4.1release notes

  • Fixes type settings.

    2.3.2release notes