Mago 0.24.5 🪄
Hello everyone,
This release brings a couple of important formatting fixes to improve correctness and code layout, along with a key documentation update.
🛠️ Fixes & Enhancements
- Formatter: The formatter now correctly handles
__halt_compiler()
. All content after this token will be preserved exactly as-is, with no modifications or added newlines, protecting any subsequent binary data. #214 - Formatter: Fixed an issue where an unnecessary blank line could be added before the first statement in a file or a block (like a function body or if statement), resulting in cleaner formatting for top-level code. #217
📖 Docs
- Linter Documentation: Updated our documentation and examples to correctly use the
mago lint --fix
command, replacing the old, removedmago fix
command. #213
Thanks for your continued support and for reporting these issues!
Full Changelog: 0.24.4...0.24.5