v0.0.22
Update notes:
-
Rename your
/app/mirage/data
directory to/app/mirage/fixtures
. -
Move your
/tests/factories
directory to/app/mirage/factories
. -
store
, the data cache your routes interact with, has been renamed todb
, and its API has changed.Your shorthand routes should not be affected, but you'll need to update any routes where you passed in a function and interacted with the store. See the wiki entry for more details and the full API.
Changes:
- [BREAKING CHANGE] Rename
/data
directory to/fixtures
. - [BREAKING CHANGE] Move
/tests/factories
directory toapp/mirage/factories
- #41 [BREAKING CHANGE] Renamed
store
todb
, and changed API. See the wiki entry. - #42 [ENHANCEMENT] Add ability to change timing within tests, e.g. to test the UI on long delays. See an example.
- #6 [ENHANCEMENT] Add ability to force an error response from a route. See an example.
- [ENHANCEMENT] Ability to return a POJO from a route
- [BUGFIX] ignore assets if Mirage isn't being used