Repository navigation
Masa v1.7.0 — online brew, casks & partial Flutter/Dart framework stubs
Masa v1.7.0 — online masa brew, Homebrew Casks and partial Flutter/Dart framework stubs
Milestone 17. Masa's Homebrew support goes online and the clean-room stub SDK
learns the macOS frameworks a Flutter/Dart desktop binary imports at load
time.
masa brew — casks, taps and verified downloads
masa brew now understands Homebrew Casks (cask "name" do ... end)
alongside formulas. masa brew lint auto-detects which one a .rb is and
checks a cask's required fields (version, sha256, url and an
app/pkg/binary artifact), warning (not failing) on a missing desc or
homepage.
Two new subcommands make the Homebrew support online:
masa brew tap <user/repo>clones (or fast-forwards)
homebrew-<repo>into a local tap tree and lists the formulas and casks it
ships.$MASA_BREW_TAPSsets the tree;$MASA_BREW_TAP_BASEoverrides the
https://github.combase (a mirror or an offline test).masa brew fetch <formula_or_cask.rb>downloads the declaredurland
verifies it against the declaredsha256, failing on a mismatch. A
file://URL is copied from the local filesystem, sofetchworks and is
fully testable offline;http(s)URLs are fetched withcurl -fSL.
The digest check is backed by a new clean-room SHA-256 (src/sha256.c,
FIPS 180-4, no OpenSSL dependency), validated against the NIST ""/"abc"
vectors and a 120-byte message that exercises the padding edge case.
Partial macOS framework stubs — Metal, QuartzCore, Security, IOKit
The stub SDK now ships partial clean-room stubs for the frameworks a
Flutter/Dart-style desktop binary imports at load time — Metal,
QuartzCore, Security and IOKit — plus libz and libc++
(headers, .tbd files and a libc++.tbd symlink). Each advertises only the
symbols Danroot can satisfy, so a binary that links against them resolves
every import and runs.
Danroot shims the ones that matter:
CACurrentMediaTimemaps to the host monotonic clock.SecRandomCopyBytesfills its buffer from/dev/urandom.MTLCreateSystemDefaultDevice/MTLCopyAllDevicesreturnNULLcleanly —
Metal is not emulated; a missing GPU is something every caller already
handles, and Masa says so on stderr instead of crashing.
Everything else
- All Milestone 1–16 capabilities are unchanged:
masa cc/masa swiftc,
masa run/masa danroot(Layers 1–5),masa xcode build,masa pack
(.dmg/.ipa),masa sdk,masa shell,masa-term,masa doctorand
make dist.
Verification
- Core suite: 126 tests / 0 failed / 1 skipped (the Android NDK test skips
whenANDROID_CCis absent), built with bothgccandclangunder
-Wall -Wextra -Werror -fsanitize=address— zero warnings, zero leaks. - GUI suite (
SDL_VIDEODRIVER=dummy make test-gui): 41 tests / 0 failed /
0 skipped, zero leaks. - MinGW-w64 (Windows) and, where an NDK is present, Android cross-builds are
clean. make distproduces the Linux and Windows archives below and
sha256sum -c SHA256SUMSverifies every one.
Downloads
| Artifact | Platform |
|---|---|
masa-1.7.0-linux-x86_64.tar.gz / .zip |
Linux x86_64 |
masa-1.7.0-windows-x86_64.tar.gz / .zip |
Windows x86_64 |
SHA256SUMS |
checksums for all of the above |
An Android archive is produced automatically by CI (and by any make dist
run that has ANDROID_CC set) and is attached there.
This release description was written by an AI agent (OpenHands) on behalf of
the Masa maintainers.