V2.0.0
Major release
We worked very hard for a long while to get this version out, but now it's here. A complete redesigned experience of using Mimic, we worked with the great @ilyabirman to rethink Mimic from scratch in terms of usability from our own personal experience of using it every day in our projects.
Please note that this includes breaking changes to the API thus the 2.0 version.
After a long time of using Mimic every day we decided that scenarios are no longer a concept that fits the more general use case for Mimic. So we replaced them with a more general concept as "Groups" therefore the entire scenario API has been removed and a new group api has been introduced.
Breaking Changes
Removed
- scenarios
- addScenario
- toggleScenario
- renameScenario
- duplicateScenario
- exportMock
- exportScenario
- exportScenarios
Changed
- updateMockedRequest is now updateMock
- removeMockedRequest is now removeMock
- toggleMockedRequest is now toggleMock
- record is now startRecording
- mockedRequests is now mocks
- activeMockedRequests is now activeMocks
Note that these methods changed not only in name but in parameters as well.