Mago 0.24.2 🩹
Hi everyone! We're rolling out Mago v0.24.2, a maintenance release focused on bringing you some valuable bug fixes, enhancements, and stability improvements.
✨ Enhancements
- Slice Array Syntax Support (
T[]
): The type parser now correctly understands theT[]
shorthand syntax forarray<T>
, improving compatibility with common php projects docblocks. - Improved Stub Files: We've refined and expanded several internal stub files for built-in PHP functions and classes, leading to more accurate analysis in certain edge cases.
🛠️ Fixes & Optimizations
- This release includes several targeted bug fixes to improve the stability and correctness of the linter and formatter.
- We've added new internal utilities for working with the AST and comments, alongside general code cleanups and performance optimizations across various crates.
Many of these updates were carefully picked from our internal development branch where we're making exciting progress on the new Mago Static Analyzer. It's still a work in progress and not yet public, but we wanted to bring these stability improvements to you now. Stay tuned for more updates!
Full Changelog: 0.24.1...0.24.2