Mago 1.0.0-beta.21
This is a highly focused patch release that addresses a critical correctness bug in the type analyzer, ensuring that analysis results are consistent and deterministic across all environments.
🐞 Analyzer Correctness Fix
A bug has been fixed in the core type comparator that could cause Mago to report different errors for the same code when run on different machines (e.g., locally vs. CI).
The issue was caused by the order of types in a union (e.g., TypeA|null
vs. null|TypeA
) affecting the outcome of the type comparison. This has been resolved, and the type analysis is now fully order-independent. This change is crucial for providing reliable and reproducible builds.
Full Changelog: 1.0.0-beta.20...1.0.0-beta.21