Skip to content

Javascript dependency: Bump react-arborist from 3.16.0 to 5.0.0 in /web - #10948

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/web/react-arborist-5.0.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/web/react-arborist-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 4, 2026

Copy link
Copy Markdown
Contributor

Bumps react-arborist from 3.16.0 to 5.0.0.

Release notes

Sourced from react-arborist's releases.

v5.0.0

Breaking Changes

  • Replace react-dnd and react-dnd-html5-backend with @dnd-kit/core (^6.3.1) as a peer dependency, removing the global HTML5 backend singleton conflict (#319) so each <Tree> owns its <DndContext>. Node renderers using ref={dragHandle} keep working unchanged while custom renderRow components receive drag listeners on attrs (and must spread {...attrs} while composing pointer/mouse/touch handlers); <DragOverlay> now renders drag previews so DragPreviewProps drops offset and mouse and the preview mounts only during an active drag with isDragging always true (so previews that animated out on isDragging === false will not get that render); XYCoord is defined locally; pointer-only sensors (no KeyboardSensor) and accessibility props are added; dndBackend, dndManager, dndRootElement, and dragType are removed rather than deprecated; and capabilities tied to react-dnd or native HTML5 drag and drop (external react-dnd targets, OS/cross-app drops, iframe dndRootElement, and shared multi-tree <DndContext> tracked in #396) are dropped (see "Migrating from v4" in the README). (#391)

v4.1.2

Fixes

  • Selection add and remove copy the selection Set instead of mutating the previous one, so an earlier selectedIds snapshot stays unchanged after the next select or deselect. TreeProvider also uses each store's own state as its SSR snapshot instead of sharing one module-level state object across tree instances. (#400)

v4.1.1

Fixes

  • Keyboard shortcuts no longer corrupt type-to-find: PageDown used to fall through and append the literal string "PageDown" to the search term, and other non-character keys and modifier shortcuts are now ignored as well. AltGr and macOS Option-composed letters still reach the search. Each tree also keeps its own search term instead of sharing one term across every tree on the page.

A without an onCreate handler now runs type-to-find instead of doing nothing, matching what a plain character does.

Backspace now deletes the visible selected rows rather than the focused row when the two differ (arrowing moves focus without selecting, and selected rows hidden by a search filter or collapsed folder are skipped), falling back to the focused row when no visible row is selected. Deleted ids are also cleared from the selection so pressing Backspace again deletes the newly focused row, and focus moves to the nearest visible row that survives the deletion (skipping descendants inside a selected folder, or moving to the previous visible row at the end of root).

Internally, the keyboard commands moved into one table of small handlers, so the tree's keydown branch is no longer 200 lines long, and the duplicated computeDrop branches are merged. (#399)

v4.1.0

Features

  • tree.scrollTo() no longer swallows errors thrown while scrolling to a node. It still ignores the case where the id never appears, but any other error now rejects the returned promise instead of failing silently. Scrolls that focusing, selecting or editing a node start on their own still never reject. It also always returns a promise now, including when the id is empty. (#407)

Fixes

  • A newer tree.scrollTo() call now replaces an older one that is still waiting for its row, so the list no longer jumps back to the older target when that row appears later. Scrolls that focusing or selecting a node start never replace a pending call. (#407)

v4.0.2

Fixes

  • tree.scrollTo() no longer keeps polling every 10 ms for the life of the page when the id never appears in the tree; it stops once it gives up (issue #403). (#404)

v4.0.1

Fixes

  • Dragging no longer makes the drag preview lag behind the pointer: hovers reach the store at most once per animation frame, and only rows whose drop highlight changes re-render. (The internal tree.state.nodes.drag.destinationParentId / destinationIndex fields moved to tree.state.dnd; use tree.dragDestinationParent / tree.dragDestinationIndex instead.) (#385)

v4.0.0

Breaking Changes

  • react-dnd and react-dnd-html5-backend are now peer dependencies instead of bundled dependencies — install them alongside react-arborist (npm install react-arborist react-dnd react-dnd-html5-backend). This fixes a global singleton conflict (#319) where apps that also used react-dnd ended up with two independent copies of the library, causing drag-and-drop to silently break or throw "Cannot have two HTML5 backends at the same time." Both peers must be v16 (^16), and both are required even when you pass your own dndBackend / dndManager, because the drag

... (truncated)

Changelog

Sourced from react-arborist's changelog.

Version 5.0.0

Breaking Changes

  • Replace react-dnd and react-dnd-html5-backend with @dnd-kit/core (^6.3.1) as a peer dependency, removing the global HTML5 backend singleton conflict (#319) so each <Tree> owns its <DndContext>. Node renderers using ref={dragHandle} keep working unchanged while custom renderRow components receive drag listeners on attrs (and must spread {...attrs} while composing pointer/mouse/touch handlers); <DragOverlay> now renders drag previews so DragPreviewProps drops offset and mouse and the preview mounts only during an active drag with isDragging always true (so previews that animated out on isDragging === false will not get that render); XYCoord is defined locally; pointer-only sensors (no KeyboardSensor) and accessibility props are added; dndBackend, dndManager, dndRootElement, and dragType are removed rather than deprecated; and capabilities tied to react-dnd or native HTML5 drag and drop (external react-dnd targets, OS/cross-app drops, iframe dndRootElement, and shared multi-tree <DndContext> tracked in #396) are dropped (see "Migrating from v4" in the README). (#391)

Version 4.1.2

Fixes

  • Selection add and remove copy the selection Set instead of mutating the previous one, so an earlier selectedIds snapshot stays unchanged after the next select or deselect. TreeProvider also uses each store's own state as its SSR snapshot instead of sharing one module-level state object across tree instances. (#400)

Version 4.1.1

Fixes

  • Keyboard shortcuts no longer corrupt type-to-find: PageDown used to fall through and append the literal string "PageDown" to the search term, and other non-character keys and modifier shortcuts are now ignored as well. AltGr and macOS Option-composed letters still reach the search. Each tree also keeps its own search term instead of sharing one term across every tree on the page.

A without an onCreate handler now runs type-to-find instead of doing nothing, matching what a plain character does.

Backspace now deletes the visible selected rows rather than the focused row when the two differ (arrowing moves focus without selecting, and selected rows hidden by a search filter or collapsed folder are skipped), falling back to the focused row when no visible row is selected. Deleted ids are also cleared from the selection so pressing Backspace again deletes the newly focused row, and focus moves to the nearest visible row that survives the deletion (skipping descendants inside a selected folder, or moving to the previous visible row at the end of root).

Internally, the keyboard commands moved into one table of small handlers, so the tree's keydown branch is no longer 200 lines long, and the duplicated computeDrop branches are merged. (#399)

Version 4.1.0

Features

  • tree.scrollTo() no longer swallows errors thrown while scrolling to a node. It still ignores the case where the id never appears, but any other error now rejects the returned promise instead of failing silently. Scrolls that focusing, selecting or editing a node start on their own still never reject. It also always returns a promise now, including when the id is empty. (#407)

Fixes

  • A newer tree.scrollTo() call now replaces an older one that is still waiting for its row, so the list no longer jumps back to the older target when that row appears later. Scrolls that focusing or selecting a node start never replace a pending call. (#407)

Version 4.0.2

Fixes

  • tree.scrollTo() no longer keeps polling every 10 ms for the life of the page when the id never appears in the tree; it stops once it gives up (issue #403). (#404)

Version 4.0.1

Fixes

  • Dragging no longer makes the drag preview lag behind the pointer: hovers reach the store at most once per animation frame, and only rows whose drop highlight changes re-render. (The internal tree.state.nodes.drag.destinationParentId / destinationIndex fields moved to tree.state.dnd; use tree.dragDestinationParent / tree.dragDestinationIndex instead.) (#385)

Version 4.0.0

Breaking Changes

... (truncated)

Commits
  • 6821f8b v5.0.0
  • 93b9d9b Migrate drag and drop from react-dnd to @​dnd-kit (#391)
  • c3cd170 v4.1.2
  • cfe1a07 Untangle the one circular import and the patterns that add more (#400)
  • 80bcff8 v4.1.1
  • acbec19 Simplify keyboard handling and dedupe computeDrop branches (#399)
  • 45dd6a6 v4.1.0
  • 1178400 Surface scrollTo scroll errors and let a newer scrollTo replace an older one ...
  • b6424d5 Wait a frame between dragover and drop in the e2e drag helpers (#409)
  • 2049d21 Make e2e specs wait for hydration before touching the statically exported sho...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-arborist](https://github.com/jameskerr/react-arborist) from 3.16.0 to 5.0.0.
- [Release notes](https://github.com/jameskerr/react-arborist/releases)
- [Changelog](https://github.com/jameskerr/react-arborist/blob/main/CHANGELOG.md)
- [Commits](jameskerr/react-arborist@v3.16.0...v5.0.0)

---
updated-dependencies:
- dependency-name: react-arborist
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the Dependencies Pull requests that update a dependency file label Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants