diff --git a/CHANGELOG.md b/CHANGELOG.md index 04b0935..0ce8a10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,56 @@ + +# 0.11.0 (2016-11-04) + + +* add logo to readme ([d54dec3](https://github.com/liabru/matter-js/commit/d54dec3)) +* added docs for Matter.Plugin with tweaks ([3883981](https://github.com/liabru/matter-js/commit/3883981)) +* added Example.attractors ([758bbe8](https://github.com/liabru/matter-js/commit/758bbe8)) +* added Matter.before, Matter.after, Common.chainPathBefore, Common.chainPathAfter, Common.get, Common ([50ad7ca](https://github.com/liabru/matter-js/commit/50ad7ca)) +* added Matter.Plugin initial implementation ([e84c537](https://github.com/liabru/matter-js/commit/e84c537)) +* added note in docs about vertices order ([ad033f5](https://github.com/liabru/matter-js/commit/ad033f5)) +* added plugin status logging ([51b7b1d](https://github.com/liabru/matter-js/commit/51b7b1d)) +* added plugins matter-attractors, matter-gravity, matter-world-wrap, removed test plugins ([59bfa0b](https://github.com/liabru/matter-js/commit/59bfa0b)) +* change plugins to use best practices ([37d4258](https://github.com/liabru/matter-js/commit/37d4258)) +* change travis node version to latest stable ([ee33686](https://github.com/liabru/matter-js/commit/ee33686)) +* changed naming approach for prerelease versions ([83ae546](https://github.com/liabru/matter-js/commit/83ae546)) +* fix build flags ([29d182c](https://github.com/liabru/matter-js/commit/29d182c)) +* fix build task for travis ([6aa3661](https://github.com/liabru/matter-js/commit/6aa3661)) +* fix gravity reset in demo ([c00df81](https://github.com/liabru/matter-js/commit/c00df81)) +* fix gulp build version replacement ([faf6bec](https://github.com/liabru/matter-js/commit/faf6bec)) +* fix Matter.Mouse when element does not have fixed dimensions, closes #73 ([1340159](https://github.com/liabru/matter-js/commit/1340159)), closes [#73](https://github.com/liabru/matter-js/issues/73) +* fix release tasks ([549983d](https://github.com/liabru/matter-js/commit/549983d)) +* fix requestAnimationFrame polyfill for Matter.Runner, closes #252 ([7c8f6ce](https://github.com/liabru/matter-js/commit/7c8f6ce)), closes [#252](https://github.com/liabru/matter-js/issues/252) +* fix tests ([54e7d9c](https://github.com/liabru/matter-js/commit/54e7d9c)) +* fixed Body.create with no options ([0e5a457](https://github.com/liabru/matter-js/commit/0e5a457)) +* fixed issue with Matter.RenderPixi not being cleared when bodies removed, closes #218 ([4972af8](https://github.com/liabru/matter-js/commit/4972af8)), closes [#218](https://github.com/liabru/matter-js/issues/218) +* fixed various Matter.Plugin issues ([05d0961](https://github.com/liabru/matter-js/commit/05d0961)) +* improve docs ([9856e3c](https://github.com/liabru/matter-js/commit/9856e3c)) +* improved logging ([d4d64ed](https://github.com/liabru/matter-js/commit/d4d64ed)) +* Limit packaging extraneous files ([3accec6](https://github.com/liabru/matter-js/commit/3accec6)) +* Merge branch 'jackismissing-master' ([3452465](https://github.com/liabru/matter-js/commit/3452465)) +* Merge branch 'master' of https://github.com/jackismissing/matter-js into jackismissing-master ([ba19130](https://github.com/liabru/matter-js/commit/ba19130)) +* Merge branch 'plugins' ([60d0839](https://github.com/liabru/matter-js/commit/60d0839)) +* Merge pull request #1 from jackismissing/jackismissing-patch-1 ([46a2bf6](https://github.com/liabru/matter-js/commit/46a2bf6)) +* Merge pull request #244 from MarkHerhold/master ([3449ca5](https://github.com/liabru/matter-js/commit/3449ca5)) +* refactor plugin system ([8da170f](https://github.com/liabru/matter-js/commit/8da170f)) +* refactored plugins ([b4a3453](https://github.com/liabru/matter-js/commit/b4a3453)) +* remove and ignore all test refs ([7a7187a](https://github.com/liabru/matter-js/commit/7a7187a)) +* RenderPixi.js - added missing dependencies ([aec19ae](https://github.com/liabru/matter-js/commit/aec19ae)) +* update Matter.Plugin docs ([6f8b705](https://github.com/liabru/matter-js/commit/6f8b705)) +* updated edge build ([1d05499](https://github.com/liabru/matter-js/commit/1d05499)) +* updated edge build ([0bdaece](https://github.com/liabru/matter-js/commit/0bdaece)) +* updated readme ([a408854](https://github.com/liabru/matter-js/commit/a408854)) +* updated readme ([4da2e25](https://github.com/liabru/matter-js/commit/4da2e25)) +* updated readme ([9ccc028](https://github.com/liabru/matter-js/commit/9ccc028)) +* updated readme ([faf534a](https://github.com/liabru/matter-js/commit/faf534a)) +* updated readme ([5ca9aca](https://github.com/liabru/matter-js/commit/5ca9aca)) +* updated readme ([e3e9080](https://github.com/liabru/matter-js/commit/e3e9080)) +* updated readme ([c4cce9e](https://github.com/liabru/matter-js/commit/c4cce9e)) +* updated readme ([4b5837e](https://github.com/liabru/matter-js/commit/4b5837e)) +* updated readme ([098f224](https://github.com/liabru/matter-js/commit/098f224)) + + + # 0.10.0 (2016-05-01) diff --git a/bower.json b/bower.json index 616e4df..6aff9f8 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "Matter", - "version": "0.10.0", + "version": "0.11.0", "homepage": "https://github.com/liabru/matter-js", "authors": [ "Liam Brummitt (http://brm.io/)" diff --git a/build/matter.js b/build/matter.js index 7365437..15abe2d 100644 --- a/build/matter.js +++ b/build/matter.js @@ -1,5 +1,5 @@ /** -* matter-js 0.10.0-alpha by @liabru 2016-11-03 +* matter-js 0.11.0 by @liabru 2016-11-04 * http://brm.io/matter-js/ * License MIT */ @@ -4213,7 +4213,7 @@ module.exports = Common; * @param {} val The value to set * @param {number} [begin] Path slice begin * @param {number} [end] Path slice end - * @return {} The object passed for `val` (for chaining) + * @return {} Pass through `val` for chaining */ Common.set = function(obj, path, val, begin, end) { var parts = path.split('.').slice(begin, end); @@ -4606,6 +4606,7 @@ module.exports = Common; /** * Chains a function to excute before the original function on the given `path` relative to `base`. + * See also docs for `Common.chain`. * @method chainPathBefore * @param {} base The base object * @param {string} path The path relative to `base` @@ -4621,6 +4622,7 @@ module.exports = Common; /** * Chains a function to excute after the original function on the given `path` relative to `base`. + * See also docs for `Common.chain`. * @method chainPathAfter * @param {} base The base object * @param {string} path The path relative to `base` @@ -5263,7 +5265,7 @@ var Common = require('./Common'); * @readOnly * @type {String} */ - Matter.version = '0.10.0-alpha'; + Matter.version = '0.11.0'; /** * A list of plugin dependencies to be installed. These are normally set and installed through `Matter.use`. @@ -5295,6 +5297,7 @@ var Common = require('./Common'); /** * Chains a function to excute before the original function on the given `path` relative to `Matter`. + * See also docs for `Common.chain`. * @method before * @param {string} path The path relative to `Matter` * @param {function} func The function to chain before the original @@ -5307,6 +5310,7 @@ var Common = require('./Common'); /** * Chains a function to excute after the original function on the given `path` relative to `Matter`. + * See also docs for `Common.chain`. * @method after * @param {string} path The path relative to `Matter` * @param {function} func The function to chain after the original diff --git a/build/matter.min.js b/build/matter.min.js index 6582adf..7804d22 100644 --- a/build/matter.min.js +++ b/build/matter.min.js @@ -1,5 +1,5 @@ /** -* matter-js 0.10.0-alpha by @liabru 2016-11-03 +* matter-js 0.11.0 by @liabru 2016-11-04 * http://brm.io/matter-js/ * License MIT */ @@ -40,7 +40,7 @@ var n=e[o];n._chained?t.push.apply(t,n._chained):t.push(n)}var i=function(){for( if(e||n.render){var r={element:e,controller:a};n.render=f.extend(r,n.render)}return n.render&&n.render.controller&&(n.render=n.render.controller.create(n.render)),n.render&&(n.render.engine=n),n.world=t.world||i.create(n.world),n.pairs=l.create(),n.broadphase=n.broadphase.controller.create(n.broadphase),n.metrics=n.metrics||{extended:!1},n},n.update=function(n,i,a){i=i||1e3/60,a=a||1;var c,f=n.world,v=n.timing,m=n.broadphase,y=[];v.timestamp+=i*v.timeScale;var g={timestamp:v.timestamp};u.trigger(n,"beforeUpdate",g);var x=d.allBodies(f),h=d.allConstraints(f);for(n.enableSleeping&&r.update(x,v.timeScale),t(x,f.gravity),o(x,i,v.timeScale,a,f.bounds),c=0;c0&&u.trigger(n,"collisionStart",{pairs:w.collisionStart}),s.preSolvePosition(w.list),c=0;c0&&u.trigger(n,"collisionActive",{pairs:w.collisionActive}),w.collisionEnd.length>0&&u.trigger(n,"collisionEnd",{pairs:w.collisionEnd}),e(x),u.trigger(n,"afterUpdate",g),n},n.merge=function(e,t){if(f.extend(e,t),t.world){e.world=t.world,n.clear(e);for(var o=d.allBodies(e.world),i=0;ir?(i.warn("Plugin.register:",n.toString(t),"was upgraded to",n.toString(e)),n._registry[e.name]=e):r>o?i.warn("Plugin.register:",n.toString(t),"can not be downgraded to",n.toString(e)):e!==t&&i.warn("Plugin.register:",n.toString(e),"is already registered to different plugin object"); diff --git a/package.json b/package.json index 7e5aec9..5a55c6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matter-js", - "version": "0.10.0", + "version": "0.11.0", "license": "MIT", "homepage": "http://brm.io/matter-js/", "author": "Liam Brummitt (http://brm.io/)",