Skip to content

v0.2.0-rc2

Pre-release
Pre-release

Choose a tag to compare

@EdwardJoke EdwardJoke released this 30 May 09:12
· 28 commits to master since this release

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[v0.2.0-rc2] - 2026-05-30

Added

  • m4 help subcommand with structured output support (--zon, --json, --yaml)
  • m4 version subcommand with structured output support (--zon, --json, --yaml)
  • src/cli_info.zig — serializable CLI metadata types (FlagInfo, SubcommandInfo,
    UsageMode, HelpInfo, VersionInfo) for structured help/version output
  • buildHelpInfo() generates full CLI metadata (subcommands, flags, usage modes)
  • runHelp() and runVersion() handlers for subcommand execution

Changed

  • --help/-h and --version/-v flags replaced by m4 help and m4 version
    subcommands with optional structured output formatting
  • Help text reorganized with explicit Commands section listing all subcommands
    (help, version, build, explain) and their flags
  • REPL welcome text shortened to :h help, :q quit

Removed

  • -h, --help flag — use m4 help instead
  • -v, --version flag — use m4 version instead

Generated by Relote

Full Changelog: v0.1.2...v0.2.0-rc2