Skip to content

Commit

Permalink
@pmndrs/use-cannon v2.1.0
Browse files Browse the repository at this point in the history
@react-three/cannon v6.1.0
@pmndrs/cannon-worker-api v2.1.0
@react-three/cannon-examples v2.1.0
  • Loading branch information
bjornstar committed Apr 2, 2022
1 parent 15cd257 commit 72bde0b
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pmndrs/use-cannon Changelog

## v2.1.0 - 2022-04-02

- [@pmndrs/cannon-worker-api] v2.0.0
- [@react-three/cannon] v6.0.0
- [@react-three/cannon-examples] v2.0.0
- Set monorepo package type to module

## v2.0.0 - 2022-04-01

- [@pmndrs/cannon-worker-api] v2.0.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pmndrs/use-cannon",
"version": "2.0.0",
"version": "2.1.0",
"description": "monorepo for @pmndrs/use-cannon",
"keywords": [
"cannon",
Expand Down
7 changes: 7 additions & 0 deletions packages/cannon-worker-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pmndrs/cannon-worker-api Changelog

## v2.1.0 - 2022-04-02

- New private method `postMessage` that queues the messages if there is no worker
- New public method: `connect`, we instantiate the worker, add the onmessage handler and flush the messageQueue
- New public method: `disconnect`, removes the onmessage handler (probably unnecessary)
- `init` now takes `world` instead of `state`

## v2.0.0 - 2022-04-01

- `three.js` is now a `peerDependency` and requires r139 or higher
Expand Down
2 changes: 1 addition & 1 deletion packages/cannon-worker-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pmndrs/cannon-worker-api",
"version": "2.0.0",
"version": "2.1.0",
"description": "An API to use cannon-es in a web worker",
"keywords": [
"cannon",
Expand Down
4 changes: 4 additions & 0 deletions packages/react-three-cannon-examples/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @react-three/cannon-examples Changelog

## v2.1.0 - 2022-04-02

- Update `@react-three/cannon` to v6.1.0

## v2.0.0 - 2022-04-01

- Updated `react` to v18
Expand Down
4 changes: 2 additions & 2 deletions packages/react-three-cannon-examples/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-three/cannon-examples",
"version": "2.0.0",
"version": "2.1.0",
"description": "Examples for @react-three/cannon",
"private": true,
"scripts": {
Expand All @@ -20,7 +20,7 @@
"not op_mini all"
],
"devDependencies": {
"@react-three/cannon": "^6.0.0",
"@react-three/cannon": "^6.1.0",
"@react-three/drei": "^9.0.1",
"@react-three/fiber": "^8.0.4",
"@types/lodash-es": "^4.17.6",
Expand Down
5 changes: 5 additions & 0 deletions packages/react-three-cannon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @react-three/cannon Changelog

## v6.1.0 - 2022-04-02

- Now calls `connect` before `init` in a useEffect (instead of useLayoutEffect)
- Update `@pmndrs/cannon-worker-api` to v2.1.0

## v6.0.0 - 2022-04-01

- Removed the Suspense wrapper around Physics, you will need to provide your own suspense boundary from now on
Expand Down
4 changes: 2 additions & 2 deletions packages/react-three-cannon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-three/cannon",
"version": "6.0.0",
"version": "6.1.0",
"description": "physics based hooks for react-three-fiber",
"keywords": [
"cannon",
Expand Down Expand Up @@ -30,7 +30,7 @@
"prettier-fix": "prettier --write ."
},
"dependencies": {
"@pmndrs/cannon-worker-api": "^2.0.0",
"@pmndrs/cannon-worker-api": "^2.1.0",
"cannon-es": "^0.19.0",
"cannon-es-debugger": "^1.0.0"
},
Expand Down

1 comment on commit 72bde0b

@vercel
Copy link

@vercel vercel bot commented on 72bde0b Apr 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.