Mago 1.0.0-beta.7
This release includes a critical bug fix for the parser and an optimization for memory usage.
🐛 Bug Fixes
- Parser: Fixed a critical precedence bug with the reference operator (
&
). Expressions like&$foo->bar()
were being incorrectly parsed as(&$foo)->bar()
, which could lead to incorrect formatting. The parser now correctly understands this as&($foo->bar())
.
⚡️ Performance & Memory
- The default stack size for Mago's worker threads has been reduced from 36MB to 12MB. Our benchmarks on large codebases show this change has no impact on performance but improves memory efficiency by reducing the virtual memory reserved by the application.
Full Changelog: 1.0.0-beta.6...1.0.0-beta.7