You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+28-7Lines changed: 28 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,34 @@ that emulates CRUD operations over a RESTy API.
6
6
7
7
It intercepts Angular `Http` and `HttpClient` requests that would otherwise go to the remote server and redirects them to an in-memory data store that you control.
8
8
9
+
---
10
+
## **v0.4.0 supports `HttpClient`!**
11
+
>Release v0.4.0 (8 Sept 2017) is a major overhaul of this library.
12
+
>
13
+
>You don't have to change your existing application _code_ if your app uses this library without customizations.
14
+
>
15
+
>
16
+
>This v0.4.0 release has *breaking changes* that affect developers who used the customization features.
17
+
>We're pretty sure you'll think these changes are worthwhile.
18
+
>
19
+
>**Read this README** and the CHANGELOG to learn what's new.
20
+
>The new unit tests are worth a look as well.
21
+
>
22
+
---
23
+
>If you’re loading application files with **SystemJS**, you’ll have to configure it to load Angular’s `umd.js` for `HttpModule`.
>You've already made this change if you are using `HttpClient` today.
30
+
>
31
+
>If you’re sticking with the original Angular `Http` module, you _must make this change anyway!_ Your app will break as soon as you run `npm install` and it installs v0.4.0.
32
+
>
33
+
>If you're using webpack (as CLI devs do), you don't have to worry about this stuff because webpack bundles the dependencies for you.
34
+
35
+
---
36
+
9
37
## Use cases
10
38
11
39
* Demo apps that need to simulate CRUD data persistence operations without a real server.
@@ -40,13 +68,6 @@ because this is a development tool, not a production product.
40
68
We do try to tell you about such changes in the `CHANGELOG.md`
41
69
and we fix bugs as fast as we can.
42
70
43
-
44
-
>**UPDATE NOTICE**
45
-
>
46
-
>As of v.0.1.0, the npm package was renamed from `angular2-in-memory-web-api` to its current name,
47
-
`angular-in-memory-web-api`. All versions ***after 0.0.21*** are shipped under this name.
48
-
**Be sure to update your `package.json` and import statements**.
49
-
50
71
## HTTP request handling
51
72
This in-memory web api service processes an HTTP request and
0 commit comments