unstale

npm / @dnd-kit/abstract

@dnd-kit/abstract

What changed in @dnd-kit/abstract 0.4 to 0.5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

5 breaking4 new APIs and options5 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

@dnd-kit/abstract 0.53 changes

New APIs and options 1

Fixes and other changes 2

  • Fixes stale initialIndex and initialGroup values in onBeforeDragStart after the item has moved.

    0.5.1release notes

  • The return type of the plugin configurator now supplies the correct Options type.

    0.5.0release notes

@dnd-kit/abstract 0.411 changes

Breaking changes 5

  • Provides event handler signatures, replacing use of DragDropEvents for typing event handlers.

    0.4.0release notes

  • Provides a mapping from event names to event object types, replacing use of DragDropEvents for typing event objects.

    0.4.0release notes

  • The ambiguous type is replaced by DragDropEventMap for event objects and DragDropEventHandlers for handler signatures.

    0.4.0release notes

  • The feedback setting moves from the Draggable entity to Feedback plugin configuration.

    0.4.0release notes

  • When an element is both draggable and droppable, onDragStart now fires before onDragOver.

    0.4.0release notes

New APIs and options 3

  • Drop animation can be configured per-draggable through Feedback plugin configuration.

    0.4.0release notes

  • Plugins can read per-entity options through source.pluginConfig(PluginClass).

    0.4.0release notes

  • Draggable entities accept per-entity plugin configuration using the existing Plugin.configure() pattern; listed plugins are registered on the manager if needed.

    0.4.0release notes

Fixes and other changes 3

  • Entity id changes are deferred to a microtask and flushed atomically, preventing collision oscillation and cleaning up stale registry entries.

    0.4.0release notes

  • Deduplicating configured plugins no longer moves them to the end of the registration list, preserving dependencies such as Feedback resolving StyleInjector during construction.

    0.4.0release notes

  • The type of the source.data object is inferred from its type argument.

    0.4.0release notes