Skip to content

Releases: pmndrs/use-cannon

@pmndrs/use-cannon v2.0.0 - 2022-04-01

07 Apr 20:06
b8d3929
Compare
Choose a tag to compare
  • [@pmndrs/cannon-worker-api] v2.0.0
  • [@react-three/cannon] v6.0.0
  • [@react-three/cannon-examples] v2.0.0

@react-three/cannon v5.1.0 - 2022-03-19

07 Apr 14:57
Compare
Choose a tag to compare
  • Access the physics context with the usePhysicsContext hook, which immediately gives you a clear error message when trying to access physics components or hooks outside of a Physics provider (@bjornstar)
  • Renamed context to physicsContext (@bjornstar)
  • Added a useDebugContext hook for consistency (@bjornstar)
  • [Provider.tsx] Renamed to physics-provider.tsx (@bjornstar)
  • [Debug.tsx] Renamed to debug-provider.tsx (Still exported as Debug & DebugProps) (@bjornstar)
  • [physics-provider.tsx] One useState call that contains the whole context (@bjornstar)
  • [physics-provider.tsx] bodies is not a ref, no need to access current (@bjornstar)
  • [setup.ts] Removed, split into more appropriately named modules (@bjornstar)
  • [worker.d.ts] Removed, belongs in cannon-worker-api (@bjornstar)
  • [package.json] Use dependencies rather than peerDependencies (@bjornstar)
  • [.eslintrc.json] Clean up (@bjornstar)
  • [.eslintrc.json] Disallow non-null assertions (@bjornstar)

@react-three/cannon v5.0.1 - 2022-03-14

14 Mar 15:51
Compare
Choose a tag to compare
  • Bump @pmndrs/cannon-worker-api to v1.0.1 (@bjornstar)

@pmndrs/cannon-worker-api v1.0.1 - 2022-03-14

14 Mar 15:51
Compare
Choose a tag to compare

@react-three/cannon v5.0.0 - 2022-03-13

13 Mar 10:20
Compare
Choose a tag to compare
  • Use newly isolated @pmndrs/cannon-worker-api (@isaac-mason)
  • Removed useUpdateWorldPropsEffect (@bjornstar)
  • [package.json] Added homepage property to go directly to the package (@bjornstar)
  • [rollup.config.js] Specify targetPlatform: 'browser' (@bjornstar)
  • [tsconfig.json] Alphabetize contents (@bjornstar)

@pmndrs/cannon-worker-api v1.0.0 - 2022-03-13

13 Mar 10:22
Compare
Choose a tag to compare

v4.9.0 - 2022-03-03

03 Mar 08:29
Compare
Choose a tag to compare
  • [dependencies] Updated three & @types/three from r135 to r137 (@bjornstar)
  • [examples/dependencies] Updated @react-three/drei from v8.3.1 to v8.11.1 (@bjornstar)
  • [examples/dependencies] Updated @react-three/drei from v8.3.1 to v8.11.1 (@bjornstar)
  • [examples/dependencies] Updated three & @types/three from r135 to r137 (@bjornstar)
  • [examples/dependencies] Updated three-stdlib from 2.6.1 to v2.8.8 (@bjornstar)
  • [esmaples/dependencies] Removed postprocessing, it was unused (@bjornstar)
  • [examples] Updated GLTF types (@bjornstar)

v4.8.0 - 2022-02-28

03 Mar 08:12
Compare
Choose a tag to compare
  • Created CannonWorkerAPI (@isaac-mason)
  • Converted worker to typescript (@bjornstar)
  • [examples/RaycastVehicle] Use a single keyup/keydown event handler (@bjornstar)

v4.7.0 - 2022-02-12

03 Mar 08:12
Compare
Choose a tag to compare
  • [ESLint] Disallow enums (@bjornstar)
  • Add missing worker 'setMaterial' op handler (@isaac-mason)
  • Add isPaused property (@grndctrl & @bjornstar)
    • BREAKING: step renamed to stepSize (default: 1 / 60)
    • NEW: maxSubSteps (default: 10)
    • NEW: isPaused (fixes Pause Simulation #212)
    • NEW: Paused demo
    • timeSinceLastCall not tracked in worker
    • prefer FC to PropsWithChildren
    • REMOVED: type DefaultContactMaterial

v4.6.1 - 2022-01-19

19 Jan 21:04
Compare
Choose a tag to compare
  • [createMaterialFactory] Do not use logical assignment operator (@bjornstar)
  • [eslint] Disallow logical assignment and nullish coalescing operators (@bjornstar)