This release of the Mason CLI revolves around polish and maturity, focusing on performance, output clarity, and X-Ray improvements.
X-Ray now supports generic adb commands through the
mason xray $deviceId adbproxy command. Once that command succeeds, you can run
adb connect localhost:5555 and execute any adb command as you normally would. By extension, this means you can use Android Studio to remotely develop apps for your device.
X-Ray now also supports three new utility commands:
shell which mirrors
screencap which takes a screenshot on the device, and
bugreport which takes a bug report.
All or nothing consent model
The CLI previously used a one-at-a-time model. That is, when operating on multiple artifacts, you previously had to deal with each one individually and in turn. This caused performance bottlenecks and inconsistencies because you wouldn't be presented with the full picture of the operations about to be performed.
In the new model, you are presented with all planned operations upfront and only need to accept them once.
- Massive performance improvements across the board, including startup time, upload speed, concurrent registration, concurrent deployment, and more.
- The CLI "UI" has been revamped to be more consistent and clear.
- A new
mason helpcommand is available to make accessing help information easier.
- A new
--dry-runflag is available on registration and deployment commands if you just want to see potential operations without executing them.
- X-Ray help pages are now easy to access. For example,
mason xray logcat --helpnow works.
- Windows compatibility has been restored.
- Project registration now fails when attempting to upload an APK with different file contents than what is already present in the existing artifact.
- X-Ray received various tweaks and stability improvements.
--no-turboflags have been deprecated and no longer do anything. All builds now use Turbo Builder.
Signed-off-by: Alex Saveau email@example.com