Skip to content

Mako v0.2.5

Choose a tag to compare

@loreste loreste released this 19 Jul 03:03

v0.2.5 — Memory safety audit + LSP + honest docs

357 tests, 0 failures. Full suite passes under AddressSanitizer.

Memory safety (10 codegen ownership bugs fixed)

  • Return-from-field clone, consumed-argument transfer, void-call sink
  • Arena scope free suppression, stack-view boxing in Result/Option
  • Ok/Err/Some transfer_own_on_return, struct-borrow from array indexing
  • String/struct array reassign shallow-free
  • Save/restore own_drop_live across if-branches
  • Source temp marked as moved on reassign

Proven regression test

own_branch_regress_test reproduces the exact if-branch ownership defect:
fails with heap-use-after-free on the pre-fix compiler, passes on this release.

LSP v0.5.0

  • Hover, inlay hints, signature help with parameter info

Infrastructure

  • Per-test timeout, ASan + UBSan + GCC CI, Windows CI corrected
  • Installer: --no-same-owner, graceful read-only shell RC

Install

curl -fsSL https://github.com/loreste/mako/releases/download/v0.2.5/install-linux.sh | bash

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5

Full Changelog: v0.2.4...v0.2.5