Repository navigation
v0.5.7
Install: curl -fsSL https://strata-lang.dev/install.sh | sh (macOS arm64).
A fix release for v0.5.6. Upgrade if you use std.web or verify's cache.
Security
- std.web: another module could build an
ElementorAttributedirectly and render<script>,onclickor ajavascript:URL. This came from v0.5.6, whereNodebecamepub.rendernow checks tag, attribute and event names again, with the tests ofTagName,AttrNameandEventName. A bad element or attribute renders as nothing, and a URL attribute goes throughsafe_url(#788).
Verification
- Extern functions: they are now keyed by their declaration. Before, a TypeScript or Rust
m.inccould take a verdict cached for a Pythonm.incin another package, and an editedexterndeclaration kept its old verdict (#791). - Checks with no key: a check
verifycan't key is never cached (#791). - std generics:
buildreads std's proof rows split by implementation, asverifywrites them. In v0.5.6, std generics kept their runtime checks, which made sorted collections take linear time per change (#791). strata cache clean --obsolete: it no longer deletes std's library proofs or the tour's cache (#791).