Release: 0.4.0 - Internal changes

Released
  • Removed load function in phel\core
  • Pass by value the array (1st argument) to push (#306)
  • Breaking: Configuration will be loaded from phel-config.php and not from composer.json
    • The loader config parameter has been removed. Please use src-dirs now.
    • The loader-dev config parameter has been removed. Please use test-dirs now.
    • The tests config parameter has been removed. Please use test-dirs now.
    • A vendor-dir config parameter has been introduced. Default value is vendor.
  • Breaking: Dependencies in vendor will only be recognized if the vendor project has a phel-config.php file. All old project that have the configuration inside the composer.json will not be detected anymore.
  • The phel-composer-plugin is obsolete and is not need it anymore.
  • The way code in Phel is compiled has changed:
    • Before it was bottom up: If a phel file was evaluated it continued only after all dependencies have been evaluated.
    • Now it is top down: The compiler first creates a dependencies graph and start to evaluate files with no dependencies before others.
  • The PhelRuntime was removed and is not needed anymore.
  • Internal refactoring:
    • All commands have been moved to their associated modules.

View release on GitHub