kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

Update dependency zone.js to ~0.12.0 #1900

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
zone.js (changelog) ~0.11.4 -> ~0.12.0 age adoption passing confidence

Release Notes

angular/angular ### [`v0.12.0`](https://togithub.com/angular/angular/blob/HEAD/packages/zone.js/CHANGELOG.md#​0120-httpsgithubcomangularangularcomparezonejs-0118zonejs-0120-2022-10-27) [Compare Source](https://togithub.com/angular/angular/compare/zone.js-0.11.8...zone.js-0.12.0) ##### Bug Fixes - **zone.js:** cancel tasks only when they are scheduled or running ([#​46435](https://togithub.com/angular/angular/issues/46435)) ([b618b5a](https://togithub.com/angular/angular/commit/b618b5aa86138c900055c5496967e3348a7b98fc)), closes [#​45711](https://togithub.com/angular/angular/issues/45711) - **zone.js:** Fix ConsoleTask interface typo ([#​47090](https://togithub.com/angular/angular/issues/47090)) ([91954cf](https://togithub.com/angular/angular/commit/91954cf20e17a386d71cc8ea25d1d17b9ae1e31c)) #### [0.11.8](https://togithub.com/angular/angular/compare/zone.js-0.11.7...zone.js-0.11.8) (2022-08-08) ##### Features - **zone.js:** Update to the simpler Async Stack Tagging v2 API ([#​46958](https://togithub.com/angular/angular/issues/46958)) ([f23232f](https://togithub.com/angular/angular/commit/f23232ff66559ddc28aec26d461355568c25530d)) #### [0.11.7](https://togithub.com/angular/angular/compare/zone.js-0.11.6...zone.js-0.11.7) (2022-07-20) ##### Bug Fixes - **zone.js:** do not invoke jasmine done callback multiple times with `waitForAsync` ([4e77c7fbf38](https://togithub.com/angular/angular/commit/4e77c7fbf38f27741617303165068e1cb1ef6354)) ##### Features - **zone.js:** add AsyncStackTaggingZoneSpec implementation ([#​46693](https://togithub.com/angular/angular/issues/46693)) ([848a009](https://togithub.com/angular/angular/commit/848a00956e693ba8ab648c86cca034ed2e3c807c)) - **zone.js:** include jasmine `describe` block name when raising unexpected task error ([de86285](https://togithub.com/angular/angular/commit/de86285f2ee1c3a78489c8c40a15fc78f75e2620)) - **zone.js:** include zone name when sync-test zone reports tasks ([72c2567](https://togithub.com/angular/angular/commit/72c2567847c37b07e468a501a4b13edc791ae9ed)) #### [0.11.6](https://togithub.com/angular/angular/compare/zone.js-0.11.5...zone.js-0.11.6) (2022-06-02) ##### Bug Fixes - **zone.js:** check if `process` is defined when patching the `GlobalErrors.install` ([#​45392](https://togithub.com/angular/angular/issues/45392)) ([c7bcc1b](https://togithub.com/angular/angular/commit/c7bcc1b50182e5378756aa4528a24075b5be026e)), closes [#​42260](https://togithub.com/angular/angular/issues/42260) - **zone.js:** in TaskTrackingZoneSpec track a periodic task until it is cancelled ([#​45391](https://togithub.com/angular/angular/issues/45391)) ([f19b36f](https://togithub.com/angular/angular/commit/f19b36f462803b3b3b9410391c039649541b10bc)) - **zone.js:** read `Symbol.species` safely ([#​45369](https://togithub.com/angular/angular/issues/45369)) ([e2eaac3](https://togithub.com/angular/angular/commit/e2eaac34b06a558145be41853f1d3585c1108880)) - **zone.js:** should ignore multiple resolve call ([#​45283](https://togithub.com/angular/angular/issues/45283)) ([aebf165](https://togithub.com/angular/angular/commit/aebf165359ad6de5a8bacd9cb91651fc4175aaad)), closes [#​44913](https://togithub.com/angular/angular/issues/44913) - **zone.js:** swallow the error when the element callback is not patchable ([#​45400](https://togithub.com/angular/angular/issues/45400)) ([4ea70e3](https://togithub.com/angular/angular/commit/4ea70e36b998208302183f78088637f3de86323d)), closes [lwc/engine-core/src/framework/base-bridge-element.ts#L180-L186](https://togithub.com/lwc/engine-core/src/framework/base-bridge-element.ts/issues/L180-L186) [#​42546](https://togithub.com/angular/angular/issues/42546) ##### BREAKING CHANGES - **zone.js:** in TaskTrackingZoneSpec track a periodic task until it is cancelled The breaking change is scoped only to the plugin `zone.js/plugins/task-tracking`. If you used `TaskTrackingZoneSpec` and checked the pending macroTasks e.g. using `(this.ngZone as any)._inner ._parent._properties.TaskTrackingZone.getTasksFor('macroTask')`, then its behavior slightly changed for periodic macrotasks. For example, previously the `setInterval` macrotask was no longer tracked after its callback was executed for the first time. Now it's tracked until the task is explicitly cancelled, e.g with `clearInterval(id)`. #### [0.11.5](https://togithub.com/angular/angular/compare/zone.js-0.11.4...zone.js-0.11.5) (2022-03-03) ##### Bug Fixes - **zone.js:** async-test should only call done once ([#​45025](https://togithub.com/angular/angular/issues/45025)) ([dea7234](https://togithub.com/angular/angular/commit/dea7234a76f652c8e9d9b79719e2b170a5a50777)) - **zone.js:** defineProperties should also set symbol props ([#​45098](https://togithub.com/angular/angular/issues/45098)) ([b437d12](https://togithub.com/angular/angular/commit/b437d1238d9006baa0cf749adbd7cc3270de3040)), closes [#​44095](https://togithub.com/angular/angular/issues/44095) - **zone.js:** fix several test cases which trigger `done()` multiple times ([#​45025](https://togithub.com/angular/angular/issues/45025)) ([d5565cc](https://togithub.com/angular/angular/commit/d5565ccdb4573a47eb329b09c6852c1ae39672a6)) - **zone.js:** only one listener should also re-throw an error correctly ([#​41868](https://togithub.com/angular/angular/issues/41868)) ([299f92c](https://togithub.com/angular/angular/commit/299f92c3b62a43c94cff4a204f9e41c46a159efc)), closes [#​41867](https://togithub.com/angular/angular/issues/41867) [/github.com/angular/angular/pull/41562#issuecomment-822696973](https://togithub.com//github.com/angular/angular/pull/41562/issues/issuecomment-822696973) - **zone.js:** patch global instead of Mocha object ([#​45047](https://togithub.com/angular/angular/issues/45047)) ([8efbdb5](https://togithub.com/angular/angular/commit/8efbdb57c11a6c632f69d7e142a632b6a853fa46)), closes [#​42834](https://togithub.com/angular/angular/issues/42834) - **zone.js:** should continue to executue listeners when throw error ([#​41562](https://togithub.com/angular/angular/issues/41562)) ([008eaf3](https://togithub.com/angular/angular/commit/008eaf3b7df90b2cdd9c83e229d23d4014d6dbc9)), closes [#​41522](https://togithub.com/angular/angular/issues/41522) - **zone.js:** update several flaky cases ([#​41526](https://togithub.com/angular/angular/issues/41526)) ([25a83eb](https://togithub.com/angular/angular/commit/25a83eb264aa19fc4616cea45e04d790b9bcd777)), closes [#​41434](https://togithub.com/angular/angular/issues/41434) ##### Features - **zone.js:** add Promise.any() implementation ([#​45064](https://togithub.com/angular/angular/issues/45064)) ([4d494d2](https://togithub.com/angular/angular/commit/4d494d24ccb69b40a477b0bccd97baf6af66accf)), closes [#​44393](https://togithub.com/angular/angular/issues/44393) - **zone.js:** update electron patch to support electron/remote 14 ([#​45073](https://togithub.com/angular/angular/issues/45073)) ([d65706a](https://togithub.com/angular/angular/commit/d65706a3b225ccb88d719478c19a379aef1b6047)), closes [#​43346](https://togithub.com/angular/angular/issues/43346) #### [0.11.4](https://togithub.com/angular/angular/compare/zone.js-0.11.3...zone.js-0.11.4) (2021-02-10) ##### Bug Fixes - **zone.js:** fesm2015 bundle should also be strict module. ([#​40456](https://togithub.com/angular/angular/issues/40456)) ([f35f7c6](https://togithub.com/angular/angular/commit/f35f7c6)), closes [#​40215](https://togithub.com/angular/angular/issues/40215) [#​40215](https://togithub.com/angular/angular/issues/40215) - **zone.js:** fix typo in zone_externs ([#​40348](https://togithub.com/angular/angular/issues/40348)) ([8116edb](https://togithub.com/angular/angular/commit/8116edb)) - **zone.js:** patch child method that overrides an already patched method ([#​39850](https://togithub.com/angular/angular/issues/39850)) ([82e3f54](https://togithub.com/angular/angular/commit/82e3f54)) - **zone.js:** setTimeout patch should clean tasksByHandleId cache. ([#​40586](https://togithub.com/angular/angular/issues/40586)) ([0652b29](https://togithub.com/angular/angular/commit/0652b29)), closes [#​40387](https://togithub.com/angular/angular/issues/40387) - **zone.js:** update build tooling for latest changes in rules_nodejs ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([2827845](https://togithub.com/angular/angular/commit/2827845)) ##### Features - **zone.js:** monkey patches queueMicrotask() ([#​38904](https://togithub.com/angular/angular/issues/38904)) ([27358eb](https://togithub.com/angular/angular/commit/27358eb)), closes [#​38863](https://togithub.com/angular/angular/issues/38863) #### [0.11.3](https://togithub.com/angular/angular/compare/zone.js-0.11.2...zone.js-0.11.3) (2020-10-27) ##### Bug Fixes - **zone.js:** remove global declaration ([#​37861](https://togithub.com/angular/angular/issues/37861)) ([90c0772](https://togithub.com/angular/angular/commit/90c0772)), closes [#​37531](https://togithub.com/angular/angular/issues/37531) #### [0.11.2](https://togithub.com/angular/angular/compare/zone.js-0.11.0...zone.js-0.11.2) (2020-09-19) ##### Bug Fixes - **zone.js:** jest getRealSystemTime should return native time ([#​39127](https://togithub.com/angular/angular/issues/39127)) ([ffc3332](https://togithub.com/angular/angular/commit/ffc3332)) - **zone.js:** add missing types field in package.json ([#​38585](https://togithub.com/angular/angular/issues/38585)) ([27cc56b](https://togithub.com/angular/angular/commit/27cc56b)), closes [#​38584](https://togithub.com/angular/angular/issues/38584) - **zone.js:** defineProperty patch should not swallow error ([#​37582](https://togithub.com/angular/angular/issues/37582)) ([45a73dd](https://togithub.com/angular/angular/commit/45a73dd)), closes [#​37432](https://togithub.com/angular/angular/issues/37432) - **zone.js:** run tests in umd format ([#​37582](https://togithub.com/angular/angular/issues/37582)) ([40096be](https://togithub.com/angular/angular/commit/40096be)) - **zone.js:** should have better backward compatibilities ([#​38797](https://togithub.com/angular/angular/issues/38797)) ([a33d630](https://togithub.com/angular/angular/commit/a33d630)), closes [#​38561](https://togithub.com/angular/angular/issues/38561) [#​38669](https://togithub.com/angular/angular/issues/38669) - **zone.js:** should invoke xhr send task when no response error occurs ([#​38836](https://togithub.com/angular/angular/issues/38836)) ([d92a0dd](https://togithub.com/angular/angular/commit/d92a0dd)), closes [#​38795](https://togithub.com/angular/angular/issues/38795) - **zone.js:** zone.js toString patch should check typeof Promise is function ([#​38350](https://togithub.com/angular/angular/issues/38350)) ([18e474f](https://togithub.com/angular/angular/commit/18e474f)), closes [#​38361](https://togithub.com/angular/angular/issues/38361) ##### Features - **zone.js:** add jest fakeTimers support ([#​39016](https://togithub.com/angular/angular/issues/39016)) ([82d54fe](https://togithub.com/angular/angular/commit/82d54fe)), closes [#​38851](https://togithub.com/angular/angular/issues/38851) ##### Refactor - **zone.js:** refactor(zone.js): rename several internal apis in fake async zone spec ([#​39127](https://togithub.com/angular/angular/issues/39127)) ([8a68669](https://togithub.com/angular/angular/commit/8a68669)) ##### Build - **zone.js:** build(zone.js): zone.js should output esm format for fesm2015 bundles ([#​39203](https://togithub.com/angular/angular/issues/39203)) ([822b838](https://togithub.com/angular/angular/commit/822b838)) ##### BREAKING CHANGES - **zone.js:** ZoneJS no longer swallows errors produced by `Object.defineProperty` calls. Prior to this change, ZoneJS monkey patched `Object.defineProperty` and if there is an error (such as the property is not configurable or not writable) the patched logic swallowed it and only console.log was produced. This behavior used to hide real errors, so the logic is now updated to trigger original errors (if any). One exception where the patch remains in place is `document.registerElement` (to allow smooth transition for code/polyfills that rely on old behavior in legacy browsers). If your code relies on the old behavior (where errors were not thrown before), you may need to update the logic to handle the errors that are no longer masked by ZoneJS patch. #### [0.11.1](https://togithub.com/angular/angular/compare/zone.js-0.11.0...zone.js-0.11.1) (2020-08-19) ##### Bug Fixes - **zone.js:** zone.js package.json should not include files/directories field ([#​38528](https://togithub.com/angular/angular/issues/38528)) ([6b662d1](https://togithub.com/angular/angular/commit/6b662d1)), closes [#​38526](https://togithub.com/angular/angular/issues/38526) [#​38516](https://togithub.com/angular/angular/issues/38516) [#​38513](https://togithub.com/angular/angular/issues/38513)

Configuration

📅 Schedule: Branch creation - "after 11pm every weekday,before 6am every weekday" in timezone Europe/Warsaw, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 1fa82b37551855cb239eb3039fa29653ec60812e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 1 year ago
### 🚀 Website Preview The latest changes to the website are available as preview in: [https://abd08472.apollo-angular.pages.dev](https://abd08472.apollo-angular.pages.dev)