|
| 1 | +#Changelog |
| 2 | +All notable changes to this project will be documented in this file. |
| 3 | + |
| 4 | +The format is based on[Keep a Changelog](http://keepachangelog.com/en/1.0.0/) |
| 5 | +and this project adheres to[Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 6 | + |
| 7 | +##[4.0.1] - 2018-08-12 |
| 8 | +###Fixed |
| 9 | +- Fix an issue for which`componentDidMount` was called unnecessarily under some conditions. |
| 10 | + |
| 11 | +##[4.0.0] - 2018-08-09 |
| 12 | +###Added |
| 13 | +- Add[FAQ](https://github.com/MicheleBertoli/react-automata/blob/master/FAQ.md) section. |
| 14 | + |
| 15 | +###Changed |
| 16 | +- Upgrade`xstate` to v3.3.3, and support all the actions types and activities. |
| 17 | +- Support conditions in tests[#54](https://github.com/MicheleBertoli/react-automata/pull/54). |
| 18 | +- Replace`minimatch` with`glob-to-regexp`[#55](https://github.com/MicheleBertoli/react-automata/pull/55). |
| 19 | +- Move`react-test-renderer` to peer dependencies[#56](https://github.com/MicheleBertoli/react-automata/pull/57). |
| 20 | +- Unify`Action` and`State` components, and make the (value)`is` props consistent (before:`show`/`hide` VS`value`). |
| 21 | +- Rename`withStateChart` to`withStateMachine`, and optimize rendering. |
| 22 | +- Rename`testStateChart` to`testStateMachine`, and change its arguments to`Component[, { fixtures, extendedState }]` (before:`{ statechart[, fixtures][, extendedState] }, Component`). |