Sigil 0.24.5
A bug-fix release for browser applications and dependency imports. Anyone building browser apps through (sigil async), or seeing scoped dependency imports fail to resolve, should upgrade. Socket receive buffers are cleared before release, and large channel lint results fit within the authoring sandbox's new 2 MiB per-file limit.
Browser applications resume through imported procedures
Browser applications could trap after an asynchronous operation when the calling procedure reached it through a renamed import, a public facade or a helper. Suspension analysis now follows the procedure's module binding, so these calls can suspend and resume correctly. An unrelated local procedure with the same name no longer determines the result.
The broader analysis also marks more code as able to suspend, which can increase Wasm size. Enclave's Wasm grew 4.52% in a measured build. Two-hop higher-order callback forwarding still does not resume, as before.
Socket receive buffers are cleared before release
TCP and UDP receive operations now clear the received bytes from temporary buffers before releasing them. Returned strings and bytevectors still hold the data the caller requested. This reduces leftover copies; it does not guarantee that a password never lingers in memory. Rejected datagrams are not cleared.
Fixes
- A module available only through a dependency's scoped sources could fail to import. Scoped sources now fill gaps after workspace, explicit library paths and ordinary search paths, preserving their precedence.
- Large channel lint results could exceed the authoring sandbox's 512 KiB per-file limit. The limit is now 2 MiB per file, with CPU, memory, wall-time and file descriptor limits unchanged; it is not a total disk quota.
with-ansi-disabledcould leave styling disabled when its procedure raised an exception. It now restores the setting on normal return and exceptions, while parameter values remain shared across suspended fibers.- Native test tasks now use the package's declared build recipe, including its configuration and library paths, instead of assuming a default build.
The static-site guide now uses Press, with its current build and publishing workflow.