Skip to content

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 01 Jun 01:22
· 33 commits to main since this release

[0.3.1] - 2026-05-31

Changed

  • Class constructor rules clarified and enforced: new is reserved for compiler-generated class constructors and cannot be user-defined in class bodies.
  • Class creation guidance updated: Documentation now consistently describes class initialization as ClassName.new() followed by field assignment, or via named factory methods such as from(...) and with_<feature>(...).
  • Version metadata updated: All configuration files (Cargo.toml, package.json, tree-sitter.json, README badge, PR template, VERSION) bumped from 0.3.0 to 0.3.1.
  • Grammar and parser adjustments: Updated language grammar to reflect constructor rules, ensuring accurate syntax highlighting and parser diagnostics.

Fixed

  • Parser diagnostic quality: Defining func new(...) in a class now reports one targeted parser error instead of cascading with a secondary Expected expression, found '}' error.
  • Documentation and examples accuracy: Updated docs and examples that previously defined new or called class .new(...) with arguments so they match current language behavior.
  • Stale runtime library cache: Cleared cached libmux_runtime.a that was missing newer symbols, preventing linker errors for enum-related runtime functions.