[2023-02-12]
- feat: add vite-plugin-http-request-mock
[2023-01-30]
- feat: add @requestHeaders for @remote config
[2023-01-29]
- fix: simpleRequest should have carried request headers to the request of remote url
- feat: new mechanism to specify the original URL which is matched by mock for "remote" feature
[2022-05-22]
- feat: add webpack-dev-server middleware plugin
- chore: remove @proxy tag
- chore: add @deProxy tag
[2022-04-30]
- feat: support for customizing data returned from remote requests which are marked by @remote
[2022-04-18]
- feat: add ESM module
[2022-04-05]
- add 'use' API for mocker
[2022-03-27]
- add @proxy tag
[2022-03-19]
- add @remote tag
[2022-03-03]
- full support for webpack5
[2021-12-26]
- add proxy mode
[2021-12-13]
- add a new capability of using the proto file to generate mock files.
[2021-10-30]
- add cache plugin: set the specified data into localeStorage cache when it changes.
- whole matching takes precedence over partial matching
[2021-10-01]
- make it can be required without 'default' property
[2021-09-25]
- add umd bundles for browser
[2021-09-19]
- add a plain html example
[2021-09-10]
- mock directory supports a maximum of 4 sub-levels
- replace fs.watch with chokidar
[2021-09-02]
- clientRequest.end should return an instance of ClientRequest
- pretty log
- dynamic import http-request-mock dependency for .runtime.js
[2021-09-01]
- integrate with faker.js
- fallback to nodejs native http/https request if not matched for fetch, xhr and wx in unit test environment
[2021-08-28]
- support to bypass a mock request
[2021-08-20]
- add runtime plugin
- add
--type
option to cli
[2021-08-20]
- add continuous integration
[2021-08-19]
- add English version of the README.md
[2021-08-17]
- fix a typo: inteceptor -> interceptor
[2021-08-14]
- add react and vue examples
http-request-mock-cli -w
supports a customized command to start a mock development
[2021-08-13]
- add init and watch option for command tool
- remove 'runtime' option for webpack plugin
[2021-08-12] mock response option supports asynchronous function
[2021-08-11]
- add mock times options for a limited number of times mocking
- remove 'verbose' value for runtime option
- normalize request info for all interceptors
- windows compatibility
[2021-08-09] fix wx.request binding error
[2021-08-08]
- support http.get, https.get, http.reuest, https.request request mock
- support to enable/disable mock function temporarily
- add unit tests for node-fetch, ky, request, got libraries.
[2021-07-30] fix command tool problem & release v1.1.4
[2021-07-24] change custom to verbose for runtime config option
[2021-07-18] add query for request info
[2021-07-17] response supports to get request header for xhr
[2021-07-12] add command tool for generating mock config entry file
[2021-06-26] add superagent unit test
[2021-06-24] add jquery unit test
[2021-06-12] add xhr, wx.request, fetch, axios unit test
[2021-06-10] fully support fetch request mock
[2021-05-25] add load loadend event trigger
[2021-04-30] add http status code & http response header mock
[2021-04-29] add wx.request interceptor, preparing fetch interceptor
[2021-03-29] init http-request-mock, add XMLHttpRequest interceptor