Skip to content

v0.5.7

Choose a tag to compare

@anonx3247 anonx3247 released this 30 Nov 09:11
e714c8b

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 Element or Attribute directly and render <script>, onclick or a javascript: URL. This came from v0.5.6, where Node became pub. render now checks tag, attribute and event names again, with the tests of TagName, AttrName and EventName. A bad element or attribute renders as nothing, and a URL attribute goes through safe_url (#788).

Verification

  • Extern functions: they are now keyed by their declaration. Before, a TypeScript or Rust m.inc could take a verdict cached for a Python m.inc in another package, and an edited extern declaration kept its old verdict (#791).
  • Checks with no key: a check verify can't key is never cached (#791).
  • std generics: build reads std's proof rows split by implementation, as verify writes 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).

Also

  • Verify's cache keys hold no absolute paths, and implementation methods are checked separately (#775).
  • The four cases that test verify's cache use a cache of their own (#793).