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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,14 @@
1
1
# Changelog
2
2
3
+
## v2.0.0
4
+
5
+
The module bundling now uses [ng-packagr](https://github.com/dherges/ng-packagr).
6
+
From now, you must use ``import { xxxxxxx } from 'ng-http-loader'`` without referencing the full path.
7
+
8
+
Also, ``NgHttpLoaderServicesModule`` && ``NgHttpLoaderComponentsModule`` have been removed and merged back to ``NgHttpLoaderModule``.
9
+
The ``injectables`` now take advantage of the new [Tree Shakable Providers features](https://blog.angular.io/version-6-of-angular-now-available-cc56b0efa7a4).
10
+
The integration in much cleaner, particularly with lazy loaded modules, and avoids the static ``forRoot()`` boilerplate.
11
+
3
12
## v1.0.3
4
13
5
14
Some compiler options have been reverted, so the compilation target is ``es5`` like before v1.0.2.
@@ -32,12 +32,11 @@ If you want to use Angular 5, use versions **``0.4.0``** and above.
32
32
33
33
The latest compatible version with angular 5 is version **``0.9.1``**.
34
34
35
-
From version **``1.0.0``**, the module is angular 6 / RxJS 6 compatible only.
35
+
Versions **``1.0.0+``** and **``2.0.0+``** are angular 6 / RxJS 6 compatible only.
36
36
37
37
If you experience errors like below, **please double check the version you use.**
38
38
39
-
``ERROR in Error: Metadata version mismatch for module [...]/angular/node_modules/ng-http-loader/ng-http-loader
40
-
.module.d.ts, found version x, expected y, resolving symbol AppModule in [...]/angular/src/app.module.ts``
39
+
``ERROR in Error: Metadata version mismatch for module [...]/angular/node_modules/ng-http-loader/ng-http-loader.module.d.ts, found version x, expected y [...]``
41
40
42
41
## Requirements - HttpClientModule
43
42
@@ -55,7 +54,7 @@ import { NgModule } from '@angular/core';
The different spinners available are referenced in [this class](src/spinkits.ts).
106
+
The different spinners available are referenced in [this class](src/lib/spinkits.ts).
135
107
136
108
137
109
**_Otherwise, you can simply reference the chosen spinner as a simple string_**:
@@ -170,7 +142,7 @@ Sometimes, when manually showing the spinner, an http request could be performed
170
142
**For this reason, when calling ``SpinnerVisibilityService#show()``, it prevents the http interceptor from being triggered unless you explicitly call ``SpinnerVisibilityService#hide()``.**
0 commit comments