github carthage-software/mago 1.51.1
Mago 1.51.1

3 hours ago

Mago 1.51.1 fixes false positives in mixed-condition analysis, restores optional built-in arguments, and corrects PSR-12 declarations, parameter alignment, and method-chain formatting.

Note

Support Mago

Does your company use Mago? Please consider sponsoring its development. We need funding to keep improving Mago, fixing bugs, and shipping releases.

Sponsor Mago ❤️

🐛 Bug Fixes

Analyzer

  • Mixed conditions: keeps loop flag and array types after unrelated checks on mixed values. (#2415, #2418, b100d6b)

Formatter

  • PSR-12 declarations: removes spaces around = in declare statements. (#2416, 6fcc28d)
  • Parameter alignment: keeps ... and & attached to parameter names. (#2182, #2417, 0dea4da)
  • Chain semicolons: honors separate-line semicolons for chains inside comparisons, casts, and parentheses. (#2244, 8d3ab4a)

Prelude

  • Optional arguments: restores optional parameters in built-in function and method stubs. (#2414, f9c74cf)
  • array_find_key: infers null for empty arrays and keeps input key types otherwise. (#2389, df7b3c7)

🏗️ Internal

Maintenance

  • Rust toolchain: requires Rust 1.99.0 for source builds and refreshes dependencies and Nix inputs. (54127eb)
  • Clippy fixes: removes needless clones and simplifies a byte-string comparison. (cf5f0d9)

🧩 Extension Protocol

No protocol changes in this release.

🙏 Thank You

Contributors

Thank you to everyone who contributed code to this release:

Issue Reporters

Thank you to everyone who reported issues that shaped this release:

Full Changelog: 1.51.0...1.51.1

Don't miss a new mago release

NewReleases is sending notifications on new releases.