diff --git a/.changeset/pre.json b/.changeset/pre.json index 52595472..fde26af4 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -6,5 +6,7 @@ "@react-three/rapier": "1.2.1", "@react-three/rapier-addons": "3.0.3" }, - "changesets": [] + "changesets": [ + "cold-apples-drop" + ] } diff --git a/demo/package.json b/demo/package.json index 1eb9f957..217e240a 100644 --- a/demo/package.json +++ b/demo/package.json @@ -12,8 +12,8 @@ "@react-three/csg": "1.1.5", "@react-three/drei": "9.74.14", "@react-three/fiber": "8.9.1", - "@react-three/rapier": "1.2.1", - "@react-three/rapier-addons": "3.0.3", + "@react-three/rapier": "1.3.0-canary.0", + "@react-three/rapier-addons": "4.0.0-canary.0", "@types/three": "^0.152.1", "leva": "0.9.34", "r3f-perf": "6.4.2", diff --git a/packages/react-three-rapier-addons/CHANGELOG.md b/packages/react-three-rapier-addons/CHANGELOG.md index 58c0307d..5b8d3316 100644 --- a/packages/react-three-rapier-addons/CHANGELOG.md +++ b/packages/react-three-rapier-addons/CHANGELOG.md @@ -1,5 +1,12 @@ # @react-three/rapier-addons +## 4.0.0-canary.0 + +### Patch Changes + +- Updated dependencies [1517acb] + - @react-three/rapier@1.3.0-canary.0 + ## 3.0.3 ### Patch Changes diff --git a/packages/react-three-rapier-addons/package.json b/packages/react-three-rapier-addons/package.json index aef3dce9..af7a6b3c 100644 --- a/packages/react-three-rapier-addons/package.json +++ b/packages/react-three-rapier-addons/package.json @@ -1,13 +1,13 @@ { "name": "@react-three/rapier-addons", - "version": "3.0.3", + "version": "4.0.0-canary.0", "main": "dist/react-three-rapier-addons.cjs.js", "module": "dist/react-three-rapier-addons.esm.js", "license": "MIT", "sideEffects": false, "peerDependencies": { "@react-three/fiber": "*", - "@react-three/rapier": "1.x", + "@react-three/rapier": "1.3.0-canary.0", "react": ">=18.0.0", "three": "*" }, @@ -16,7 +16,7 @@ }, "devDependencies": { "@react-three/fiber": "8.9.1", - "@react-three/rapier": "1.2.1", + "@react-three/rapier": "1.3.0-canary.0", "react": "18.2.0", "react-dom": "18.2.0", "three": "0.146.0" diff --git a/packages/react-three-rapier/CHANGELOG.md b/packages/react-three-rapier/CHANGELOG.md index 7bd1c8ad..fe771007 100644 --- a/packages/react-three-rapier/CHANGELOG.md +++ b/packages/react-three-rapier/CHANGELOG.md @@ -1,5 +1,18 @@ # @react-three/rapier +## 1.3.0-canary.0 + +### Minor Changes + +- 1517acb: feat: update @dimforge/rapier3d-compat to 0.12.0 (@0xtito, @isaac-mason) + + - Change Physics component props to match the new rapier version's integration parameter changes. + - There aren't direct alternatives for all old parameters. See the Physics component docs for more information on the new parameters: https://pmndrs.github.io/react-three-rapier/interfaces/PhysicsProps.html + - Add `additionalSolverIterations` prop to `RigidBodyOptions`. + - See: https://pmndrs.github.io/react-three-rapier/interfaces/RigidBodyOptions.html#additionalSolverIterations + - Add `useSpringJoint` + - Add `useRopeJoint` + ## 1.2.1 ### Patch Changes diff --git a/packages/react-three-rapier/package.json b/packages/react-three-rapier/package.json index 1de2da64..ef582061 100644 --- a/packages/react-three-rapier/package.json +++ b/packages/react-three-rapier/package.json @@ -1,6 +1,6 @@ { "name": "@react-three/rapier", - "version": "1.2.1", + "version": "1.3.0-canary.0", "source": "src/index.ts", "main": "dist/react-three-rapier.cjs.js", "module": "dist/react-three-rapier.esm.js",