github carthage-software/mago 0.20.2
Mago 0.20.2

latest releases: 1.0.0-beta.12, 1.0.0-beta.11, 1.0.0-beta.10...
5 months ago

Mago 0.20.2

We are releasing 0.20.2 to address a critical idempotency issue in the formatter's handling of conditional expressions (ternary operators).

Bug Fixes

  • Formatter:
    • Fixed an issue where conditional expressions were being formatted inconsistently across multiple formatter runs. This non-idempotent behavior caused code to be formatted differently with each execution, leading to unnecessary diffs.
    • This fix ensures that the formatter produces consistent output for conditional expressions, resolving issue #157.

We recommend all users update to 0.20.2 to ensure idempotent formatting of conditional expressions.


Full Changelog: 0.20.1...0.20.2

Don't miss a new mago release

NewReleases is sending notifications on new releases.