mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-24 13:29:01 -05:00
release 0.17.0
This commit is contained in:
parent
8017bdb47c
commit
9303119629
14 changed files with 3430 additions and 3743 deletions
36
CHANGELOG.md
36
CHANGELOG.md
|
@ -1,3 +1,39 @@
|
|||
## 0.17.0 (2021-04-11)
|
||||
|
||||
* add Common.setDecomp and Common.getDecomp ([313c150](https://github.com/liabru/matter-js/commit/313c150))
|
||||
* add demo build config and refactor demo ([653a647](https://github.com/liabru/matter-js/commit/653a647))
|
||||
* add docs for all Matter.Render options ([ec3eecc](https://github.com/liabru/matter-js/commit/ec3eecc))
|
||||
* add title to all examples ([f4d72ba](https://github.com/liabru/matter-js/commit/f4d72ba))
|
||||
* added Common.deprecated ([ffa3193](https://github.com/liabru/matter-js/commit/ffa3193))
|
||||
* added Common.warnOnce ([6957dbf](https://github.com/liabru/matter-js/commit/6957dbf))
|
||||
* added Date.now fallback to Common.now, closes #739 ([c06c107](https://github.com/liabru/matter-js/commit/c06c107)), closes [#739](https://github.com/liabru/matter-js/issues/739)
|
||||
* added debug stats and performance monitoring to Matter.Render ([119881b](https://github.com/liabru/matter-js/commit/119881b))
|
||||
* added doc watch script ([164456b](https://github.com/liabru/matter-js/commit/164456b))
|
||||
* added docs for additional engine timing and render properties ([8017bdb](https://github.com/liabru/matter-js/commit/8017bdb))
|
||||
* added Example.stats ([9915007](https://github.com/liabru/matter-js/commit/9915007))
|
||||
* added lastDelta and lastElapsed to engine.timing ([6dc703f](https://github.com/liabru/matter-js/commit/6dc703f))
|
||||
* build demo ([0816454](https://github.com/liabru/matter-js/commit/0816454))
|
||||
* change all examples to use Composite.add instead of the alias World.add ([a3f298f](https://github.com/liabru/matter-js/commit/a3f298f))
|
||||
* changed engine.broadphase to engine.grid ([b74e400](https://github.com/liabru/matter-js/commit/b74e400))
|
||||
* changed Example.views to use render events ([3ac3498](https://github.com/liabru/matter-js/commit/3ac3498))
|
||||
* changed world.gravity to engine.gravity ([6abb3b7](https://github.com/liabru/matter-js/commit/6abb3b7))
|
||||
* deprecated Composites.car and added to car example ([cd9c5d4](https://github.com/liabru/matter-js/commit/cd9c5d4))
|
||||
* deprecated Composites.newtonsCradle and added to newtonsCradle example ([9ad980b](https://github.com/liabru/matter-js/commit/9ad980b))
|
||||
* deprecated Composites.softBody and added to softBody and cloth examples ([818f354](https://github.com/liabru/matter-js/commit/818f354))
|
||||
* improve Render.debug ([1753bf0](https://github.com/liabru/matter-js/commit/1753bf0))
|
||||
* migrate Matter.World to the equivalent Matter.Composite ([5dbec9b](https://github.com/liabru/matter-js/commit/5dbec9b))
|
||||
* remove deprecated backwards compatibility engine events from Matter.Runner ([76bf80e](https://github.com/liabru/matter-js/commit/76bf80e))
|
||||
* remove deprecated backwards compatibility render integration from Matter.Engine ([1aa8ed0](https://github.com/liabru/matter-js/commit/1aa8ed0))
|
||||
* remove deprecated backwards compatibility render integration from Matter.Runner ([6805f85](https://github.com/liabru/matter-js/commit/6805f85))
|
||||
* remove deprecated Matter.Metrics ([63a9e98](https://github.com/liabru/matter-js/commit/63a9e98))
|
||||
* remove deprecated Matter.RenderPixi ([08a515b](https://github.com/liabru/matter-js/commit/08a515b))
|
||||
* remove unused render shadow function ([e49834d](https://github.com/liabru/matter-js/commit/e49834d))
|
||||
* run all examples in browser tests ([5734bfd](https://github.com/liabru/matter-js/commit/5734bfd))
|
||||
* set render showDebug option on examples stress and stress2 ([f2ef3aa](https://github.com/liabru/matter-js/commit/f2ef3aa))
|
||||
* update matter-tools ([f8d366a](https://github.com/liabru/matter-js/commit/f8d366a))
|
||||
|
||||
|
||||
|
||||
## <small>0.16.1 (2021-01-31)</small>
|
||||
|
||||
* add log capture and reporting in tests ([7bfd3c2](https://github.com/liabru/matter-js/commit/7bfd3c2))
|
||||
|
|
52
RELEASE.md
52
RELEASE.md
|
@ -1,3 +1,55 @@
|
|||
## ▲.● matter.js `0.17.0`
|
||||
|
||||
Release notes for `0.17.0`. See the release [readme](https://github.com/liabru/matter-js/blob/0.17.0/README.md) for further information.
|
||||
|
||||
### Highlights ✺
|
||||
|
||||
- Added performance and stats monitoring overlays to `Matter.Render`
|
||||
- See the [stats demo](https://brm.io/matter-js/demo/#stats) or enable [render.options.showPerformance](https://brm.io/matter-js/docs/classes/Render.html#property_options.showPerformance) and [render.options.showStats](https://brm.io/matter-js/docs/classes/Render.html#property_options.showStats)
|
||||
- Stats shown include
|
||||
- render frequency (e.g. `60 fps`)
|
||||
- engine delta time (e.g. `16.66ms`)
|
||||
- engine execution duration (e.g. `5.00ms`)
|
||||
- render execution duration (e.g.` 0.40ms`)
|
||||
- effective play speed (e.g. `1.00x` is real-time)
|
||||
- various other engine internal stats for debugging
|
||||
- Improved [documentation](https://brm.io/matter-js/docs/) pages
|
||||
- Added [Common.setDecomp](https://brm.io/matter-js/docs/classes/Common.html#method_setDecomp) and [Common.getDecomp](https://brm.io/matter-js/docs/classes/Common.html#method_getDecomp) to fix [bundler issues](https://github.com/liabru/matter-js/issues/981)
|
||||
- Added docs for all [Matter.Render options](https://brm.io/matter-js/docs/classes/Render.html#properties)
|
||||
- Migrated usage of `Matter.World` over to `Matter.Composite` (more info in [docs](https://brm.io/matter-js/docs/classes/World.html))
|
||||
- Migrated, deprecated and removed various old functionality (see the [changelog](https://github.com/liabru/matter-js/blob/0.17.0/CHANGELOG.md) for details)
|
||||
|
||||
### Changes ✲
|
||||
|
||||
See the release [compare page](https://github.com/liabru/matter-js/compare/0.16.1...0.17.0) and the [changelog](https://github.com/liabru/matter-js/blob/0.17.0/CHANGELOG.md) for a detailed list of changes.
|
||||
|
||||
### Comparison ⎄
|
||||
|
||||
Differences in behaviour, quality and performance against the previous release `0.16.1`. For more information see [comparison method](https://github.com/liabru/matter-js/pull/794).
|
||||
|
||||
```ocaml
|
||||
Output comparison of 37 examples against previous release matter-js@0.16.1
|
||||
|
||||
Similarity 100% Performance +0.00% Overlap +0.00%
|
||||
|
||||
airFriction · · avalanche · · ballPool · · bridge · · broadphase · · car · ·
|
||||
catapult · · chains · · circleStack · · cloth · · collisionFiltering · ·
|
||||
compound · · compoundStack · · constraints · · events · · friction · ·
|
||||
gyro · · manipulation · · mixed · · newtonsCradle · · pyramid · ·
|
||||
ragdoll · · restitution · · rounded · · sensors · · sleeping · ·
|
||||
slingshot · · softBody · · sprites · · stack · · staticFriction · ·
|
||||
stats · · stress · · stress2 · · timescale · · views · ·
|
||||
wreckingBall · ·
|
||||
where · no change ● extrinsics changed ◆ intrinsics changed
|
||||
|
||||
```
|
||||
|
||||
### Contributors ♥︎
|
||||
|
||||
Many thanks to the [contributors](https://github.com/liabru/matter-js/compare/0.16.1...0.17.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.
|
||||
|
||||
---
|
||||
|
||||
## ▲.● matter.js `0.16.0`
|
||||
|
||||
Release notes for `0.16.0`. See the release [readme](https://github.com/liabru/matter-js/blob/0.16.0/README.md) for further information.
|
||||
|
|
6907
build/matter.js
6907
build/matter.js
File diff suppressed because it is too large
Load diff
4
build/matter.min.js
vendored
4
build/matter.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -55,6 +55,6 @@
|
|||
<script src="./js/matter-demo.matter-wrap.b3a896.min.js"></script>
|
||||
<script src="./js/matter-demo.pathseg.067c95.min.js"></script>
|
||||
<script src="./js/matter-demo.poly-decomp.59954b.min.js"></script>
|
||||
<script src="./js/matter-demo.9c6dd1.min.js"></script>
|
||||
<script src="./js/matter-demo.06213a.min.js"></script>
|
||||
</body>
|
||||
</html>
|
6
demo/js/matter-demo.06213a.min.js
vendored
Normal file
6
demo/js/matter-demo.06213a.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
demo/js/matter-demo.9c6dd1.min.js
vendored
6
demo/js/matter-demo.9c6dd1.min.js
vendored
File diff suppressed because one or more lines are too long
2
demo/js/matter-demo.main.5a504f.min.js
vendored
2
demo/js/matter-demo.main.5a504f.min.js
vendored
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* matter-demo bundle 0.16.1 by @liabru
|
||||
* matter-demo bundle 0.17.0 by @liabru
|
||||
* http://brm.io/matter-js/
|
||||
* License MIT
|
||||
*/!function(e){function t(t){for(var n,l,a=t[0],f=t[1],i=t[2],c=0,s=[];c<a.length;c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(t);s.length;)s.shift()();return u.push.apply(u,i||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var f=r[a];0!==o[f]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={1:0},u=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="./js";var a=this.webpackJsonpMatterDemo=this.webpackJsonpMatterDemo||[],f=a.push.bind(a);a.push=t,a=a.slice();for(var i=0;i<a.length;i++)t(a[i]);var p=f;r()}([]);
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* matter-demo bundle 0.16.1 by @liabru
|
||||
* matter-demo bundle 0.17.0 by @liabru
|
||||
* http://brm.io/matter-js/
|
||||
* License MIT
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* matter-demo bundle 0.16.1 by @liabru
|
||||
* matter-demo bundle 0.17.0 by @liabru
|
||||
* http://brm.io/matter-js/
|
||||
* License MIT
|
||||
*/
|
||||
|
|
2
demo/js/matter-demo.pathseg.067c95.min.js
vendored
2
demo/js/matter-demo.pathseg.067c95.min.js
vendored
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* matter-demo bundle 0.16.1 by @liabru
|
||||
* matter-demo bundle 0.17.0 by @liabru
|
||||
* http://brm.io/matter-js/
|
||||
* License MIT
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* matter-demo bundle 0.16.1 by @liabru
|
||||
* matter-demo bundle 0.17.0 by @liabru
|
||||
* http://brm.io/matter-js/
|
||||
* License MIT
|
||||
*/
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "matter-js",
|
||||
"version": "0.16.1",
|
||||
"version": "0.17.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "matter-js",
|
||||
"version": "0.16.1",
|
||||
"version": "0.17.0",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"conventional-changelog-cli": "^2.1.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "matter-js",
|
||||
"version": "0.16.1",
|
||||
"version": "0.17.0",
|
||||
"license": "MIT",
|
||||
"homepage": "http://brm.io/matter-js/",
|
||||
"author": "Liam Brummitt <liam@brm.io> (http://brm.io/)",
|
||||
|
|
Loading…
Reference in a new issue