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

56.md (5642B)


      1 # PR #56 Update dependency ng-http-loader to v4
      2 
      3 - **Status:** closed
      4 - **Author:** @renovate[bot]
      5 - **Created:** 2018-11-24T12:41:29Z
      6 - **Branch:** renovate/ng-http-loader-4.x → master
      7 - **Closed:** 2018-11-26T20:11:20Z
      8 - **Diff:** [56.diff](./56.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` -> `^4.0.0` | [source](https://renovatebot.com/gh/mpalourdio/ng-http-loader) |
     17 
     18 ---
     19 
     20 ### Release Notes
     21 
     22 <details>
     23 <summary>mpalourdio/ng-http-loader</summary>
     24 
     25 ### [`v4.0.0`](https://renovatebot.com/gh/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v400)
     26 
     27 [Compare Source](https://renovatebot.com/gh/mpalourdio/ng-http-loader/compare/3.2.0...4.0.0)
     28 
     29 -   `HttpClientModule` has been removed from imports.  
     30     This caused some issues when external modules were imported in an application, and those modules registered their own HTTP interceptors. See [this issue](https://renovatebot.com/gh/angular/angular/issues/20575) for reference.
     31 
     32 -   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.
     33     This intends to avoid multiple providers instances when working with lazy modules in which you would want to import `NgHttpLoaderModule` again for any reason.
     34 
     35 -   The default spinner is now `Spinkit.skWave` (less CPU intensive).
     36 
     37 ### [`v3.2.0`](https://renovatebot.com/gh/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v320)
     38 
     39 [Compare Source](https://renovatebot.com/gh/mpalourdio/ng-http-loader/compare/3.1.2...3.2.0)
     40 
     41 `peerDependencies` section now targets `angular 7`. The module is still `angular 6` compatible, so this is not a major release.  
     42 Users are still encouraged to upgrade their applications ASAP.
     43 
     44 ### [`v3.1.2`](https://renovatebot.com/gh/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v312)
     45 
     46 [Compare Source](https://renovatebot.com/gh/mpalourdio/ng-http-loader/compare/3.1.1...3.1.2)
     47 
     48 -   Added [browserslist](https://renovatebot.com/gh/browserslist/browserslist) support.  
     49 -   Some cleanup has been done in CSS files to let the CSS auto-prefixer do the job automatically regarding supported browsers.  
     50 -   Spinkit CSS integration has been been replaced by SCSS.
     51 
     52 ### [`v3.1.1`](https://renovatebot.com/gh/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v311)
     53 
     54 [Compare Source](https://renovatebot.com/gh/mpalourdio/ng-http-loader/compare/3.1.0...3.1.1)
     55 
     56 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.
     57 
     58 ### [`v3.1.0`](https://renovatebot.com/gh/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v310)
     59 
     60 [Compare Source](https://renovatebot.com/gh/mpalourdio/ng-http-loader/compare/3.0.0...3.1.0)
     61 
     62 Awesome contribution by [gnom7](https://renovatebot.com/gh/gnom7)
     63 
     64 -   Better handling of sequential HTTP requests. Particularly when mixed with the `minDuration` option. See [this issue](https://renovatebot.com/gh/mpalourdio/ng-http-loader/issues/89) for reference.
     65 
     66     Min. duration time: 300ms
     67     ---0ms------------------------------200ms-------280ms----------------400ms|  
     68     ----|---------------------------------------------|-----------------------|  
     69     (req1 starts and spinner shows)  (req1 ends)  (req2 starts)   (req2 ends and spinner hides)
     70 
     71 Before this, `minDuration` would have been applied to both HTTP requests.
     72 
     73 -   Added the `extraDuration` option: 
     74     -   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.
     75     -   See [this issue](https://renovatebot.com/gh/mpalourdio/ng-http-loader/issues/90) for reference
     76 
     77     Extra duration time: 60ms
     78     ---0ms----------200ms------260ms---- |  
     79     ----|------------|----------|--------|  
     80     req starts   req ends  spinner hides
     81 
     82 ### [`v3.0.0`](https://renovatebot.com/gh/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v300)
     83 
     84 [Compare Source](https://renovatebot.com/gh/mpalourdio/ng-http-loader/compare/2.3.0...3.0.0)
     85 
     86 -   All existing deprecations have been removed.
     87 -   BC breaks => 
     88     -   `SpinnerComponent` has been renamed to `NgHttpLoaderComponent`.
     89     -   The `<spinner>` component-selector has been renamed to `<ng-http-loader>`.
     90 
     91 </details>
     92 
     93 ---
     94 
     95 ### Renovate configuration
     96 
     97 :date: **Schedule**: At any time (no schedule defined).
     98 
     99 :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    100 
    101 :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
    102 
    103 :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
    104 
    105 ---
    106 
    107 This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#SocialNetworkNews/SocialNetworkNews-Web).
    108 
    109 
    110 ## Comments
    111 
    112 ### @renovate[bot] — 2018-11-26T21:07:30Z
    113 
    114 ### Renovate Ignore Notification
    115 
    116 As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for *any* future 4.x releases. However, if you upgrade to 4.x manually then Renovate will then reenable updates for minor and patch updates automatically.
    117 
    118 If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
    119