angular-in-memory-web-api
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -73,3 +73,3 @@ import { Observable } from 'rxjs/Observable'; | ||
var _this = this; | ||
var url = req.url; | ||
var url = req.urlWithParams ? req.urlWithParams : req.url; | ||
// Try override parser | ||
@@ -76,0 +76,0 @@ // If no override parser or it returns nothing, use default parser |
@@ -12,2 +12,7 @@ # "angular-in-memory-web-api" versions | ||
<a id="0.5.2"></a> | ||
## 0.5.3 (2018-01-06) | ||
Can make use of `HttpParams` which yields a `request.urlWithParams`. | ||
Added supporting `HeroService.searchHeroes(term: string)` and test. | ||
<a id="0.5.2"></a> | ||
## 0.5.2 (2017-12-10) | ||
@@ -14,0 +19,0 @@ No longer modify the request data coming from client. Fixes #164 |
@@ -134,2 +134,3 @@ import { Observable } from 'rxjs/Observable'; | ||
url: string; | ||
urlWithParams?: string; | ||
} | ||
@@ -136,0 +137,0 @@ /** |
{ | ||
"name": "angular-in-memory-web-api", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "An in-memory web api for Angular demos and tests", | ||
@@ -5,0 +5,0 @@ "main": "bundles/in-memory-web-api.umd.js", |
@@ -15,3 +15,3 @@ # Angular in-memory-web-api | ||
As of v0.5.0 (5 October 2017), the `dataEncapsulation` configuration default changed from `false` to `true`. The HTTP response body holds the data values directly rather than an object that encapsulates those values, `{data: ...}`. This is a **breaking change that affects almost all existing apps!** | ||
As of v0.5.0 (5 October 2017), the `dataEncapsulation` configuration default changed from `true` to `false`. The HTTP response body holds the data values directly rather than an object that encapsulates those values, `{data: ...}`. This is a **breaking change that affects almost all existing apps!** | ||
@@ -18,0 +18,0 @@ See the [CHANGELOG](https://github.com/angular/in-memory-web-api/blob/master/CHANGELOG.md/#0.5.0) for the reason behind this change and how to quickly fix your code or revert to encapsulation. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
526706
4160