Sigil 0.24.1
A dependency validation and runtime fixes release. sigil deps now refuses a lock that breaks a declared range and names the requiring packages and their ranges. Channel builds catch missing runtime libraries before installing an output, and fixes cover conditional values, channel closure, browser keyboard events and UTF-8 conversion.
Dependency ranges
Dependency installation and update used to accept a package version even when two dependencies required incompatible ranges. Both commands now refuse that graph before writing a lock. An existing incompatible lock is preserved so you can correct the declarations or upgrade the requiring packages, then run sigil deps update.
The monorepo lock now uses sigil-mcp 0.18.5 and sigil-lsp, sigil-ffi and sigil-sqlite 0.16.4, whose compatible declarations let it resolve again. A git.usesigil.org URL whose package name cannot be derived now asks for an explicit name:.
Channel runtime libraries
External builds now pass the toolchain's runtime library directories to the linker, including libraries supplied by indirect dependencies. Each output's own installed lib directory also joins RUNPATH by default, so programs find the libraries they ship alongside themselves.
After installation, every dynamic ELF output is checked: a DT_NEEDED library that cannot be resolved from its RUNPATH fails the build with the file and missing library named. Fix the link or install the missing library before retrying. Recipes with a deliberately different loading arrangement can use validate-runpath: #f to disable this check, or self-runpath: #f to omit the automatic self directory. Channel packages rebuild once after upgrading.
Fixes
- Test-only
condandguardclauses could discard the value of their test. They now return that value on native and WebAssembly targets. - API listings could omit empty or escaped export names, including Shell's
||. They now preserve readable Scheme names, and help lookup retains the original symbol's identity. - Browser keyboard events did not expose physical-key identifiers. Event objects now include
code:alongside the key and modifier fields, with an empty string when the browser supplies no code. - Closing a channel could leave a waiting fiber asleep or fail during cleanup. Closure now wakes waiting fibers through their owning scheduler and handles cleanup without a current scheduler.
- Direct WASM's
utf8->stringcould trap instead of converting bytes. All three forms now work, including conversions used by filesystem operations. - Completed subprocesses could leave a 64-byte native process record allocated. That record is now released.