diff options
| author | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-10-22 09:43:59 +0530 |
|---|---|---|
| committer | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-10-22 09:43:59 +0530 |
| commit | d286a370df5a4ca91ace848c5df774c81f930511 (patch) | |
| tree | 19a34dcc1d4bccdfd5a50ce76316a786a8c06ce1 /addons/base_import/static/lib/javascript-state-machine/RELEASE_NOTES.md | |
| parent | 1014600a28e7427b6d53013b02a5d062ec3bdbcd (diff) | |
| parent | f542bc21115767e28eb75778daea143aae66f8b5 (diff) | |
[Merge] Merge with main addons.
bzr revid: mdi@tinyerp.com-20121011045535-go6ytkhno83j5vv3
bzr revid: mdi@tinyerp.com-20121012055651-b71ggro9e85014y2
bzr revid: mdi@tinyerp.com-20121015053308-o0p01graipkg5b9m
bzr revid: mdi@tinyerp.com-20121016044216-e3lc1zumg2hvnm8e
bzr revid: mdi@tinyerp.com-20121017044133-zl7tptv6fvsl05hj
bzr revid: mdi@tinyerp.com-20121018040828-189tvqs6c6837hvr
bzr revid: mdi@tinyerp.com-20121019044050-u5uy3jqntkwqhx5b
bzr revid: mdi@tinyerp.com-20121022041359-4wpqftbqum8t4284
Diffstat (limited to 'addons/base_import/static/lib/javascript-state-machine/RELEASE_NOTES.md')
| -rw-r--r-- | addons/base_import/static/lib/javascript-state-machine/RELEASE_NOTES.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/addons/base_import/static/lib/javascript-state-machine/RELEASE_NOTES.md b/addons/base_import/static/lib/javascript-state-machine/RELEASE_NOTES.md new file mode 100644 index 00000000000..06abf402d38 --- /dev/null +++ b/addons/base_import/static/lib/javascript-state-machine/RELEASE_NOTES.md @@ -0,0 +1,32 @@ +Version 2.1.0 (January 7th 2012) +-------------------------------- + + * Wrapped in self executing function to be more easily used with loaders like `require.js` or `curl.js` (issue #15) + * Allow event to be cancelled by returning `false` from `onleavestate` handler (issue #13) - WARNING: this breaks backward compatibility for async transitions (you now need to return `StateMachine.ASYNC` instead of `false`) + * Added explicit return values for event methods (issue #12) + * Added support for wildcard events that can be fired 'from' any state (issue #11) + * Added support for no-op events that transition 'to' the same state (issue #5) + * extended custom error callback to handle any exceptions caused by caller provided callbacks + * added custom error callback to override exception when an illegal state transition is attempted (thanks to cboone) + * fixed typos (thanks to cboone) + * fixed issue #4 - ensure before/after event hooks are called even if the event doesn't result in a state change + +Version 2.0.0 (August 19th 2011) +-------------------------------- + + * adding support for asynchronous state transitions (see README) - with lots of qunit tests (see test/async.js). + * consistent arguments for ALL callbacks, first 3 args are ALWAYS event name, from state and to state, followed by whatever arguments the user passed to the original event method. + * added a generic `onchangestate(event,from,to)` callback to detect all state changes with a single function. + * allow callbacks to be declared at creation time (instead of having to attach them afterwards) + * renamed 'hooks' => 'callbacks' + * [read more...](http://codeincomplete.com/posts/2011/8/19/javascript_state_machine_v2/) + +Version 1.2.0 (June 21st 2011) +------------------------------ + * allows the same event to transition to different states, depending on the current state (see 'Multiple...' section in README.md) + * [read more...](http://codeincomplete.com/posts/2011/6/21/javascript_state_machine_v1_2_0/) + +Version 1.0.0 (June 1st 2011) +----------------------------- + * initial version + * [read more...](http://codeincomplete.com/posts/2011/6/1/javascript_state_machine/) |
