Skip to content

Releases

v6.1.1 — Supply-Chain Hardening, Web Portal & Polish

Choose a tag to compare

@github-actions github-actions released this 01 Dec 09:50
v6.1.1
a3951c0

Website: https://hmarzban.github.io/macup/ · Docs: https://hmarzban.github.io/macup/docs/ · Full Changelog: https://hmarzban.github.io/macup/changelog/#v6.1.1


Install, Upgrade & Verify (SLSA Provenance)

# Install or upgrade via Homebrew
brew install HMarzban/tap/macup
brew upgrade --cask macup

# Verify SHA-256 checksum & SLSA Level 3 Build Provenance attestation
shasum -a 256 -c checksums.txt --ignore-missing
gh attestation verify macup-v6.1.1-darwin-all.tar.gz --repo HMarzban/macup

Highlights in v6.1.1

  • Patched Go 1.26.x Release Toolchain & SLSA Level 3 Build Provenance: Compiled with the latest patched Go 1.26.x (go1.26.11, eliminating 28 go1.26.0 stdlib CVEs caught by govulncheck) and published with cryptographic GitHub Build Provenance attestations (actions/attest-build-provenance), SSH-signed verified commits & tags, CodeQL Go SAST (0 alerts), OpenSSF Scorecard, Go native fuzz tests (FuzzParsePlist, FuzzSanitizeText), and Dependabot (#1 bumping charmbracelet/x/ansi to v0.12.0).
  • Safe macup touchid --disable: Cleanly removes a Touch ID-only /etc/pam.d/sudo_local or atomically comments out pam_tid.so while preserving unrelated PAM entries (pam_reattach.so), rejecting symlinks and never modifying /etc/pam.d/sudo, with per-subcommand --help, Zsh/Bash/Fish completions, and isolated unit tests.
  • Unified 3-Page Web Portal & Streamlined README.md: Launched the editorial Documentation and Changelog sites with tokenized search, real-terminal syntax highlighting, cookie-free SRI-pinned GoatCounter analytics, 100% GitHub Community Health (CODE_OF_CONDUCT.md, PR template, Discussions, structured bug/feature forms), and a concise, high-trust README.md.

Compare: v6.1.0...v6.1.1

v6.1.0 — Trust, Craft & Corporate-Ready

Choose a tag to compare

@github-actions github-actions released this 30 Nov 10:42

Website: https://hmarzban.github.io/macup/ · Docs: https://hmarzban.github.io/macup/docs/ · Full Changelog: https://hmarzban.github.io/macup/changelog/


Install or Upgrade

# New install (universal arm64 + x86_64 binary + Zsh, Bash & Fish completions)
brew install HMarzban/tap/macup

# Upgrade from v6.0.0
brew upgrade --cask macup

# Read-only preview (changes nothing)
macup check

Highlights in v6.1.0

  • Interactive Rollback Parity & Code-Signing Identity Guard: Interactive macup runs now share the same Homebrew Cellar + instant APFS Copy-on-Write (.app) rollback hooks as Autopilot, backed by pure-Go LC_RPATH Mach-O dylib checks and a TCC-free /usr/bin/codesign TeamIdentifier + CFBundleIdentifier continuity guard that rolls back & quarantines signing-identity swaps automatically.
  • Corporate Mac Survival Kit: Zero-network depends_on :macos guard (Sequoia 15 / Tahoe 26 / Golden Gate 27), automatic Workbrew wrapper precedence, MDM/root-owned .app auto-protection, structured SHA256 / Cloudflare 403 / GitHub 403 / ghcr.io error triage, optional defer_major_casks, and a 13-check macup doctor (including $PATH shadowing and read-only corporate TLS/proxy diagnostics).
  • Depth-2 /Applications, Rosetta Go Audit, mas v4 & Unified pin: Nested /Applications scanning with deduplication, audit --deep Rosetta x86_64 Go binary & ARM64 cask migration hints, zero-fork macup pin --list/--app/--go/--mas, BSI/CLT tagging + opt-in rebootless install_macos_clt, and copyable sudo softwareupdate commands.
  • Webhooks, Automation & Zero-RAM Menu-Bar Integrations: SSRF-hardened webhook presets (auto, json, slack, discord, ntfy, pushover) with automatic secret redaction, CustomStep requires/interval, live Settings → LaunchAgent sync, macup check --exit-code, frozen macup status --json (schema_version: 2), and hardened SwiftBar / SketchyBar / Raycast scripts under docs/integrations/.
  • TUI Craft: Global D Doctor overlay, security-rollback badges (team-id!, sha256!, http 403, mdm) on Tab 3 Attention, responsive Tab 6 Apps with Selected App Inspector, and slowest-first fetch elapsed timers in the Live DAG.
  • New Web Portal: Dedicated editorial Documentation and Changelog sites with real-terminal syntax highlighting, tokenized search, and structured GitHub bug/feature forms.

Full release notes & every commit: https://hmarzban.github.io/macup/changelog/#v6.1.0
Compare: v6.0.0...v6.1.0

macup v6.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 08:44

macup v6.0.0

Fast, DAG-parallel, autonomous macOS update orchestrator with a unified Bubble Tea terminal shell.

Homepage: https://hmarzban.github.io/macup/


Install

Homebrew (recommended)

brew install HMarzban/tap/macup

Installs the universal macOS binary (arm64 + x86_64) along with Zsh, Bash, and Fish tab completions.

Go Install (Go 1.26+)

go install github.com/HMarzban/macup/cmd/macup@latest

Highlights

  • 5-Lane Parallel DAG & Zero-Fork Discovery

    • Critical-path EWMA scheduling (Homebrew, Toolchains & Editors, System & Apps, Services, Wrap-up) with batched formula upgrades and sliding-window Brew downloads.
    • Pure-Go binary/XML plist parser (internal/plist), stdlib debug/buildinfo for $GOBIN tools (+ Rosetta amd64 detection), pure-Go CellarGraph, Homebrew 7 JWS (+ legacy fallback) catalog reader, and PrefetchPlan + FeedCache handoff.
    • ETag-cached Node/nvm checks and concurrent Go proxy fast-paths honoring GOPRIVATE/GONOPROXY/GONOSUMDB.
  • Autonomous Autopilot Engine & TCC-Free macOS Guards (macup autopilot)

    • Opt-in single launchd LaunchAgent (dev.macup.agent, 0 MB idle RAM, 15m fast-tick, off / prefetch / smart-apply).
    • ~15ms parallel TCC-free guards for battery, Apple Silicon Low Power Mode (powermode 1), thermal load (pmset -g sysload), active calls/camera/screen-share assertions, metered hotspots, wake grace, load average, free disk (>= 5 GB), and HID idle — zero Full Disk Access prompts.
    • Opportunistic app-quit apply for verified pure-.app, non-sudo, user-writable casks 5 minutes after quit, zero-spam deduplicated notifications with quiet hours, and <1ms macup status [--greeting|--prompt] badges.
  • Offline Self-Healing Rollback & Explainable Risk Engine (macup rollback)

    • Transparent RiskTier (low | medium | high) + []RiskTag + --explain policy engine with CalVer-safe major-bump detection.
    • Preserves prior Homebrew Cellar kegs (HOMEBREW_NO_INSTALL_CLEANUP=1, 7-day retention) and takes instant APFS Copy-on-Write (cp -cRp) backups before applying pure-.app casks.
    • Post-apply health gates (Mach-O non-system dylib verification, 3s crash/dyld smoke test, codesign --verify) with automatic rollback and 3-strike quarantine.
  • Unified Bubble Tea Shell, 6 Adaptive Themes & Smart Context-Aware Footers

    • Seamless flow across Step Picker (macup -i) → Live DAG → 7-Tab Report (macup report) → Exit Scrollback Receipt with full mouse/trackpad support and context-aware footers across every tab and overlay.
    • Preferences & Theme Studio (macup settings / S) with automatic terminal background RGB detection across 6 WCAG themes (cyberwarm, midnight, tokyo, gruvbox, catppuccin, mono), 6 custom brand icons, and 3-tier iconography (macup icons).
    • 1-keystroke Smart Rules (z/Z snooze, t auto-policy, p pin/ignore, U batch cached flush, m migrate deprecated, b Rollback Inspector), plus a hidden 30 FPS NEON DAG // SECRET ARCADE 2.0 Easter Egg (click the top-left brand emblem 5× or run : → arcade).
  • OWASP & macOS AppSec Hardening

    • Audited across CLI, daemon, providers, parsers, TUI, and CI/CD: pinned SIP system binary paths, absolute-PATH lookup, -- option terminators & positional bash -c args, atomic 0444 root:wheel Touch ID sudo_local, 0700/0600 + O_NOFOLLOW local files, DNS-validated public-HTTPS SSRF protection on feeds & webhooks, bplist00/XML bomb budgets, CWE-150 terminal/Markdown sanitization, expanded secret redaction, reproducible CGO_ENABLED=0 -trimpath -buildid= builds, and SHA-pinned GitHub Actions.

Verification

Verify the release archive against checksums.txt:

shasum -a 256 -c checksums.txt --ignore-missing

Full details in CHANGELOG.md and SECURITY.md.

macup v5.0.0

Choose a tag to compare

@HMarzban HMarzban released this 28 Nov 10:47

macup v5.0.0 — Smart Speed, Safety, Automation & Deep Hygiene

Smart Speed Fast-Paths & Critical-Path-First DAG

  • Zero-bash Node/npm fast-path: Resolves $NVM_DIR/alias/default + local npm directly in Go and checks nodejs.org + registry.npmjs.org via HTTP ETag (~1s no-op vs ~10s previously).
  • Direct Go module proxy fast-path: Queries proxy.golang.org/@latest concurrently (honoring GOPRIVATE) and skips go install when $GOBIN binaries are already current (<1s no-op).
  • Zero-Ruby Homebrew 7 local catalog reader: Parses Homebrew's local packages.*.jws.json.payload (+ .index) once per process to inspect auto_updates, cask .app bundles, sudo requirements, and deprecations in ~25ms.
  • Critical-Path-First (LPT) DAG scheduling + automatic transient error retry (auto_retry_transient = true).

Smart Safety & Risk Controls

  • Running-App Cask Guard (defer_running_apps = true): Pre-fetches outdated GUI casks into Homebrew's cache and safely defers installing currently open apps; upgrade anytime from Tab 3 (Attention) with one keypress ([u] quit, upgrade from cache & reopen).
  • Semver MAJOR Bump Badges across Bento cards, Markdown exports, and Tab 2 (Changes).
  • One-Key Pinning: macup pin / macup unpin CLI + [p] key in Tab 2 (Changes) for both Homebrew formulae and casks.

Autonomous launchd Scheduler & <10ms Shell Status

  • macup schedule [install|status|pause|resume|uninstall|run-now] managing dev.macup.agent with prefetch (cache pre-warm) and safe-apply (non-sudo, non-GUI, non-major CLI auto-apply) modes.
  • macOS Environment Guards: Automatically skips background runs on low battery (<40%), Low Power Mode, offline networks, metered Personal Hotspots, or active video calls.
  • macup status [--prompt]: Reads ~/.local/share/macup/pending.json in <10ms for Zsh/Starship/tmux badges (↑4, ↑4!).
  • Lifecycle [hooks]: pre_run, post_run, on_failure shell hooks + JSON webhook_url.

Deep Hygiene Audit & Snapshot Drift

  • macup audit --deep: Deprecated/disabled Homebrew packages, pure-Go debug/macho Rosetta x86_64-only app detection, orphaned Homebrew leaves, and stale nvm versions.
  • macup snapshot diff [1] [2] & list: Timestamped snapshot archive for out-of-band machine drift tracking.
  • Expanded macup doctor (10 checks) & updated Zsh tab completions.

Notable Fixes

  • Fixed Node (nvm) PATH shadowing where /opt/homebrew/bin/npm blocked nvm install-latest-npm from updating nvm's own npm.
  • Fixed Homebrew 7 future-dated deprecation filtering (no false positives on future-EOL formulae like openssl@3 or python@3.15).
  • Fixed macup snapshot cask capture falling back to Caskroom when an unavailable tap cask makes brew list --cask --versions fail.
  • Fixed 7-bit ASCII purity in --plain output mode.