Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Update dependency ng-http-loader to v10 #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 15, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ng-http-loader ^2.0.0 -> ^10.0.0 age adoption passing confidence

Release Notes

mpalourdio/ng-http-loader

v10.0.0

Compare Source

  • Added angular 12 support.
  • BC break: The library is not view-enginecompatible anymore.

v9.1.0

Compare Source

  • Added the possibility to specify the backdrop background-color. Contribution by krishnakumarp.

v9.0.0

Compare Source

  • Added angular 11 support.

v8.0.0

Compare Source

  • Added angular 10 support.

v7.0.0

Compare Source

  • Added angular 9 support.
  • BC break: AbstractLoader has been renamed to AbstractLoaderDirective. See here and here.

v6.0.1

Compare Source

  • The rxjs peer dependency is now ^6.5.0, because the module uses the new creation function partition observable introduced in v6.5.0.

v6.0.0

Compare Source

  • Angular 8.x is now the default supported version.
  • The subscription in NgHttpLoaderComponent has completely been removed in favor of an observable. As there's no need to unsubscribe anymore, ngOnDestroy has been removed.
  • The observable initialization has been moved to ngOnInit.
  • The tests suite could fail (and succeed) in some unexpected ways. This was caused by some race conditions introduced in v5.0.0. Those are now (hopefully) fixed.

v5.1.0

Compare Source

  • This release introduces 2 new options:
    • backdrop (true by default): If set to false, the spinner background elements will remain clickable, without any background color.
    • opacity: This option lets you override the spinner opacity (0.7 by default).

v5.0.1

Compare Source

  • The rxjs peerDependency has been relaxed from ~6.3.3 to ^6.3.3 so that no warning is thrown when the rxjs version has been bumped at application side.

v5.0.0

Compare Source

  • Prior to this release, NgHttpLoaderComponent#isSpinnerVisible was a boolean. Because of unexpected behaviors when a component with ChangeDetectionStrategy.OnPush performed HTTP requests, it is now an Observable<boolean> and has been renamed to NgHttpLoaderComponent#isVisible$.
    The associated template now uses an async pipe in order to perform the show/hide logic.

  • PendingInterceptorService has been renamed to PendingRequestsInterceptor.

v4.0.0

Compare Source

  • HttpClientModule has been removed from imports.
    This caused some issues when external modules were imported in an application, and those modules registered their own HTTP interceptors. See this issue for reference.

  • A static forRoot() method has been added to the module declaration. You must now explicitly call this method when importing NgHttpLoaderModule in your root application module.
    This intends to avoid multiple providers instances when working with lazy modules in which you would want to import NgHttpLoaderModule again for any reason.

  • The default spinner is now Spinkit.skWave (less CPU intensive).

v3.2.0

Compare Source

peerDependencies section now targets angular 7. The module is still angular 6 compatible, so this is not a major release.
Users are still encouraged to upgrade their applications ASAP.

v3.1.2

Compare Source

  • Added browserslist support.
  • Some cleanup has been done in CSS files to let the CSS auto-prefixer do the job automatically regarding supported browsers.
  • Spinkit CSS integration has been been replaced by SCSS.

v3.1.1

Compare Source

The Subscriptions that had been previously moved from constructor to ngOnInit are back in constructor. This avoids testing if the subscriptions exist in ngOnDestroy before unsubscribing them.

v3.1.0

Compare Source

Awesome contribution by gnom7

  • Better handling of sequential HTTP requests. Particularly when mixed with the minDuration option. See this issue for reference.
Min. duration time: 300ms
---0ms------------------------------200ms-------280ms----------------400ms|  
----|---------------------------------------------|-----------------------|  
(req1 starts and spinner shows)  (req1 ends)  (req2 starts)   (req2 ends and spinner hides)

Before this, minDuration would have been applied to both HTTP requests.

  • Added the extraDuration option:
    • This option make the spinner visible a certain amount of time after the moment when it should have naturally been hidden. This avoids flickering when, for example, multiple HTTP requests are ran sequentially.
    • See this issue for reference
Extra duration time: 60ms
---0ms----------200ms------260ms---- |  
----|------------|----------|--------|  
req starts   req ends  spinner hides

v3.0.0

Compare Source

  • All existing deprecations have been removed.
  • BC breaks =>
    • SpinnerComponent has been renamed to NgHttpLoaderComponent.
    • The <spinner> component-selector has been renamed to <ng-http-loader>.

v2.3.0

Compare Source

This release adds the possibility to filter HTTP requests that should not be handled by the interceptor by providing an array of HTTP headers to the component's filteredHeaders property.

v2.2.0

Compare Source

This release adds the possibility to filter HTTP requests that should not be handled by the interceptor by providing an array of HTTP methods to the component's filteredMethods property.

v2.1.0

Compare Source

This release introduces the minimum duration option. It gives the possibility to force a minimum duration during which the spinner should be visible.
You can mix this parameter with the debounce delay option:

<ng-http-loader 
    [debounceDelay]="100"
    [minDuration]="300">
</ng-http-loader>
Debounce delay: 100ms
Min. duration time: 300ms
---0ms--------100ms------------180ms-----------400ms--
----|----------|-----------------|---------------|---- 
req starts  spinner shows    req ends     spinner hides

SpinnerVisibilityService#visibilityObservable and PendingInterceptorService#pendingRequestsStatus have been respectively deprecated in favor of visibilityObservable$ and pendingRequestsStatus$ (note the $).


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant