Releases: mdasberg/ng-apimock
Releases · mdasberg/ng-apimock
v1.2.4
1.2.4 (2017-04-24)
Changes
- 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
v1.2.3
1.2.3 (2017-02-22)
Bugfix
- Fix addCookie fails with protractor 5.0.0 and above
v1.2.2
1.2.2 (2017-02-06)
Bugfix
- Fix angular-resource not found when using angular application that does not have a dependency on angular-resource
v1.2.1
1.2.1 (2017-01-19)
Bugfix
- Fix reset to default and set to passthrough when no api call was done before
v1.2.0
1.2.0 (2017-10-19)
Changes
- Core has been rewritten in Typescript
Feature
- 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 .
Breaking change
- Removed releaseMock and hold option as they required a page to be reloaded when testing a delayed call (replaced by the delayResponse option).
v1.1.13
1.1.13 (2016-11-26)
Bugfix
- Fix too restrictive domain and path settings from cookie for Angular 2
v1.1.12
1.1.12 (2016-11-23)
Feature
- Fix incorrect checking if angular exists within the ng-apimock node_modules
- Fix broken interface
v1.1.8
1.1.8 (2016-10-10)
Bugfix
- Fix missing angular problem (when both ngapimock and the project that uses it has the same version)
v1.1.7
1.1.7 (2016-10-10)
Bugfix
- Fix incorrect version to angular. (The project using ngApimock can have another version.)
v1.1.6
1.1.6 (2016-10-10)
Changes
- Interface is now a component