github carthage-software/mago 0.4.0
Mago 0.4.0

latest releases: 1.0.0-beta.10, 1.0.0-beta.9, 1.0.0-beta.8...
7 months ago

Mago 0.4.0 introduces new features, Composer integration, and significant internal refactoring. Here's what's new:


πŸš€ New Features

Compatibility Rule: arrow-functions-feature

The linter now includes the compatibility/arrow-functions-feature rule, which detects the use of arrow functions introduced in PHP 7.4. This helps ensure your code remains compatible with earlier PHP versions if needed.

Learn more about the rule using:

mago lint --explain compatibility/arrow-functions-feature

πŸ“¦ Composer Package and Plugin

Mago can now be installed as a Composer package and plugin! This simplifies integration into PHP projects and allows you to manage Mago through Composer.

For more details, see the updated Installation Documentation.

⚠️ Internal Refactoring and BC Breaks

Significant internal refactoring has been done in the mago_ast crate, affecting its API and other crates relying on it.

Breaking Changes:

If you are directly using the mago_ast crate or any dependent crate, exercise caution when updating to 0.4.0, as there are backward-incompatible changes.

🀝 New Contributors


Thank you for your continued support! We’re excited to see how Mago helps you level up your PHP development workflow.


Full Changelog: 0.3.0...0.4.0

Don't miss a new mago release

NewReleases is sending notifications on new releases.