500tech Mimic Versions Save

Seamless client side mocking

v2.0.9

5 years ago

FIX (interceptor): When multiple mocks for the same url exist it ignored active status of the mock (#262)

Thanks to @kmichal for catching this bug

v2.0.8

5 years ago
  • fix(UI): Fix an issue where mimic UI wasn't loading if it was loaded after the page loaded
  • fix(bootstrapping): Fix a bug where checking process.env.NODE_ENV was not safe enough

v2.0.7

5 years ago

Chore (xhook): Update xhook dependency due to a bug failing XHR requests with responseType text

v2.0.6

5 years ago
  • fix(Interceptor): Fix a bug where turning off a mock would hold the request forever in pending state
  • fix(Master toggle): Fix master toggle not turning on and off mimic

v2.0.5

5 years ago

Fix an issue with main import file was not published to npm.

v2.0.4

5 years ago
  • fix (Production Check): Fix the production warning check being performed at compile time
  • fix (request log): fix an issue where no params showed as binary data in request log

This release is deprecated due to an issue with publishing to npm

v2.0.3

6 years ago
  • 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

7 years ago

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

7 years ago

Changes

  • Fix (Log): show request mock response when available

v2.0.0

7 years ago

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.