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

90.md (8377B)


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