This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.0.0
->^10.0.0
Release Notes
mpalourdio/ng-http-loader
v10.0.0
Compare Source
view-engine
compatible anymore.v9.1.0
Compare Source
background-color
. Contribution by krishnakumarp.v9.0.0
Compare Source
v8.0.0
Compare Source
v7.0.0
Compare Source
AbstractLoader
has been renamed toAbstractLoaderDirective
. See here and here.v6.0.1
Compare Source
rxjs
peer dependency is now^6.5.0
, because the module uses the newcreation function partition observable
introduced in v6.5.0.v6.0.0
Compare Source
subscription
inNgHttpLoaderComponent
has completely been removed in favor of anobservable
. As there's no need to unsubscribe anymore,ngOnDestroy
has been removed.observable
initialization has been moved tongOnInit
.v5.1.0
Compare Source
true
by default): If set tofalse
, the spinner background elements will remain clickable, without any background color.v5.0.1
Compare Source
rxjs
peerDependency
has been relaxed from~6.3.3
to^6.3.3
so that no warning is thrown when therxjs
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 withChangeDetectionStrategy.OnPush
performed HTTP requests, it is now anObservable<boolean>
and has been renamed toNgHttpLoaderComponent#isVisible$
.The associated template now uses an
async pipe
in order to perform the show/hide logic.PendingInterceptorService
has been renamed toPendingRequestsInterceptor
.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 importingNgHttpLoaderModule
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 targetsangular 7
. The module is stillangular 6
compatible, so this is not a major release.Users are still encouraged to upgrade their applications ASAP.
v3.1.2
Compare Source
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 inngOnDestroy
before unsubscribing them.v3.1.0
Compare Source
Awesome contribution by gnom7
minDuration
option. See this issue for reference.Before this,
minDuration
would have been applied to both HTTP requests.extraDuration
option:v3.0.0
Compare Source
SpinnerComponent
has been renamed toNgHttpLoaderComponent
.<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:
SpinnerVisibilityService#visibilityObservable
andPendingInterceptorService#pendingRequestsStatus
have been respectively deprecated in favor ofvisibilityObservable$
andpendingRequestsStatus$
(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.
This PR has been generated by WhiteSource Renovate. View repository job log here.