Releases: scala-js/scala-js-macrotask-executor
v1.1.1
- Use Node.js 18 in CI, fix JSDOM detection by @armanbilge in #75
Full Changelog: v1.1.0...v1.1.1
v1.1.0
v1.0.0
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
afinal 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!
v0.1.0
Initial port and release of the PolyfillExecutionContext
from Cats Effect! The code itself is already highly stable and well-tested, so we expect to progress towards a 1.0.0 very soon.
Very special thanks to @armanbilge for doing the lion's share of the work, particularly with respect to web worker support!