SocialNetworkNews / SocialNetworkNews-Web

A open-source Paper.li clone
GNU General Public License v3.0
4 stars 2 forks source link

Update dependency ng-http-loader to v8 - autoclosed #90

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
ng-http-loader dependencies major ^2.0.0 -> ^8.0.0

Release Notes

mpalourdio/ng-http-loader ### [`v8.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v800) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/7.0.0...8.0.0) - Added angular 10 support. ### [`v7.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v700) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/6.0.1...7.0.0) - Added angular 9 support. - BC break : `AbstractLoader` has been renamed to `AbstractLoaderDirective`. See [here](https://next.angular.io/guide/deprecations#undecorated-base-classes) and [here](https://angular.io/guide/styleguide#style-02-03). ### [`v6.0.1`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v601) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/6.0.0...6.0.1) - The `rxjs` peer dependency is now `^6.5.0`, because the module uses the new `creation function partition observable` introduced in [v6.5.0](https://togithub.com/ReactiveX/rxjs/blob/f07d349da8c2e0dbddca17d33a9b4a1ceaf59354/CHANGELOG.md#​650-2019-04-23). ### [`v6.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v600) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.1.0...6.0.0) - 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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v510) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.0.1...5.1.0) - 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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v501) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.0.0...5.0.1) - 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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v500) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/4.0.0...5.0.0) - 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` 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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v400) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.2.0...4.0.0) - `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](https://togithub.com/angular/angular/issues/20575) for reference. - A static `forRoot()` method has been added to the module declaration. You must now [explicitly call this method](README.md#usage) 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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v320) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.2...3.2.0) `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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v312) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.1...3.1.2) - Added [browserslist](https://togithub.com/browserslist/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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v311) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.0...3.1.1) 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`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v310) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.0.0...3.1.0) Awesome contribution by [gnom7](https://togithub.com/gnom7) - Better handling of sequential HTTP requests. Particularly when mixed with the `minDuration` option. See [this issue](https://togithub.com/mpalourdio/ng-http-loader/issues/89) 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](https://togithub.com/mpalourdio/ng-http-loader/issues/90) for reference Extra duration time: 60ms ---0ms----------200ms------260ms---- | ----|------------|----------|--------| req starts req ends spinner hides ### [`v3.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v300) [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/2.3.0...3.0.0) - All existing deprecations have been removed. - BC breaks => - `SpinnerComponent` has been renamed to `NgHttpLoaderComponent`. - The `` component-selector has been renamed to ``.

Renovate configuration

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

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

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

:no_bell: 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.