Skip to content

Bump @dnd-kit/react from 0.3.2 to 0.4.0 - #233

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dnd-kit/react-0.4.0
Open

Bump @dnd-kit/react from 0.3.2 to 0.4.0#233
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dnd-kit/react-0.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Copy link
Copy Markdown
Contributor

Bumps @dnd-kit/react from 0.3.2 to 0.4.0.

Release notes

Sourced from @​dnd-kit/react's releases.

@​dnd-kit/react@​0.4.0

Minor Changes

  • #1915 9b24dff Thanks @​clauderic! - Redesign event type system to follow the DOM EventMap pattern. Introduces DragDropEventMap for event object types and DragDropEventHandlers for event handler signatures, replacing the ambiguously named DragDropEvents. Event type aliases (CollisionEvent, DragStartEvent, etc.) now derive directly from DragDropEventMap rather than using Parameters<> extraction.

    Migration guide

    • DragDropEvents has been split into two types:
      • DragDropEventMap — maps event names to event object types (like WindowEventMap)
      • DragDropEventHandlers — maps event names to (event, manager) => void handler signatures
    • If you were importing DragDropEvents to type event objects, use DragDropEventMap instead:
      // Before
      type MyEvent = Parameters<DragDropEvents<D, P, M>['dragend']>[0];
      // After
      type MyEvent = DragDropEventMap<D, P, M>['dragend'];
    • If you were importing DragDropEvents to type event handlers, use DragDropEventHandlers instead:
      // Before
      const handler: DragDropEvents<D, P, M>['dragend'] = (event, manager) => {};
      // After
      const handler: DragDropEventHandlers<D, P, M>['dragend'] = (
        event,
        manager
      ) => {};
    • The DragDropEvents re-export from @dnd-kit/react and @dnd-kit/solid has been removed. Import DragDropEventMap or DragDropEventHandlers from @dnd-kit/abstract directly if needed.
    • Convenience aliases (CollisionEvent, DragStartEvent, DragEndEvent, etc.) are unchanged and continue to work as before.
  • #1938 e69387d Thanks @​clauderic! - Added per-entity plugin configuration and moved feedback from the Draggable entity to the Feedback plugin.

    Draggable entities now accept a plugins property for per-entity plugin configuration, using the existing Plugin.configure() pattern. Plugins can read per-entity options via source.pluginConfig(PluginClass).

    The feedback property ('default' | 'move' | 'clone' | 'none') has been moved from the Draggable entity to FeedbackOptions. Drop animation can also now be configured per-draggable.

    Plugins listed in an entity's plugins array are auto-registered on the manager if not already present. The Sortable class now uses this generic mechanism instead of its own custom registration logic.

    Migration guide

    The feedback property has been moved from the draggable/sortable hook input to per-entity Feedback plugin configuration.

    Before:

    import {FeedbackType} from '@dnd-kit/dom';
    useDraggable({id: 'item', feedback: 'clone'});
    useSortable({id: 'item', index: 0, feedback: 'clone'});

... (truncated)

Commits
  • ebc564e Merge pull request #1907 from clauderic/changeset-release/main
  • 4f071cb Version Packages
  • 5e7735f Merge pull request #2001 from lixiaoyan/feat/feedback-callback
  • 412047b Merge pull request #2007 from clauderic/chore/upgrade-turborepo
  • cf33af0 chore: remove turborepo agent skill from repo
  • 7a02b46 chore: upgrade turborepo from 2.5.2 to 2.9.0
  • fab49db Merge pull request #2006 from clauderic/claude/docs-mobile-fixes
  • 2d2bb7a Add GitHub icon to mobile header
  • 671a95a Pure CSS CodeGroup tabs — zero JavaScript for tab switching
  • f1423c0 Fix CodeGroup: SSR-only Shiki with DOM-based tab switching
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 23, 2026
@netlify

netlify Bot commented Apr 23, 2026

Copy link
Copy Markdown

Deploy Preview for servicestart ready!

Name Link
🔨 Latest commit aa1dc15
🔍 Latest deploy log https://app.netlify.com/projects/servicestart/deploys/6a09d9ce9cae280008da715b
😎 Deploy Preview https://deploy-preview-233--servicestart.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@greptile-apps

greptile-apps Bot commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR bumps @dnd-kit/react from 0.3.2 to 0.4.0 (minor version), along with transitive updates to its sub-packages and indirect deps (@azure/msal-*, @preact/signals-core). The 0.4.0 release includes two breaking changes — renamed event types (DragDropEventsDragDropEventMap/DragDropEventHandlers) and the feedback property moving to FeedbackOptions — but neither is exercised in this codebase: DashboardLayoutBuilder.tsx only imports DragDropProvider, DragOverlay, useDraggable, and useDroppable, and calls useDraggable with only { id }, so no migration steps are required.

Confidence Score: 5/5

Safe to merge — no breaking changes affect the codebase's usage of the library.

The only consumer of @dnd-kit/react is DashboardLayoutBuilder.tsx, which uses useDraggable({id}) without the removed feedback prop and does not import the renamed DragDropEvents type. Both breaking changes in 0.4.0 are irrelevant to this codebase. Transitive lockfile updates to @azure/msal-* and @preact/signals-core are patch/minor bumps with no API changes that affect the project.

No files require special attention.

Important Files Changed

Filename Overview
package.json Version specifier for @dnd-kit/react bumped from ^0.3.2 to ^0.4.0; change is minimal and correct.
pnpm-lock.yaml Lockfile updated for all @dnd-kit/* sub-packages (0.3.2 → 0.4.0), @preact/signals-core (1.14.0 → 1.14.1), and @azure/msal-* indirect deps; all resolutions look consistent.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["@dnd-kit/react@0.4.0"] --> B["@dnd-kit/abstract@0.4.0"]
    A --> C["@dnd-kit/dom@0.4.0"]
    A --> D["@dnd-kit/state@0.4.0"]
    B --> E["@dnd-kit/geometry@0.4.0"]
    B --> D
    C --> B
    C --> F["@dnd-kit/collision@0.4.0"]
    C --> E
    C --> D
    F --> B
    F --> E
    D --> G["@preact/signals-core@1.14.1"]
    H["DashboardLayoutBuilder.tsx"] -->|"useDraggable({id})\nuseDroppable\nDragDropProvider\nDragOverlay"| A
    style H fill:#d4edda,stroke:#28a745
    style A fill:#cce5ff,stroke:#004085
Loading

Reviews (1): Last reviewed commit: "Bump @dnd-kit/react from 0.3.2 to 0.4.0" | Re-trigger Greptile

Bumps [@dnd-kit/react](https://github.com/clauderic/dnd-kit) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/clauderic/dnd-kit/releases)
- [Commits](https://github.com/clauderic/dnd-kit/compare/@dnd-kit/react@0.3.2...@dnd-kit/react@0.4.0)

---
updated-dependencies:
- dependency-name: "@dnd-kit/react"
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/dnd-kit/react-0.4.0 branch from c310e09 to aa1dc15 Compare May 17, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants