Repository navigation
v0.5.4
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_allreturns aResultinstead 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'srequires.ensures it == eno longer replaces the body.ForPatarms, loop havoc throughmut, termination through fields, andbuildandverifyagreeing 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,
mutthrough std calls, andspawninside 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, andSortedDictequality (#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_bytesgives a program's output as bytes.historyandrevertread 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.