github carthage-software/mago 0.0.15
Mago 0.0.15

latest releases: 1.0.0-beta.13, 1.0.0-beta.12, 1.0.0-beta.11...
8 months ago

πŸ›  Bug Fixes

Linter Improvements

  • Property Type Hint Awareness
    • Fixed an issue where the linter incorrectly flagged properties as missing type hints, even when they were inherited from a parent class. The linter now understands inheritance and won’t bug you unnecessarily!

Configuration Handling

  • exclude Entry in Config
    • Resolved an issue where exclude entries in the [source] section of the config were mishandled:
      • Entries with * are now properly treated as glob patterns.
      • Absolute paths are matched directly, while relative paths are joined with the root directory.

Source Loading

  • Fixed a problem where files in include were incorrectly treated as user-defined files if the include directory was inside the paths directory.
    • Example: With paths = ["src"] and includes = ["src/external-library"], src/external-library is now correctly recognized as external code.

Formatter Fixes

  • Unary Operations with Parentheses
    • Fixed an issue where parentheses around unary operations on the left-hand side of binary operations were removed, causing execution order changes.
    • Example:
      • Previously: (@include $foo) === false β†’ @include $foo === false (incorrect).
      • Now: Parentheses are preserved to maintain correct order.

🌟 Community Contributions

Special thanks to Ben Davies (@bendavies) and Giorgio Pogliani (@giorgiopogliani) for reporting these issues and testing Mago.
Your support helps us make Mago better!


Full Changelog: 0.0.14...0.0.15

Don't miss a new mago release

NewReleases is sending notifications on new releases.