Releases: aitboudad/ngx-loading-bar
Releases · aitboudad/ngx-loading-bar
v7.0.0
v6.0.2
v6.0.0
⚠ BREAKING CHANGES
- core: The library now requires Angular 13
Features
-
http-client: To ignore a particular HTTP request, use "NGX_LOADING_BAR_IGNORED" HttpContextToken instead of http headers:
Before:
httpClient.get('/status', {
headers: { ignoreLoadingBar: '' },
});
After:
httpClient.get('/status', {
context: new HttpContext().set(NGX_LOADING_BAR_IGNORED, true),
});
Special Thanks to @Totati
v5.1.2
v5.1.1
v5.1.0
Added a new global config to adjust the latency threshold which allows controlling the initial delay time to wait before displaying the loading bar. By default the latencyThreshold
is disabled (= 0).
import { LOADING_BAR_CONFIG } from '@ngx-loading-bar/core';
@NgModule({
providers: [
providers: [{ provide: LOADING_BAR_CONFIG, useValue: { latencyThreshold: 100 } }],
]
})
Features
v5.0.2
v5.0.1
v5.0.0
Bug Fixes
Features
- core: change bar and spinner selector + unset z-index when fixed is false (#159) (f1ad7a8)
- core: set peerDependency to angular >=9.0 (185f1e2), closes #151
- core: support managing multiple loading bars (c59863f), closes #121
- core: use OnPush change detection (47d8cff)
- 🎸 remove deprecated @angular/http package (#139) (666e341)
⚠ BREAKING CHANGES
-
core: The library now requires Angular 9
-
core: The loading bar internal selectors have been changed:
Before:
<ngx-loading-bar>
<div id="loading-bar-spinner"><div class="spinner-icon"></div></div>
<div id="loading-bar"><div class="bar"><div class="peg"></div></div></div>
</ngx-loading-bar>
After:
<ngx-loading-bar>
<div class="ngx-bar"></div>
<div class="ngx-spinner"><div class="ngx-spinner-icon"></div></div>
</ngx-loading-bar>