npm / zone.js
zone.js
What changed in zone.js 0.16, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 breaking2 security1 new APIs and options2 tooling6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initzone.js 0.1612 changes
Breaking changes 1
IE and Non-Chromium Edge are no longer supported.
Security 2
Validates __Zone_symbol_prefix to prevent DOM clobbering attacks.
Hardens zoneSymbolEventNames and patches against the __proto__ key.
New APIs and options 1
Microtasks can now be drained in Promise.then when a flag is enabled.
Tooling 2
Supports Vitest patching through zone.js/testing, enabling Zone.js testing integration with Vitest.
Adds support for jasmine v6.
Fixes and other changes 6
Avoids a type error when a custom object rejection has a rejection property.
Preserves accessor and non-enumerable event listener options.
Guards against a null handle when detecting refreshable timers.
Fixes patching of curried describe/it calls in Vitest.
Fixes passthrough support for the Promise.try API.
Passes arguments through to the test function.