0.7.5 (2017-01-12)
- patch fs methods as macrotask, add test cases of fs watcher (#572) (e1d3240)
- fix #577, canPatchViaPropertyDescriptor test should add configurable to XMLHttpRequest.prototype (#578) (c297752)
- fix #551, add toJSON to ZoneTask to prevent cyclic error (#576) (03d19f9)
- fix #574, captureStackTrace will have additional stackframe from Zone will break binding.js (#575) (41f5306)
- fix #569, request will cause updateTaskCount failed if we call abort multipletimes (#570) (62f1449)
- add web-api.ts to patch mediaQuery (#571) (e92f934)
- fix #584, remove android 4.1~4.3, add no-ssl options to make android 4.4 pass test (#586) (7cd570e)
- Fix #532, Fix #566, add tslint in ci, add tslint/format/test/karma in precommit of git (#565) (fb8d51c)
- docs(zone.ts): fix typo (#583) (ecbef87)
- add missing test MutationObserver (5c7bc01)
- Promise.toString() to look like native function (f854ce0)
- ZoneAwareError: Error should keep prototype chain and can be called without new (82722c3), closes #546 #554 #555
0.7.4 (2016-12-31)
- add better Type safety (610649b)
- add missing test MutationObserver (5c7bc01)
- correct currentZone passed into delegate methods (dc12d8e), closes #587 #539
- correct zone.min.js not including zone (384f5ec)
- Correct ZoneAwareError prototype chain (ba7858c), closes #546 #547
- formatting issue. (c70e9ec)
- inline event handler issue (20b5a5d), closes #525 #540
- parameterize
wrap
method onZone
(#542) (f522e1b) - closure: avoid property renaming on globals (af14646)
- Prevent adding listener for xhrhttprequest multiple times (9509747), closes #529 #527 #287 #530
- Promise.toString() to look like native function (f854ce0)
- closure: Fix closure error suppression comment. (#552) (2643783)
- Run tests on both the build as well as the dist folder (#514) (c0604f5)
- support nw.js environment (486010b), closes #524
- Patch captureStackTrace/prepareStackTrace to ZoneAwareError, patch process.nextTick, fix removeAllListeners bug (#516) (c36c0bc), closes #484 #491
0.7.1 (2016-11-22)
- missing zone from the build file (e961833)
0.7.0 (2016-11-22)
- node: crash when calling listeners() for event with no listeners (431f6f0)
- support clearing the timeouts with numeric IDs (fea6d68), closes #461
- promise: include stack trace in an unhandlerd promise (#463) (737f8d8)
- property-descriptor: do not use document object in Safari web worker (51f2e1f)
- Add WebSocket to the NO_EVENT_TARGET list to be patched as well (#493) (d8c15eb)
- fix wrong usage of == caught by closure compiler (#510) (d7d8eb5)
- fluent interface for EventEmitter (#475) (c5130a6)
- lint errors (ed87c26)
- make fetch promise patching safe (16be7f9), closes #451
- Make the check for ZoneAwarePromise more stringent (#495) (c69df25)
- run all timers in passage of time in a single fakeAsync's tick call (a85db4c), closes #454
- stop using class extends as it breaks rollup (b52cf02)
- use strict equality in scheduleQueueDrain (#504) (4b4249c)
0.6.25 (2016-09-20)
0.6.24 (2016-09-19)
0.6.23 (2016-09-14)
0.6.22 (2016-09-14)
- node: patch most fs methods (#438) (4c8a155)
- node: patch outgoing http requests to capture the zone (#430) (100b82b)
0.6.21 (2016-09-11)
- proper detection of global in WebWorker (0a7a155)
0.6.20 (2016-09-10)
0.6.19 (2016-09-10)
- provide a more usefull error when configuring properties (1fe4df0)
- jasmine: propagate all arguments of it/describe/etc... (a85fd68)
- long-stack: Safer writing of stack traces. (6767ff5)
- promise: support more aggressive optimization. (#431) (26fc3da)
- XHR: Don't send sync XHR through ZONE (6e2f13c), closes #377
0.6.17 (2016-08-22)
- browser: use XMLHttpRequest.DONE constant on target instead of the global interface (#395) (3b4c20b), closes #394
- jasmine: spelling error of 'describe' in jasmine patch prevented application of sync zone (d38ccde), closes #412
- patchProperty: return null as the default value (#413) (396942b), closes #319
- IE10/11 timeout issues. (382182c)
0.6.15 (2016-08-19)
- broken build. (#406) (5e3c207)
- tasks: do not drain the microtask queue early. (ff88bb4)
- tasks: do not drain the microtask queue early. (d4a1436)
0.6.14 (2016-08-17)
- jasmine: patch jasmine to understand zones. (3a054be)
- trackingZone: Keep track of tasks to see outstanding tasks. (4942b4a)
0.6.13 (2016-08-15)
- browser: make Object.defineProperty patch safer (#392) (597c634), closes #391
- browser: patch Window when EventTarget is missing. (#368) (fcef80d), closes #367
- browser: patchTimer cancelAnimationFrame (#353) (bf77fbb), closes #326 Leaflet/Leaflet#4588
- browser: should not throw with frozen prototypes (#351) (27ca2a9)
- build: fix broken master due to setTimeout not returning a number on node (d43b4b8)
- doc: Fixed the home page example. (#348) (9a0aa4a)
- throw if trying to load zone more then once. (6df5f93)
- fakeAsync: throw error on rejected promisees. (fd1dfcc)
- promise: allow Promise subclassing (dafad98)
- XHR.responseBlob: don't access XHR.responseBlob on old android webkit (#329) (ed69756)
- return timeout Id in ZoneTask.toString (fixes #341) (80ae6a8), closes #375
- jasmine: Switch jasmine patch to use microtask and preserve zone. (5f519de)
- ProxySpec: create a ProxySpec which can proxy to other ZoneSpecs. (2d02e39)
- zone: Add Zone.getZone api (0621014)
0.6.12 (2016-04-19)
- property-descriptor: do not fail for events without targets (3a8deef)
0.6.11 (2016-04-14)
- Suppress closure compiler warnings about unknown 'process' variable. (e125173), closes #295
- setTimeout: fix for #290, allow clearTimeout to be called in setTimeout callback (a6967ad), closes #301
- WebSocket patch: fix WebSocket constants copy (#299) (5dc4339)
- xhr: XHR macrotasks allow abort after XHR has completed (#311) (c70f011)
- zone: remove debugger statement (#292) (01cec16)
- window undefined in node environments (f8d5dc7), closes #305
0.6.9 (2016-04-04)
- Allow calling clearTimeout from within the setTimeout callback (a8ea55d), closes #302
- Canceling already run task should not double decrement task counter (faa3485), closes #290
- xhr: don't throw on an xhr which is aborted before sending (8827e1e)
- zone: remove debugger statement (d7c116b)
0.6.5 (2016-03-21)
- disable safari 7 (4a4d4f6)
- browser/utils: calling removeEventListener twice with the same args should not cause errors (1787339), closes #283 #284
- patching: call native cancel method (5783663), closes #278 #279
- utils: add the ability to prevent the default action of onEvent (onclick, onpaste,etc..) by returning false. (99940c3), closes #236
- WebSocket patch: keep WebSocket constants (f25b087), closes #267
- zonespec: Do not crash on error if last task had no data (0dba019), closes #281
- indexdb: Added property patches and event target methods as well as tests for Indexed DB (84a251f), closes #204
- zonespec: add a spec for asynchronous tests (aeeb05c), closes #275
0.6.2 (2016-03-03)
0.6.1 (2016-02-29)
0.6.0 (2016-02-29)
- everything: Major Zone Rewrite/Reimplementation (63d4552)
- everything: This is a brand new implementation which is not backwards compatible.
0.5.15 (2016-02-17)
- WebWorker: Patch WebSockets and XMLHttpRequest in WebWorker (45a6bc1), closes #249
- WebWorker: Patch WebSockets and XMLHttpRequest in WebWorker (9041a3a), closes #249
0.5.14 (2016-02-11)
0.5.11 (2016-01-27)
- correct incorrect example path in karma config (b0a624d)
- correct test relaying on jasmine timeout (4f7d6ae)
- WebSocket: don't patch EventTarget methods twice (345e56c), closes #235
- wtf: add wtf support to (set/clear)Timeout/Interval/Immediate (6659fd5)
0.5.10 (2015-12-11)
- keys: Do not use Symbol which are broken in Chrome 39.0.2171 (Dartium) (c48301b)
- Promise: Make sure we check for native Promise before es6-promise gets a chance to polyfill (fa18d4c)
0.5.9 (2015-12-09)
- keys: do not declare functions inside blocks (d44d699), closes #194
- keys: Symbol is being checked for type of function (6714be6)
- mutation-observe: output of typeof operator should be string (19703e3)
- util: origin addEventListener/removeEventListener should be called without eventListener (26e7f51), closes #198
- utils: should have no effect when called addEventListener/removeEventListener without eventListener. (5bcc6ae)
0.5.8 (2015-10-06)
- addEventListener: when called from the global scope (a23d61a), closes #190
- EventTarget: apply the patch even if
Window
is not defined (32c6df9)
0.5.7 (2015-09-29)
0.5.6 (2015-09-25)
- Jasmine: add support for jasmine 2 done.fail() (1d4370b), closes #180
- utils: fixes event target patch in web workers (ad5c0c8)
0.5.5 (2015-09-11)
- lib/utils: adds compliant handling of useCapturing param for EventTarget methods (dd2e1bf)
- lib/utils: fixes incorrect behaviour when re-adding the same event listener fn (1b804cf)
- longStackTraceZone: modifies stackFramesFilter to exclude zone.js frames (50ce9f3)
- lib/core: add/removeEventListener hooks (1897440)
- lib/patch/file-reader: zone-binds FileReader#onEventName listeners (ce589b9), closes #137
0.5.4 (2015-08-31)
- patch: support requestAnimationFrame time loops (3d6dc08)
0.5.3 (2015-08-21)
- addEventListener patch: ignore FunctionWrapper for IE11 & Edge dev tools (3b0ca3f)
- utils: event listener patches break when passed an object implementing EventListener (af88ff8)
- WebWorker: Fix patching in WebWorker (2cc59d8)
- zone.js: support Android browser (93b5555)
0.5.2 (2015-07-01)
- jasmine patch: forward timeout (2dde717)
- zone.bind: throw an error if arg is not a function (ee4262a)
0.5.1 (2015-06-10)
- PatchClass: copy static properties (b91f8fe), closes #127
- register-element: add check for callback being own property of opts (8bce00e), closes #52
- fetch: patch the fetch API (4d3d524), closes #108
- geolocation: patch the API (cd13da1), closes #113
- jasmine: export the jasmine patch (639d5e7)
- test: serve lib/ files instead of dist/ (f835213)
- zone.js: support IE9+ (554fae0)
0.5.0 (2015-05-08)
- always run jasmine's done callbacks for async tests in jasmine's zone (b7f3d04), closes #91
- don't fork new zones for callbacks from the root zone (531d0ec), closes #92
- MutationObserver: executes hooks in the creation zone (3122a48)
- test: fix an ineffective assertion (d85d2cf)
- minor fixes (18f5511)
- split zone.js into CJS modules, add zone-microtask.js (2e52900)
- scheduling: Prefer MutationObserver over Promise in FF (038bdd9)
- scheduling: Support Promise.then() fallbacks to enqueue a microtask (74eff1c)
- add isRootZone api (bf925bf)
- make root zone id to be 1 (605e213)
- New child zones are now created only from a async task that installed a custom zone.
Previously even without a custom zone installed (e.g. LongStacktracesZone), we would spawn new child zones for all asynchronous events. This is undesirable and generally not useful.
It does not make sense for us to create new zones for callbacks from the root zone since we care only about callbacks from installed custom zones. This reduces the overhead of zones.
This primarily means that LongStackTraces zone won't be able to trace events back to Zone.init(), but instead the starting point will be the installation of the LongStacktracesZone. In all practical situations this should be sufficient.
- zone.js as well as *-zone.js files are moved from / to dist/
0.4.4 (2015-05-07)
- commonjs wrapper (7b4fdde), closes #19
- fork the zone in first example (README) (7b6e8ed)
- prevent aliasing original window reference (63b42bd)
- use strcit mode for the zone.js code only (16855e5)
- test: use console.log rather than dump in tests (490e6dd)
- websockets: patch websockets via descriptors (d725f46), closes #81
- websockets: properly patch websockets in Safari 7.0 (3ba6fa1), closes #88
- websockets: properly patch websockets on Safari 7.1 (1799a20)
0.4.3 (2015-04-08)
- zone: keep argument[0] refs around. (48573ff)
0.4.2 (2015-03-27)
- bindPromiseFn: add bindPromiseFn method (643f2ac), closes #49
- lstz: allow getLongStacktrace to be called with zero args (26a4dc2), closes #47
- Zone: add unique id to each zone (fb338b6), closes #45
0.4.1 (2015-02-20)
0.4.0 (2015-02-04)
- WebSocket: patch WebSocket instance (7b8e1e6)
0.3.0 (2014-06-12)
- add events for webgl contexts (4b6e411)
- bind prototype chain callback of custom element descriptor (136e518)
- dequeue tasks from the zone that enqueued it (f127fd4)
- do not reconfig property descriptors of prototypes (e9dfbed)
- patch property descriptors in Object.create (7b7258b), closes #24
- support mozRequestAnimationFrame (886f67d)
- wrap non-configurable custom element callbacks (383b479), closes #24
- wrap Object.defineProperties (f587f17), closes #24
0.2.4 (2014-05-23)
0.2.3 (2014-05-23)
- remove dump (45fb7ba)
0.2.2 (2014-05-22)
- correctly detect support for document.registerElement (ab1d487)
- dont automagically dequeue on setInterval (da99e15)
- fork should deep clone objects (21b47ae)
- support MutationObserver.disconnect (ad711b8)
- add stackFramesFilter to longStackTraceZone (7133de0)
- expose hooks for enqueuing and dequing tasks (ba72f34)
- improve countingZone and example (86328fb)
- support document.registerElement (d3c785a), closes #18
0.2.1 (2014-04-24)
- add support for WebKitMutationObserver (d1a2c8e)
- preserve setters when wrapping XMLHttpRequest (fb46688), closes #17
0.2.0 (2014-04-17)
- patch all properties on the proto chain (b6d76f0)
- patch MutationObserver (1c4e85e)
- wrap XMLHttpRequest when we cant patch protos (76de58e)
- add exceptZone (b134391)
0.1.1 (2014-03-31)
- add commonjs support (0fe349e)
0.1.0 (2014-03-31)
- improve patching browsers with EventTarget (7d3a8b1)
- improve stacktrace capture on Safari (46a6fbc)
- long stack trace test (01ce3b3)
- prevent calling addEventListener on non-functions (7acebca)
- throw if a zone does not define an onError hook (81d5f49)
- throw if a zone does not define an onError hook (3485c1b)