Releases: pmndrs/use-cannon
Releases Β· pmndrs/use-cannon
@pmndrs/use-cannon v2.0.0 - 2022-04-01
- [@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
- Access the physics context with the
usePhysicsContexthook, which immediately gives you a clear error message when trying to access physics components or hooks outside of a Physics provider (@bjornstar) - Renamed
contexttophysicsContext(@bjornstar) - Added a
useDebugContexthook for consistency (@bjornstar) - [
Provider.tsx] Renamed tophysics-provider.tsx(@bjornstar) - [
Debug.tsx] Renamed todebug-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
- Bump @pmndrs/cannon-worker-api to v1.0.1 (@bjornstar)
@pmndrs/cannon-worker-api v1.0.1 - 2022-03-14
- Specify targetPlatform: 'browser' (@isaac-mason)
@react-three/cannon v5.0.0 - 2022-03-13
- 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
- Initial Release (@isaac-mason & @bjornstar)
v4.9.0 - 2022-03-03
- [
dependencies] Updatedthree&@types/threefromr135tor137(@bjornstar) - [
examples/dependencies] Updated@react-three/dreifromv8.3.1tov8.11.1(@bjornstar) - [
examples/dependencies] Updated@react-three/dreifromv8.3.1tov8.11.1(@bjornstar) - [
examples/dependencies] Updatedthree&@types/threefromr135tor137(@bjornstar) - [
examples/dependencies] Updatedthree-stdlibfrom2.6.1tov2.8.8(@bjornstar) - [
esmaples/dependencies] Removedpostprocessing, it was unused (@bjornstar) - [
examples] Updated GLTF types (@bjornstar)
v4.8.0 - 2022-02-28
- 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
- [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
- [
createMaterialFactory] Do not use logical assignment operator (@bjornstar) - [
eslint] Disallow logical assignment and nullish coalescing operators (@bjornstar)