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