Skip to content

Commit d4cb938

Browse files
committed
release 0.19.0
1 parent 4443e6d commit d4cb938

14 files changed

+5681
-5349
lines changed

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
## 0.19.0 (2023-02-16)
2+
3+
See the release [readme](https://github.com/liabru/matter-js/blob/0.19.0/README.md) for further information.
4+
5+
* added readme note about vue watchers ([035481c](https://github.com/liabru/matter-js/commit/035481c))
6+
* added readonly body.deltaTime ([0784a5b](https://github.com/liabru/matter-js/commit/0784a5b))
7+
* added speed setters to Body.set ([3ff6ff4](https://github.com/liabru/matter-js/commit/3ff6ff4))
8+
* added support for Matter.Runner and Matter.Render in tests ([7d7bad0](https://github.com/liabru/matter-js/commit/7d7bad0))
9+
* added updateVelocity argument to Body.setPosition, Body.setAngle, Body.translate, Body.rotate ([db8b73f](https://github.com/liabru/matter-js/commit/db8b73f))
10+
* changed engine collisionStart event to trigger after resolving and after updating body velocities ([70600a8](https://github.com/liabru/matter-js/commit/70600a8))
11+
* changed examples to be delta independent ([d7e4f58](https://github.com/liabru/matter-js/commit/d7e4f58))
12+
* deprecated render.controller property ([04d229e](https://github.com/liabru/matter-js/commit/04d229e))
13+
* derived velocity from position in setters ([b6de9ed](https://github.com/liabru/matter-js/commit/b6de9ed))
14+
* fixed issues with engine event.delta ([6f5af77](https://github.com/liabru/matter-js/commit/6f5af77))
15+
* handle null constraint points in Constraint.pointAWorld and Constraint.pointBWorld ([e414464](https://github.com/liabru/matter-js/commit/e414464))
16+
* improved Body.applyForce docs ([3a8264c](https://github.com/liabru/matter-js/commit/3a8264c))
17+
* improved delta factors in resolver and constraint stiffness ([9dc6be7](https://github.com/liabru/matter-js/commit/9dc6be7))
18+
* improved Matter.Body docs for functions and properties including readonly ([85a9eb2](https://github.com/liabru/matter-js/commit/85a9eb2))
19+
* improved Matter.Engine docs ([50fc8f2](https://github.com/liabru/matter-js/commit/50fc8f2))
20+
* improved slingshot example constraint ([c6a1a6d](https://github.com/liabru/matter-js/commit/c6a1a6d))
21+
* improved delta consistency ([87af8a1](https://github.com/liabru/matter-js/commit/87af8a1))
22+
* improved Example.newtonsCradle ([b2bd492](https://github.com/liabru/matter-js/commit/b2bd492))
23+
* removed render element warning ([459425b](https://github.com/liabru/matter-js/commit/459425b))
24+
* removed unused delta params ([a572968](https://github.com/liabru/matter-js/commit/a572968))
25+
* updated body docs ([6bb2855](https://github.com/liabru/matter-js/commit/6bb2855))
26+
* updated body velocity properties after resolving ([d52f7e6](https://github.com/liabru/matter-js/commit/d52f7e6))
27+
* updated Example.manipulation ([5ddac71](https://github.com/liabru/matter-js/commit/5ddac71))
28+
* updated Example.ragdoll ([ec38638](https://github.com/liabru/matter-js/commit/ec38638))
29+
* updated Example.staticFriction and Example.timeScale ([11d5e73](https://github.com/liabru/matter-js/commit/11d5e73))
30+
* updated Matter.Body docs ([db780c3](https://github.com/liabru/matter-js/commit/db780c3))
31+
* updated timing improvements ([10a2a07](https://github.com/liabru/matter-js/commit/10a2a07))
32+
* used Body.getVelocity in Matter.Render ([bf90bdd](https://github.com/liabru/matter-js/commit/bf90bdd))
33+
* used speed getter in Matter.Sleeping and Matter.Render ([6579dfd](https://github.com/liabru/matter-js/commit/6579dfd))
34+
35+
36+
137
## 0.18.0 (2021-12-15)
238

339
* added test capture sort to improve comparison ([ea3c11b](https://github.com/liabru/matter-js/commit/ea3c11b))

RELEASE.md

+53
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1+
## ▲.● matter.js `0.19.0`
2+
3+
Release notes for `0.19.0`. See the release [readme](https://github.com/liabru/matter-js/blob/0.19.0/README.md) for further information.
4+
5+
### Highlights ✺
6+
7+
- Changed `Body.setAngularVelocity` and `Body.setVelocity` to be timestep independent
8+
- Improved similarity of results between different timesteps based on `60hz` as a baseline
9+
- Added timestep independent `Body.setSpeed`, `Body.setAngularSpeed`, `Body.getSpeed`, `Body.getVelocity`, `Body.getAngularVelocity`
10+
- Added optional `updateVelocity` argument to `Body.setPosition`, `Body.setAngle`, `Body.translate`, `Body.rotate`
11+
- Added extended documentation for `Body.applyForce`
12+
- Moved time correction feature from `Engine.update` to be built-in to `Matter.Body`
13+
- Improved [documentation](https://brm.io/matter-js/docs/) pages
14+
15+
### Changes ✲
16+
17+
See the release [compare page](https://github.com/liabru/matter-js/compare/0.18.0...0.19.0) and the [changelog](https://github.com/liabru/matter-js/blob/0.19.0/CHANGELOG.md) for a more detailed list of changes.
18+
19+
### Migration ⌲
20+
21+
See [PR #777](https://github.com/liabru/matter-js/pull/777#issue-487893963) for related changes and notes useful for migration.
22+
23+
### Comparison ⎄
24+
25+
For more information see [comparison method](https://github.com/liabru/matter-js/pull/794).
26+
27+
```ocaml
28+
Output comparison of 43 examples at 60hz against previous release [email protected]
29+
30+
Behaviour 100.00% Similarity 100.00% Overlap +0.00%
31+
Performance -0.80% Memory +0.05% Filesize +1.67% 78.97 KB
32+
33+
airFriction · · avalanche · · ballPool · · bridge · · car · · catapult · ·
34+
chains · · circleStack · · cloth · · collisionFiltering · · compositeManipulation · ·
35+
compound · · compoundStack · · concave · · constraints · · doublePendulum · ·
36+
events · · friction · · gravity · · gyro · · manipulation · ·
37+
mixed · · newtonsCradle · · pyramid · · ragdoll · · raycasting · ·
38+
remove · · restitution · · rounded · · sensors · · sleeping · ◆
39+
slingshot · · softBody · · sprites · · stack · · staticFriction · ·
40+
stats · · stress · · stress2 · · stress3 · · timescale · ·
41+
views · · wreckingBall · ·
42+
43+
where · no change ● extrinsics changed ◆ intrinsics changed
44+
45+
▶ code -n -d test/__compare__/examples-build.json test/__compare__/examples-dev.json
46+
```
47+
48+
### Contributors ♥︎
49+
50+
Many thanks to the [contributors](https://github.com/liabru/matter-js/compare/0.18.0...0.19.0) of this release, [past contributors](https://github.com/liabru/matter-js/graphs/contributors) as well those involved in the [community](https://github.com/liabru/matter-js/issues) for your input and support.
51+
52+
---
53+
154
## ▲.● matter.js `0.18.0`
255

356
Release notes for `0.18.0`. See the release [readme](https://github.com/liabru/matter-js/blob/0.18.0/README.md) for further information.

0 commit comments

Comments
 (0)