Mago 0.0.19 introduces several improvements, new features, and important changes to enhance functionality and streamline the development process. Here’s what’s new:
🛠 Refactored self-update Command
The self-update command has been refactored for improved functionality and behavior:
- Bug Fix: Resolved an issue on Linux where the
.debasset was mistakenly downloaded instead of.tar.gz. - Removed Flags:
--no-outputhas been removed. Logs now replace output to stdout, with filtering available via theMAGO_LOGenvironment variable.--no-progresshas been removed, and progress bars are no longer shown during updates.
- Enhanced
--checkFlag:- Now respects the value of the
--tagoption. - Returns a non-zero exit code if the current installation is not up to date.
- Now respects the value of the
🆕 Support for Write Visibility Modifiers
Mago now supports the public(set) and protected(set) write visibility modifiers introduced in PHP 8.4. These are supported across:
- Parser: Correctly parses write visibility modifiers.
- Semantic Checker: Ensures proper validation of these modifiers.
- New Linter Rule: Detects redundant write visibility modifiers, helping maintain cleaner code.
🛑 mago_feedback Crate Deprecated
The mago_feedback crate, previously used for logging and progress bar logic, has been deprecated. These functionalities have been integrated into the main application under the src/ directory. This change:
- Reduces the number of maintained crates.
- Simplifies the workspace structure, with plans to merge additional crates in future updates.
The mago_feedback crate will remain at version 0.0.18 with no further updates. If you rely on individual crates, be aware of potential future merges.
New Contributors
- @ternel made their first contribution in #37
- @ryangjchandler made their first contribution in #25
Full Changelog: 0.0.18...0.0.19