angular/packages
Krzysztof Platis f19b36f462 fix(zone.js): in TaskTrackingZoneSpec track a periodic task until it is cancelled (#45391)
Before this change, the macrotask for `setInterval(callback, ms)` was no
longer tracked by `TaskTrackingZoneSpec` after the `callback` was
invoked for the first time. Now the periodic macrotask is tracked until
it is cancelled, e.g. `clearInterval(id)`.

BREAKING CHANGE: 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)`.

fixes 45350

PR Close #45391
2022-03-24 10:53:36 -07:00
..
animations feat(animations): provide warnings for non-animatable CSS properties (#45212) 2022-03-21 14:33:19 -07:00
bazel fix(bazel): ng module compilation workers are subject to linker race-conditions (#45393) 2022-03-24 10:52:12 -07:00
benchpress build: bump version for @angular/benchpress to v0.3.0 (#44893) 2022-01-31 21:27:08 +00:00
common refactor: replace deprecated HTMLDocument with Document (#45282) 2022-03-08 13:12:14 -08:00
compiler fix(compiler-cli): full side-effectful registration of NgModules with ids (#45024) 2022-03-22 11:11:53 -07:00
compiler-cli feat(core): drop support for TypeScript 4.4 and 4.5 (#45394) 2022-03-24 10:51:47 -07:00
core feat(core): drop support for TypeScript 4.4 and 4.5 (#45394) 2022-03-24 10:51:47 -07:00
docs refactor: fix various typos across different packages (#44523) 2022-01-07 18:11:10 +00:00
elements feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
examples refactor(core): drop all .ngfactory and .ngsummary imports (#44957) 2022-02-07 15:31:49 -08:00
forms fix(forms): Make UntypedFormBuilder assignable to FormBuilder, and vice versa. (#45421) 2022-03-24 10:49:10 -07:00
language-service fix(language-service): Prioritize Angular-specific completions over DOM completions (#45293) 2022-03-08 14:48:37 -08:00
localize feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
misc/angular-in-memory-web-api build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
platform-browser refactor: replace deprecated HTMLDocument with Document (#45282) 2022-03-08 13:12:14 -08:00
platform-browser-dynamic feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
platform-server refactor: replace deprecated HTMLDocument with Document (#45282) 2022-03-08 13:12:14 -08:00
private/testing test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
router docs(router): Fix typo on segments (#45411) 2022-03-24 10:49:35 -07:00
service-worker feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
upgrade feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
zone.js fix(zone.js): in TaskTrackingZoneSpec track a periodic task until it is cancelled (#45391) 2022-03-24 10:53:36 -07:00
BUILD.bazel build: Auto-gen tsec tsconfig files (#43440) 2021-09-17 17:17:34 +00:00
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts refactor(core): replace references to goog.LOCALE with goog.getLocale() (#43089) 2021-08-10 10:35:26 -07:00
license-banner.txt build: bump license year (#44590) 2022-01-04 12:05:25 -08:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build.json build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
tsconfig-legacy-saucelabs.json build: bundle spec files for saucelabs legacy job (#44281) 2021-11-30 11:56:04 -05:00
tsconfig-test.json build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
tsconfig-tsec-base.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00
tsconfig.json build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
tsec-exemption.json build: Enable tsec checks for critical packages. (#43108) 2021-09-13 14:45:57 -07:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT