fix(deps): update dependency @react-three/drei to v10#11
fix(deps): update dependency @react-three/drei to v10#11
Conversation
|
📝 WalkthroughWalkthroughUpdated Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@package.json`:
- Around line 16-18: The dependency mismatch between `@react-three/drei` (v10) and
`@react-three/fiber` (v8) must be resolved; either upgrade React to 19 and bump
`@react-three/fiber` to ^9.0.0 and then update `@react-three/drei` to ^10.0.0
(verify app compatibility and run tests), or revert `@react-three/drei` to a v9
release that supports `@react-three/fiber`@^8 (change "@react-three/drei" to a
^9.x version in package.json), run package install, and validate the app; choose
the revert-to-v9 path if you cannot migrate to React 19 now.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
package.json
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
| "@emailjs/browser": "^4.4.1", | ||
| "@react-three/drei": "^9.121.2", | ||
| "@react-three/drei": "^10.0.0", | ||
| "@react-three/fiber": "^8.17.12", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Query npm registry for peerDependencies
echo "=== `@react-three/drei`@10.0.0 peerDependencies ==="
npm view `@react-three/drei`@10.0.0 peerDependencies --json 2>/dev/null || echo "Failed to query"
echo -e "\n=== `@react-three/fiber`@9.0.0 peerDependencies ==="
npm view `@react-three/fiber`@9.0.0 peerDependencies --json 2>/dev/null || echo "Failed to query"
echo -e "\n=== `@react-three/fiber`@8.17.12 peerDependencies ==="
npm view `@react-three/fiber`@8.17.12 peerDependencies --json 2>/dev/null || echo "Failed to query"Repository: SamuelIVX/SamuelIVX.github.io
Length of output: 729
🏁 Script executed:
#!/bin/bash
# Check if package.json exists in repo and what React version is pinned
if [ -f "package.json" ]; then
echo "=== React version in project ==="
rg '"react":\s*' package.json -A 0
echo ""
echo "=== Full dependencies section ==="
cat package.json | head -50
fiRepository: SamuelIVX/SamuelIVX.github.io
Length of output: 1433
🌐 Web query:
@react-three/drei 10.0.0 peerDependencies @react-three/fiber requirements
💡 Result:
@react-three/drei@10.x declares a peer dependency on @react-three/fiber ^9.0.0 (example: @react-three/drei@10.0.3’s package.json). [1]
Also, I couldn’t find a stable @react-three/drei@10.0.0 published on npm—only 10.0.0-rc.* and then 10.0.1+. [2]
Sources:
[1] UNPKG @react-three/drei@10.0.3 package.json (peerDependencies) https://app.unpkg.com/@react-three/drei@10.0.3/files/package.json
[2] npm versions/tags showing 10.0.0-rc.* and 10.x latest https://www.npmjs.com/package/@react-three/drei?activeTab=versions
🌐 Web query:
@react-three/fiber 9.0.0 peerDependencies React version requirements
💡 Result:
For @react-three/fiber v9.x (including 9.0.0), the package’s peer dependency requirement for React is React 19:
react:^19.0.0react-dom:^19.0.0(peer, marked optional inpeerDependenciesMeta) [1][2]
Sources: the v9 peer dependency set is shown in the published package metadata for 9.3.0 [1] and 9.2.0 [2].
Resolve the @react-three/drei v10 peer dependency mismatch with @react-three/fiber v8.
@react-three/drei@10.x requires @react-three/fiber@^9.0.0, but the project pins @react-three/fiber@^8.17.12. However, @react-three/fiber@9.x requires React 19, while the project is on React 18.3.1. This creates an unresolvable conflict.
You have two options:
Option A (full upgrade): Upgrade React and fiber together:
"react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react-dom": "^19.0.0",
"@react-three/fiber": "^8.17.12",
+ "react": "^19.0.0",(Verify application compatibility with React 19.)
Option B (revert drei): Keep drei on v9 until React 19 migration is ready:
- "@react-three/drei": "^10.0.0",
+ "@react-three/drei": "^9.121.2",
"@react-three/fiber": "^8.17.12",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "@emailjs/browser": "^4.4.1", | |
| "@react-three/drei": "^9.121.2", | |
| "@react-three/drei": "^10.0.0", | |
| "@react-three/fiber": "^8.17.12", | |
| "@emailjs/browser": "^4.4.1", | |
| "@react-three/drei": "^9.121.2", | |
| "@react-three/fiber": "^8.17.12", |
🤖 Prompt for AI Agents
In `@package.json` around lines 16 - 18, The dependency mismatch between
`@react-three/drei` (v10) and `@react-three/fiber` (v8) must be resolved; either
upgrade React to 19 and bump `@react-three/fiber` to ^9.0.0 and then update
`@react-three/drei` to ^10.0.0 (verify app compatibility and run tests), or revert
`@react-three/drei` to a v9 release that supports `@react-three/fiber`@^8 (change
"@react-three/drei" to a ^9.x version in package.json), run package install, and
validate the app; choose the revert-to-v9 path if you cannot migrate to React 19
now.
e8e44db to
bacb425
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
^9.121.2→^10.0.0Release Notes
pmndrs/drei (@react-three/drei)
v10.7.7Compare Source
Bug Fixes
v10.7.6Compare Source
Bug Fixes
v10.7.5Compare Source
Bug Fixes
v10.7.4Compare Source
Bug Fixes
v10.7.3Compare Source
Bug Fixes
v10.7.2Compare Source
Bug Fixes
v10.7.1Compare Source
Bug Fixes
v10.7.0Compare Source
Features
v10.6.1Compare Source
Bug Fixes
v10.6.0Compare Source
Features
v10.5.2Compare Source
Bug Fixes
v10.5.1Compare Source
Bug Fixes
v10.5.0Compare Source
Features
v10.4.4Compare Source
Bug Fixes
v10.4.3Compare Source
Bug Fixes
v10.4.2Compare Source
Bug Fixes
v10.4.1Compare Source
Bug Fixes
v10.4.0Compare Source
Features
v10.3.0Compare Source
Features
CameraControls[impl]custom subclass (#2466) (4ae523a)v10.2.0Compare Source
Features
v10.1.2Compare Source
Bug Fixes
v10.1.1Compare Source
Bug Fixes
v10.1.0Compare Source
Features
onXcallback props (#2451) (af7c22f)v10.0.8Compare Source
Bug Fixes
v10.0.7Compare Source
Bug Fixes
v10.0.6Compare Source
Bug Fixes
v10.0.5Compare Source
Bug Fixes
shaderMaterialconstructor (#2390) (8de6e00)v10.0.4Compare Source
Bug Fixes
v10.0.3Compare Source
Bug Fixes
v10.0.2Compare Source
Bug Fixes
v10.0.1Compare Source
Bug Fixes
v10.0.0Compare Source
BREAKING CHANGES
Configuration
📅 Schedule: Branch creation - "every weekday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.