Skip to content

v0.2.0

Compare
Choose a tag to compare
@djspiewak djspiewak released this 12 Sep 16:40
· 142 commits to main since this release
v0.2.0

This release is expected to be the final pre-1.0 release of the macrotask-executor project. It is fully source- and binary-compatible with 0.1.0, and it is expected that 1.0.0 will retain this same property.

The primary changes from 0.1.0 in this release are support for Scala 2.11(!!) and polyfill support for the JSDOM test environment. The JSDOM environment was previously supported in terms of functionality, but only due to the fallback to setTimeout, meaning that all JSDOM usage was quite slow. Thanks to some creative sandbox breaking, we now utilize the Node.js setImmediate function from the host environment when running under JSDOM, which allows for much higher performance (and thus, much faster tests!). This also allowed us to reenable the internal-facing regression tests which verify that the polyfill is in fact working and avoiding timeout clamping.

The primary expected changes between now and 1.0 will focus on testing in more environments (e.g. Safari on macOS) and any resultant hardening and bugfixing.

User-Facing Pull Requests

  • #23 – Cross-build for Scala 2.11 (@armanbilge)
  • #22 – Make Undefined a final val so that it can be constant-folded (@sjrd)
  • #17 – Implement polyfill for JSDOM (@armanbilge)
  • #15 – Add README reference about micro/macrotask queues (@armanbilge)

Thank you, everyone!