Skip to content

v0.5.4

Choose a tag to compare

@anonx3247 anonx3247 released this 28 Nov 18:10
6dc856e

Install: curl -fsSL https://strata-lang.dev/install.sh | sh (macOS arm64).

The stored format is unchanged from 0.5.3. This release is the second wave of BUGS.md fixes: 70 entries closed (302 → 232).

Data loss and safety

  • Each change's module files and its log entry are written through a journal, so a crash leaves both or neither. Commits take only what changed. Exit codes report failures (#701).
  • Crossed task handles are freed. Host text (paths, arguments, environment, input) is checked for UTF-8 and NUL. read_all returns a Result instead of a truncated string (#700).
  • std: http, web, json, sqlite, orm, process and agent fixes. Repeated headers, HEAD, path decoding, client targets, javascript: and <script> in html, JSON depth, CRLF, large integers, sqlite foreign keys and TEXT, and exit codes (#697).

Verification

  • The verify cache is keyed by the encoding settings. A trait method called through a generic bound ([T: Div]) is no longer proven past the impl's requires. ensures it == e no longer replaces the body. ForPat arms, loop havoc through mut, termination through fields, and build and verify agreeing on what is proven (#699).

Type checker

  • Bounds are checked on every trait. Pending obligations on generic and compound types are kept. Coverage holds past guards and nesting depth. Contracts are typed, and variance is inferred per type. Union fields, mut through std calls, and spawn inside lambdas are fixed (#704).

Code generation and runtime

  • Unions with members of the same head, call results stored into unions, big-integer ranges, float and big-integer keys, ! conversion, Ok(()), _ arms, Type.method, and SortedDict equality (#702).
  • Channel fixes, per-thread free lists, code points on bad UTF-8, floats shown and parsed without the locale, and float % (#700).

Front end

  • "\r", round-trip fixes, refutable := refused, definitions given twice, and comment placement in linear time (#703).

Tools

  • std.process.run_bytes gives a program's output as bytes. history and revert read git blobs through it (#705).
  • Cases fixed on main: merge-file renames, literal checks, verify's new verdicts (#707). Two cases still fail under load or on main (BUGS.md, "Test cases failing on main").

Known issues

See BUGS.md: 232 open entries.