Skip to content

Releases: aitboudad/ngx-loading-bar

v7.0.0

13 Oct 14:00
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • core: The library now requires Angular 16

Features

  • core: update to angular 16 (b8f0992), closes #202 #200
  • http: remove deprecated http headers ignoreLoadingBar (c4aee89), closes #201

v6.0.2

16 Feb 10:28
Compare
Choose a tag to compare

Bug Fixes

  • http-client: console deprecation log on DevMode only. (#193) (74ac02e)

v6.0.0

23 Dec 16:41
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • core: The library now requires Angular 13

Features

  • core: update to angular 13 (#191) (fe51b29), closes #190

  • 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

11 Apr 20:44
Compare
Choose a tag to compare

Bug Fixes

  • core: detect changes of actions outside zones (#186) (66722f0), closes #184

v5.1.1

05 Dec 18:13
v5.1.1
21ecdb2
Compare
Choose a tag to compare

Bug Fixes

  • core: move tslib to peerDependencies (fa354ee)

v5.1.0

11 Jul 19:05
b9a9917
Compare
Choose a tag to compare

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

01 Jul 17:18
01d6914
Compare
Choose a tag to compare

Bug Fixes

  • core: take account of state updates during initial render (#164) (dd1e6a0), closes #163

v5.0.1

26 Jun 11:48
4c69286
Compare
Choose a tag to compare

Bug Fixes

v5.0.0

20 Jun 17:03
v5.0.0
d4e3e10
Compare
Choose a tag to compare

Bug Fixes

  • 🐛 prevent start when the timer is not triggered yet (88f5254), closes #143

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>