104.json (11945B)
1 { 2 "number": 104, 3 "title": "Update dependency ng-http-loader to v10", 4 "state": "open", 5 "diff_file": "104.diff", 6 "author": "renovate[bot]", 7 "created_at": "2021-05-15T19:47:29Z", 8 "closed_at": null, 9 "merged_at": null, 10 "base_ref": "master", 11 "head_ref": "renovate/ng-http-loader-10.x", 12 "labels": [], 13 "assignees": [], 14 "requested_reviewers": [], 15 "body": "[](https://renovatebot.com)\n\nThis PR contains the following updates:\n\n| Package | Change | Age | Adoption | Passing | Confidence |\n|---|---|---|---|---|---|\n| [ng-http-loader](https://togithub.com/mpalourdio/ng-http-loader) | [`^2.0.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/ng-http-loader/2.0.0/10.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |\n\n---\n\n### Release Notes\n\n<details>\n<summary>mpalourdio/ng-http-loader</summary>\n\n### [`v10.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v1000)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/9.1.0...10.0.0)\n\n- Added angular 12 support.\n- BC break: The library is not `view-engine`compatible anymore.\n\n### [`v9.1.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v910)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/9.0.0...9.1.0)\n\n- Added the possibility to specify the backdrop `background-color`. Contribution by [krishnakumarp](https://togithub.com/krishnakumarp).\n\n### [`v9.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v900)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/8.0.0...9.0.0)\n\n- Added angular 11 support.\n\n### [`v8.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v800)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/7.0.0...8.0.0)\n\n- Added angular 10 support.\n\n### [`v7.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v700)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/6.0.1...7.0.0)\n\n- Added angular 9 support.\n- 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).\n\n### [`v6.0.1`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v601)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/6.0.0...6.0.1)\n\n- 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).\n\n### [`v6.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v600)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.1.0...6.0.0)\n\n- Angular 8.x is now the default supported version.\n- 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.\n- The `observable` initialization has been moved to `ngOnInit`.\n- 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.\n\n### [`v5.1.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v510)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.0.1...5.1.0)\n\n- This release introduces 2 new options:\n - **backdrop** (`true` by default): If set to `false`, the spinner background elements will remain clickable, without any background color.\n - **opacity**: This option lets you override the spinner opacity (0.7 by default).\n\n### [`v5.0.1`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v501)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/5.0.0...5.0.1)\n\n- 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.\n\n### [`v5.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v500)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/4.0.0...5.0.0)\n\n- 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$`.\\\n The associated template now uses an `async pipe` in order to perform the show/hide logic.\n\n- `PendingInterceptorService` has been renamed to `PendingRequestsInterceptor`.\n\n### [`v4.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v400)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.2.0...4.0.0)\n\n- `HttpClientModule` has been removed from imports.\\\n 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.\n\n- 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.\n This intends to avoid multiple providers instances when working with lazy modules in which you would want to import `NgHttpLoaderModule` again for any reason.\n\n- The default spinner is now `Spinkit.skWave` (less CPU intensive).\n\n### [`v3.2.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v320)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.2...3.2.0)\n\n`peerDependencies` section now targets `angular 7`. The module is still `angular 6` compatible, so this is not a major release.\\\nUsers are still encouraged to upgrade their applications ASAP.\n\n### [`v3.1.2`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v312)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.1...3.1.2)\n\n- Added [browserslist](https://togithub.com/browserslist/browserslist) support.\n- Some cleanup has been done in CSS files to let the CSS auto-prefixer do the job automatically regarding supported browsers.\n- Spinkit CSS integration has been been replaced by SCSS.\n\n### [`v3.1.1`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v311)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.1.0...3.1.1)\n\nThe 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.\n\n### [`v3.1.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v310)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/3.0.0...3.1.0)\n\nAwesome contribution by [gnom7](https://togithub.com/gnom7)\n\n- 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.\n\n<!---->\n\n Min. duration time: 300ms\n ---0ms------------------------------200ms-------280ms----------------400ms| \n ----|---------------------------------------------|-----------------------| \n (req1 starts and spinner shows) (req1 ends) (req2 starts) (req2 ends and spinner hides)\n\nBefore this, `minDuration` would have been applied to both HTTP requests.\n\n- Added the `extraDuration` option:\n - 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.\n - See [this issue](https://togithub.com/mpalourdio/ng-http-loader/issues/90) for reference\n\n<!---->\n\n Extra duration time: 60ms\n ---0ms----------200ms------260ms---- | \n ----|------------|----------|--------| \n req starts req ends spinner hides\n\n### [`v3.0.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v300)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/2.3.0...3.0.0)\n\n- All existing deprecations have been removed.\n- BC breaks =>\n - `SpinnerComponent` has been renamed to `NgHttpLoaderComponent`.\n - The `<spinner>` component-selector has been renamed to `<ng-http-loader>`.\n\n### [`v2.3.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v230)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/2.2.0...2.3.0)\n\nThis release adds the possibility to filter HTTP requests that should not be handled by the interceptor by providing an array of HTTP headers to the component's `filteredHeaders` property.\n\n### [`v2.2.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v220)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/2.1.0...2.2.0)\n\nThis release adds the possibility to filter HTTP requests that should not be handled by the interceptor by providing an array of HTTP methods to the component's `filteredMethods` property.\n\n### [`v2.1.0`](https://togithub.com/mpalourdio/ng-http-loader/blob/master/CHANGELOG.md#v210)\n\n[Compare Source](https://togithub.com/mpalourdio/ng-http-loader/compare/2.0.0...2.1.0)\n\nThis release introduces the **minimum duration** option. It gives the possibility to force a minimum duration during which the spinner should be visible.\nYou can mix this parameter with the **debounce delay** option:\n\n```xml\n<ng-http-loader \n [debounceDelay]=\"100\"\n [minDuration]=\"300\">\n</ng-http-loader>\n```\n\n Debounce delay: 100ms\n Min. duration time: 300ms\n ---0ms--------100ms------------180ms-----------400ms--\n ----|----------|-----------------|---------------|---- \n req starts spinner shows req ends spinner hides\n\n`SpinnerVisibilityService#visibilityObservable` and `PendingInterceptorService#pendingRequestsStatus` have been respectively deprecated in favor of `visibilityObservable$` and `pendingRequestsStatus$` (note the **$**).\n\n</details>\n\n---\n\n### Configuration\n\n\ud83d\udcc5 **Schedule**: At any time (no schedule defined).\n\n\ud83d\udea6 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.\n\n\u267b **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.\n\n\ud83d\udd15 **Ignore**: Close this PR and you won't be reminded about this update again.\n\n---\n\n - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.\n\n---\n\nThis 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).", 16 "comments": [], 17 "review_comments": [] 18 }