github carthage-software/mago 0.0.19

latest releases: 1.0.0-rc.13, 1.0.0-rc.12, 1.0.0-rc.11...
11 months ago

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 .deb asset was mistakenly downloaded instead of .tar.gz.
  • Removed Flags:
    • --no-output has been removed. Logs now replace output to stdout, with filtering available via the MAGO_LOG environment variable.
    • --no-progress has been removed, and progress bars are no longer shown during updates.
  • Enhanced --check Flag:
    • Now respects the value of the --tag option.
    • Returns a non-zero exit code if the current installation is not up to date.

🆕 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

Full Changelog: 0.0.18...0.0.19

Don't miss a new mago release

NewReleases is sending notifications on new releases.