Mago 0.1.1 addresses an important usability issue in configuration handling and updates the documentation to prevent future confusion.
🛠 Configuration Validation Improved
Previously, if you mistyped a configuration entry, such as:
[formatter]
print_width = 120
instead of
[format]
print_width = 120
the configuration loader would silently skip the incorrect entry. This could leave you wondering why your configuration wasn’t applied.
With this update, Mago will now throw an error when it encounters an unrecognized configuration entry. The error message will include suggestions for valid options, helping you quickly identify and correct mistakes.
📖 Documentation Fix
This issue stemmed from incorrect documentation on our website, where we mistakenly referred to the [formatter]
section instead of [format]
. The documentation has been updated to reflect the correct configuration entry, ensuring consistency and clarity for users moving forward.
Thank you to @LinusU who reported this! Your feedback helps us make Mago better for everyone.