Release: 0.4 - Internal changes
0.4.0 - Internal changes
Released 2021-10-05 · GitHub release
- Removed
loadfunction inphel\core - Pass by value the array (1st argument) to
push(#306) - Breaking: Configuration will be loaded from
phel-config.phpand not fromcomposer.json- The
loaderconfig parameter has been removed. Please usesrc-dirsnow. - The
loader-devconfig parameter has been removed. Please usetest-dirsnow. - The
testsconfig parameter has been removed. Please usetest-dirsnow. - A
vendor-dirconfig parameter has been introduced. Default value isvendor.
- The
- Breaking: Dependencies in vendor will only be recognized if the vendor project has a
phel-config.phpfile. All old project that have the configuration inside thecomposer.jsonwill not be detected anymore. - The
phel-composer-pluginis 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
PhelRuntimewas removed and is not needed anymore. - Internal refactoring:
- All commands have been moved to their associated modules.