socialnetworknews-web.meta

Issues/PRs archive for SocialNetworkNews/SocialNetworkNews-Web
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.meta.git
Log | Files | Refs

82.md (8157B)


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