- Fix vulnerabilities
- Fix broken deliverable
- Add baseUrl at run configuration
- Fix broken browser.addMockModule support for hybrid apps
- Add mock module when available (hybrid apps)
- Fix ngApimockHandler to match expression on decoded url
- Add support for disabled selenium promise manager
- Fix timeouts issues for POST or PUT methods whn passThrough is selected (passTrough does not have to wait for the request end)
- Fix interface issues when selecting passthrough or defaults
- Add Watch mockdata change functionality
- Add functionality for adding and updating global variables as an object
- Add default delay per scenario functionality
- Handle a request after it is ended.
- Synchronous (busy waiting loop) delays
- Add functionality to add a delay by default per response
- Fix dependency problem when uuid is required by another dependency
- Add protractor 5 support (useAllAngular2AppRoots was removed in ptor 5, you can now use ngApimockOpts.angularVersion)
- Underneat protractor.mock now uses then-request instead of sync-request
- Fix addCookie fails with protractor 5.0.0 and above
- Fix angular-resource not found when using angular application that does not have a dependency on angular-resource
- Fix reset to default and set to passthrough when no api call was done before
- Core has been rewritten in Typescript
- Add delayResponse option which makes it possible to delay a response for the given amount of milliseconds.
- Add echoRequest option which makes it possible to echo a http post request .
- Removed releaseMock and hold option as they required a page to be reloaded when testing a delayed call (replaced by the delayResponse option).
- Fix too restrictive domain and path settings from cookie for Angular 2
- Fix incorrect checking if angular exists within the ng-apimock node_modules
- Fix broken interface
- Add support for AngularJS 2 apps
- Fix missing angular problem (when both ngapimock and the project that uses it has the same version)
- Fix incorrect version to angular. (The project using ngApimock can have another version.)
- Interface is now a component
- Add JSONP support
- Feature delayed mock response added
- Fix preventing mocks added more than once
- Add file response functionality (e.g. a pdf download)
- Add recording functionality in the web interface
- Fix passThrough scenario selection
This is the version after separating ng-apimock to a node plugin.
- The connect middleware function needs to be required from ng-apimock instead of grunt-ng-apimock