Skip to content

v0.4.0

Latest

Choose a tag to compare

@zaidejjo zaidejjo released this 27 Oct 00:21
cad405f

What's Changed

  • fix(link): strip debug info from release native-runtime archive by @zaidejjo in #411
  • fix(native): heal arena values stored in cells, never reuse cell ids by @zaidejjo in #412
  • fix(lexer): unmatched }} stays literal so nested JSON lexes intact by @zaidejjo in #413
  • feat(lexer): backtick raw strings with no interpolation or escapes by @zaidejjo in #415
  • fix(test): alias bare main imports in AOT harness to dodge entrypoint collision by @zaidejjo in #416
  • fix(runtime): omit Func bindings when freezing spawn parent scopes by @zaidejjo in #422
  • fix(hir): mark top-level binding initializers escaping so globals heap-allocate by @zaidejjo in #428
  • fix(codegen): dispatch native-namespace methods on struct-field-path receivers by @zaidejjo in #429
  • fix(checker+codegen): record binding span types so destructured names dispatch typed by @zaidejjo in #430
  • fix(cli): show usage for zz new/add --help instead of missing-arg errors by @zaidejjo in #431
  • fix(pm,cli): accept version-table deps; hint projects for standalone registry imports by @zaidejjo in #432
  • fix(loader): actionable hints for uninstalled and transitive missing deps by @zaidejjo in #433
  • feat(pm): send docs_md and languages in publish payload by @zaidejjo in #434
  • fix(runtime): ignore SIGPIPE so write-after-close surfaces EPIPE by @zaidejjo in #435
  • fix(codegen): lower statement-position if in void context by @zaidejjo in #436
  • fix(pm): resolve transitive deps across install, link, load, and cache by @zaidejjo in #438
  • fix(net): resolve hostnames via getaddrinfo, try each address by @zaidejjo in #439
  • fix(chunk): resolve pure-ZZ stdlib helpers via referenced-only merge by @zaidejjo in #440
  • fix(codegen): local bindings shadow module fns in call lowering by @zaidejjo in #441
  • fix(codegen): first-class C ranges shared by HIR and chunk backends by @zaidejjo in #442
  • feat(lsp): check-vs-server diagnostic parity gate with JSON check output by @zaidejjo in #443
  • fix(vm): enum-typed calls stay calls when naming functions by @zaidejjo in #444
  • feat(lsp): import-path completion for installed packages by @zaidejjo in #445
  • feat(lsp): complete keywords, primitives, bounds, and generic params in scope by @zaidejjo in #446
  • perf(vm): share value backing via Arc, add clone(v) by @zaidejjo in #447
  • feat(lsp): cross-file rename scope, file watching, auto-import, test lenses by @zaidejjo in #448
  • feat(lsp): trust the editor by @zaidejjo in #449
  • fix(checker,aot): bare function names as values in func-typed struct fields by @zaidejjo in #450
  • feat(lsp): extract variable and function refactors by @zaidejjo in #451
  • feat(lsp): project check, field rename, negative tests by @zaidejjo in #453
  • feat(std.test): pro assertions, helpers, snapshots by @zaidejjo in #454
  • feat(cli): separate zz bench command with VM and AOT engines by @zaidejjo in #455
  • perf(vm): direct-call fast path and typed int comparisons by @zaidejjo in #456
  • feat(lsp): inferred-type inlay hints by @zaidejjo in #457
  • feat(std.test): black_box optimization barrier for benchmarks by @zaidejjo in #458
  • feat(audit): verify native closure pins, drift, tampering, hooks by @zaidejjo in #459
  • fix(lsp): extract-function correctness by @zaidejjo in #460
  • feat(cli): zz cover line coverage with text and LCOV reports by @zaidejjo in #461
  • feat(plugins): borrowed bytes views cross the C ABI by @zaidejjo in #462
  • feat(lsp): inline variable and move-to-new-file by @zaidejjo in #463
  • feat(test): doc-tests from zz fences with VM and AOT support by @zaidejjo in #465
  • chore: remove the adr folder by @zaidejjo in #464
  • feat(stdlib): std.property generators, shrinking, check by @zaidejjo in #466
  • feat(cover): branch directions, tests aggregation, html report by @zaidejjo in #467
  • feat(test): doctest compile_fail, no_run, preludes, json kind by @zaidejjo in #468
  • feat(lsp): ranked scope completion by @zaidejjo in #469
  • feat(runtime): debuggable VM (breakpoints, suspend, inspect) by @zaidejjo in #470
  • feat(plugins): generate ZZ wrappers from plugin.zzi by @zaidejjo in #471
  • feat(dap): zz-dap protocol adapter by @zaidejjo in #472
  • fix(stdlib): remove db alias and append duplication by @zaidejjo in #473
  • feat(dap): step-into and step-out by @zaidejjo in #474
  • fix(tests): eliminate parallel-test flakes by @zaidejjo in #475
  • feat(dap): expandable variables with sequence paging by @zaidejjo in #476
  • feat(lsp): incremental checking with skip cache and transitive fan-out by @zaidejjo in #478
  • fix(stdlib): canonical std.* seeds with fallback resolution by @zaidejjo in #477
  • fix(stdlib): make tls, tls_listener and unix_listener real modules by @zaidejjo in #479
  • chore(stdlib): final duplication cleanup by @zaidejjo in #480
  • fix(tests): unique temp paths and drop dead code by @zaidejjo in #481
  • docs: professional structure with 98+ push by @zaidejjo in #482
  • docs: fix 98 gaps with fence, IA, curation, diagrams by @zaidejjo in #483
  • docs: final 98 with fence runner, versioning, offline doc spec by @zaidejjo in #484
  • docs: signature-enriched stdlib reference (691 entries from FuncSig) by @zaidejjo in #485
  • fix(codegen): lower option/result unwrap and unwrap_or to native runtime by @zaidejjo in #492
  • fix(frontend): allow comments between |> chain links by @zaidejjo in #493
  • perf(runtime): reuse scratch args buffer for VM calls by @zaidejjo in #494
  • perf(runtime): reuse call args buffer for receivers and dedup path joins by @zaidejjo in #495
  • fix(checker): route shadow lint mirrors runtime precedence by @zaidejjo in #496
  • fix(imports): hyphenated package names parse and resolve by @zaidejjo in #497
  • perf(strings): ASCII fast paths for index, slice, and length by @zaidejjo in #498
  • chore(bench): add VM perf gate harness with before-after comparison by @zaidejjo in #499
  • perf(runtime): guard yield check with executor test by @zaidejjo in #501
  • fix(codegen): fuse int-compare branches in chunk backend by @zaidejjo in #502
  • perf(dict): lazy-indexed ordered dicts for O(1) lookup and update by @zaidejjo in #504
  • chore(bench): interleave base/new reps in VM gate to cancel load bias by @zaidejjo in #506
  • perf(vm): enter direct call frames without cloning the function by @zaidejjo in #510
  • fix(loader,checker,runtime,codegen): impl method outranks a same-named free function in dot calls by @zaidejjo in #513
  • docs(stdlib): recommend table-driven route registration by @zaidejjo in #515
  • perf(vm): fold the for-loop safepoint into ForNext, drop dead loop results by @zaidejjo in #514
  • test(cli): make the dual-engine harnesses ignore the VM run cache by @zaidejjo in #517
  • fix(ir): size the locals table from the signature arity, not just referenced slots by @zaidejjo in #519
  • perf(vm): never materialize a dead statement value by @zaidejjo in #520
  • fix(codegen): refcount Option/Result/JSON payload boxes by @zaidejjo in #522
  • perf(cache): key dev-loop caches on the build, not on the commit by @zaidejjo in #523
  • perf(ir): carry the VM's fused slot ops through the format by @zaidejjo in #524
  • fix(codegen): don't select ghost namespace spellings (AOT x.len() chains, #521) by @zaidejjo in #525
  • fix(frontend): accept leading whitespace in interpolation (#516) by @zaidejjo in #526
  • fix(checker): warn when := shadows the binding its initializer reads (#518) by @zaidejjo in #527
  • fix(loader): compile pure-ZZ stdlib bodies referenced bare (#503) by @zaidejjo in #528
  • perf(vm): rotate for loops so ForNext is the back-edge (IR v4) by @zaidejjo in #529
  • fix(checker): keep variant constructors in the span map for method dispatch (#505) by @zaidejjo in #530
  • docs(cli): document the run cache and list run's flags in --help (#509) by @zaidejjo in #531
  • feat(codegen): compile variant construction in the chunk backend (#508, part 1) by @zaidejjo in #534
  • fix(checker): merge unbound variant payloads into array element types by @zaidejjo in #535
  • perf(vm): iterate ranges in place in the ForNext handler by @zaidejjo in #536
  • feat(codegen): resolve variant methods statically so chunk compiles them by @zaidejjo in #538
  • perf: cached frame base, in-place array/bytes loops, and 3-op if guards by @zaidejjo in #546
  • fix(codegen): link the native runtime through immutable snapshots by @zaidejjo in #550
  • feat(codegen/chunk): module-scope bindings as C globals by @zaidejjo in #549
  • feat(aot): implement http.rate_limit C twin by @zaidejjo in #551
  • feat(aot): implement http.listen_cfg by @zaidejjo in #555
  • fix(aot): release DB handles on scope exit by @zaidejjo in #553
  • fix(vm,codegen): bind module-scope captured locals in the environment by @zaidejjo in #547
  • feat(codegen/chunk): match family and user enums (#508) by @zaidejjo in #556
  • docs(bench): chunk gate re-measurement + corpus coverage notes by @zaidejjo in #559
  • fix(codegen/chunk): empty or-pattern never matches by @zaidejjo in #560
  • fix(codegen/chunk): scope match arm bindings like the VM child env by @zaidejjo in #561
  • fix(parity): promote http_limits_p2 to strict parity by @zaidejjo in #563
  • fix(aot): close DB refs on helper and temporary calls by @zaidejjo in #564
  • fix(checker): exempt closure parameters from unused warnings by @zaidejjo in #566
  • perf(vm): drop the dead while loop value and fold its safepoint by @zaidejjo in #567
  • feat(docker): publish AOT builder and runtime images by @zaidejjo in #565
  • build(release): thin LTO and one codegen unit (+4-15% on the VM gates) by @zaidejjo in #568
  • perf(vm): static native dispatch, shared function values, cheaper slot writes by @zaidejjo in #569
  • fix(codegen): key native dicts by value, not by string by @zaidejjo in #571
  • perf(codegen): sort with qsort lanes instead of an O(n^2) insertion sort by @zaidejjo in #572
  • perf(vm): write a[i] = v in place instead of deep-copying the container by @zaidejjo in #573
  • perf(codegen): index C-runtime dict keys instead of scanning entries by @zaidejjo in #574
  • feat(lang): require explicit return in named functions by @zaidejjo in #570
  • perf(vm): stop formatting a discarded error on every method call by @zaidejjo in #575
  • perf(vm): resolve struct method calls at compile time by @zaidejjo in #576
  • perf(runtime): intern ASCII character reads by @zaidejjo in #577
  • perf(stdlib): scalar lanes for vec.sort by @zaidejjo in #578
  • perf(runtime): intern struct field names, skip the literal rebuild by @zaidejjo in #579
  • feat(ux/dx): improve explicit-return diagnostics + LSP hints by @zaidejjo in #580
  • feat(cli): zz dis --vm + ZZ_VM_STATS op counters (P2.0) by @zaidejjo in #582
  • perf(vm): fuse nested arithmetic chains through the target slot by @zaidejjo in #583
  • perf(vm): fuse every comparison in if/while conditions by @zaidejjo in #584
  • test(vm): pin #581 block-local scope isolation by @zaidejjo in #585
  • perf(vm): fuse non-int literal compares and drop bool Truthy by @zaidejjo in #594
  • perf(vm): memoize direct-call resolution per call site by @zaidejjo in #595
  • perf(fs): share stat-validated read cache across std.fs by @zaidejjo in #596
  • perf(vm): open direct-call frames on the caller's argument window by @zaidejjo in #597
  • perf(vm): fuse value-position integer arithmetic into one push by @zaidejjo in #598
  • fix(cli): make --help print usage instead of running the command by @zaidejjo in #599
  • perf(vm): fuse integer compares into conditional jumps by @zaidejjo in #601
  • docs(cli): document the read-only --help contract + regression suite (#586) by @zaidejjo in #600
  • Phase 1 perf: fs qsort + JSON index/borrow (+ regression gate) by @zaidejjo in #602
  • fix(fmt): keep comments inside literals, field lists and argument lists (#587) by @zaidejjo in #603
  • Phase 1 perf: stdlib encoding/str lookup-table optimizations by @zaidejjo in #604
  • Phase 1 perf: fs inline reads + dir cache + stdlib encoding/str optimizations by @zaidejjo in #605
  • perf(vm): shrink Frame, cold-path yield, register payload return by @zaidejjo in #608
  • fix(checker): warn when implicit-return fn body yields non-unit value by @zaidejjo in #607
  • fix(checker): implement array concatenation via + operator by @zaidejjo in #609
  • fix(checker): warn when importing module that shadows std namespace by @zaidejjo in #610
  • fix(lexer): support hex/binary/octal integer literals by @zaidejjo in #612
  • fix(diagnostics): name the supported form in three error cases by @zaidejjo in #613
  • fix(frontend,checker): accept _ = expr as discard assignment by @zaidejjo in #614
  • fix(codegen): lower tuple and bool-literal match arms in HIR→C by @zaidejjo in #615
  • fix(stdlib): add vec.sort_by / sort_key / sort_by_desc comparators by @zaidejjo in #616
  • fix(codegen): chunk StoreSlot/SetLoopResult as moves by @zaidejjo in #618
  • fix(checker): resolve type aliases in struct fields (issue #543) by @zaidejjo in #617
  • perf(codegen): replace insertion sort with mergesort in vec sort natives by @zaidejjo in #619
  • feat: hermetic [native.build-rust] backend (#236) by @zaidejjo in #620
  • feat: directory-based typed collections (#385) by @zaidejjo in #621
  • feat(pm): feature-gated optional dependencies (#488) by @zaidejjo in #622
  • fix(chunk): resolve method call on value receiver CallPath (issue #557) by @zaidejjo in #624
  • fix(codegen): AOT HTTP parity audit (issue #542) by @zaidejjo in #623
  • perf(vm): field/index/dict fast paths (P2.3) by @zaidejjo in #611
  • feat(vm): fused slot fast-path ops for sub/mul immediate integer arithmetic (#364) by @zaidejjo in #627
  • fix(checker): only warn on std-module imports that bind the head (#630) by @zaidejjo in #673
  • fix(fmt): treat bool literals as match-arm starters in verification by @zaidejjo in #674
  • fix(ir): roundtrip fixtures need explicit return per #672 return rule by @zaidejjo in #675
  • Release of v0.4.0 by @zaidejjo in #672
  • chore: sync Cargo.lock for v0.4.0 by @github-actions[bot] in #676

Full Changelog: v0.3.0...v0.4.0