74.md (7742B)
1 # PR #74 Update dependency ng-http-loader to v6 - autoclosed 2 3 - **Status:** closed 4 - **Author:** @renovate[bot] 5 - **Created:** 2019-06-01T08:57:27Z 6 - **Branch:** renovate/ng-http-loader-6.x → master 7 - **Closed:** 2020-02-09T07:59:59Z 8 - **Diff:** [74.diff](./74.diff) 9 10 --- 11 12 This PR contains the following updates: 13 14 | Package | Type | Update | Change | 15 |---|---|---|---| 16 | [ng-http-loader](https://togithub.com/mpalourdio/ng-http-loader) | dependencies | major | [`^2.0.0` -> `^6.0.0`](https://renovatebot.com/diffs/npm/ng-http-loader/2.3.0/6.0.1) | 17 18 --- 19 20 ### Release Notes 21 22 <details> 23 <summary>mpalourdio/ng-http-loader</summary> 24 25 ### [`v6.0.1`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v601) 26 27 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/6.0.0...6.0.1) 28 29 - 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). 30 31 ### [`v6.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v600) 32 33 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.1.0...6.0.0) 34 35 - Angular 8.x is now the default supported version. 36 - 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. 37 - The `observable` initialization has been moved to `ngOnInit`. 38 - 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. 39 40 ### [`v5.1.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v510) 41 42 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.0.1...5.1.0) 43 44 - This release introduces 2 new options: 45 - **backdrop** (`true` by default): If set to `false`, the spinner background elements will remain clickable, without any background color. 46 - **opacity**: This option lets you override the spinner opacity (0.7 by default). 47 48 ### [`v5.0.1`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v501) 49 50 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.0.0...5.0.1) 51 52 - 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. 53 54 ### [`v5.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v500) 55 56 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/4.0.0...5.0.0) 57 58 - 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$`. 59 The associated template now uses an `async pipe` in order to perform the show/hide logic. 60 61 - `PendingInterceptorService` has been renamed to `PendingRequestsInterceptor`. 62 63 ### [`v4.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v400) 64 65 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.2.0...4.0.0) 66 67 - `HttpClientModule` has been removed from imports. 68 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. 69 70 - 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. 71 This intends to avoid multiple providers instances when working with lazy modules in which you would want to import `NgHttpLoaderModule` again for any reason. 72 73 - The default spinner is now `Spinkit.skWave` (less CPU intensive). 74 75 ### [`v3.2.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v320) 76 77 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.2...3.2.0) 78 79 `peerDependencies` section now targets `angular 7`. The module is still `angular 6` compatible, so this is not a major release. 80 Users are still encouraged to upgrade their applications ASAP. 81 82 ### [`v3.1.2`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v312) 83 84 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.1...3.1.2) 85 86 - Added [browserslist](https://togithub.com/browserslist/browserslist) support. 87 - Some cleanup has been done in CSS files to let the CSS auto-prefixer do the job automatically regarding supported browsers. 88 - Spinkit CSS integration has been been replaced by SCSS. 89 90 ### [`v3.1.1`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v311) 91 92 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.0...3.1.1) 93 94 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. 95 96 ### [`v3.1.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v310) 97 98 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.0.0...3.1.0) 99 100 Awesome contribution by [gnom7](https://togithub.com/gnom7) 101 102 - 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. 103 104 Min. duration time: 300ms 105 ---0ms------------------------------200ms-------280ms----------------400ms| 106 ----|---------------------------------------------|-----------------------| 107 (req1 starts and spinner shows) (req1 ends) (req2 starts) (req2 ends and spinner hides) 108 109 Before this, `minDuration` would have been applied to both HTTP requests. 110 111 - Added the `extraDuration` option: 112 - 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. 113 - See [this issue](https://togithub.com/mpalourdio/ng-http-loader/issues/90) for reference 114 115 Extra duration time: 60ms 116 ---0ms----------200ms------260ms---- | 117 ----|------------|----------|--------| 118 req starts req ends spinner hides 119 120 ### [`v3.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v300) 121 122 [Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/2.3.0...3.0.0) 123 124 - All existing deprecations have been removed. 125 - BC breaks => 126 - `SpinnerComponent` has been renamed to `NgHttpLoaderComponent`. 127 - The `<spinner>` component-selector has been renamed to `<ng-http-loader>`. 128 129 </details> 130 131 --- 132 133 ### Renovate configuration 134 135 :date: **Schedule**: At any time (no schedule defined). 136 137 :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 138 139 :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`". 140 141 :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. 142 143 --- 144 145 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box 146 147 --- 148 149 This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#SocialNetworkNews/SocialNetworkNews-Web). 150