Releases: morsdyce/mimic
Releases · morsdyce/mimic
v2.0.9
v2.0.8
v2.0.7
v2.0.6
V2.0.5
v2.0.4
v2.0.3
- feat: Support loading mimic inside
<head>
tag - refactor (API): exported Group, Mock and Request models in the API level
- fix (mocks): Allow duplicating a mock in the same group (#248)
- feat (editor): Add codemirror plugins for closing and matching brackets (#249)
- fix multipart requests, in which the params are an object instead of a string
- feat: Add basic file upload support
- refactor: (interceptor) Add support for custom interceptors
- feat(Mocks): Add support for PATCH HTTP verb
- feat(Developer experience): Add a warning when running Mimic in production mode
- fix(Import): when importing a file validate that it is a supported format
- fix(Keyboard shortcuts): Change delete mock shortcut to command+delete or ctrl+delete
- fix(Request Log): Prevent request log failing due to binary data
v2.0.2
Changes
- Add Polyfill fetch for nativescript.
- Fix (hotkeys): Change toggle hotkey to alt+shift+m to prevent issues with phonetic keyboards.
- Fix (Mock Sidebar): Fix mock urls rendering with html entities instead of the raw string.
- Fix (Global toggle): Fix Global mimic toggle not affecting worker agents.
- FEAT (Master Toggle): Persist master toggle via local settings.
- Fix (latest requests): Change latest request mock active check to isActive to cover group state as well.
- Fix (XHR mocks): Return a mock like the original XHR implementation in case of json responses.
- Fix (remote): send request body when working in remote mode.
- Fix (script tag) Support loading mimic inside tag.
General
- Add block with other usages and add remark about submitting PRs to the next branch.
- Add react-native and nativescript guides.
v2.0.1
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.