All notable changes to Blend will be documented in this file.
- Add
config/schema.json
. - Update
TaskRunner
class:- Add
NAME
class constant. - Update
TRANSLATIONS
class constant. - Update
translate()
method to prevent task names that start with special characters. - Update
load()
method to make prefixing applied only when necessary. - Update
bootstrap()
method validate the loaded config more strictly. - Update Blend views (
displayHelp()
,displayHint()
,displayList()
, anddisplayExec()
methods).
- Add
- Update
blend.php
:- Add a check for
$schema
field to config files generated via theconfig:generate
task.
- Add a check for
- Update
setup
executable:- Make the generated executable use the default
NAME
andVERSION
of Blend.
- Make the generated executable use the default
- Update
blend.php
:- Add a check for
PHAR
extension to make it optional.
- Add a check for
- Update
setup
executable:- Fix wrong setup file path in script log.
- Update
TaskRunner
class:- Add new parameter
$escape
toexec()
method to control whether command(s) should be escaped or not. - Fix an issue in
checkEnvironment()
method with Windows absolute paths.
- Add new parameter
- Update
TaskRunner
class:- Add new
$results
property. - Add
getExecResult()
method. - Refactor
exec()
method to cache executed commands results.
- Fix wrong
addTask()
method call inmakeTask()
method. - Bump package version.
- Add new
- Update
TaskRunnerTest
class:- Add
getExecResult()
method test.
- Add
- Update
TaskRunner
class:- Add
makeTask()
method. - Update
runTask()
method. - Update
exec()
method. - Fix some typos in methods DocBlocks.
- Bump package version.
- Add
- Update
TaskRunnerTest
class:- Add
makeTask()
method test.
- Add
- Update
TaskRunner
class:- Refactor
exec()
method. - Bump package version.
- Refactor
- Update
blend.config.php
:- Fix formatting and update comments.
- Remove some keys that were introduced by mistake.
- Update
TaskRunner
class:- Add new
$path
property. - Add
__toString()
magic method. - Add
@runner
placeholder. - Remove fallback values of config tasks in
bootstrap()
method. - Update properties and methods DocBlocks.
- Bump package version.
- Add new
- Update
blend.php
:- Update
config:generate
task.
- Update
- Update
TaskRunnerTest
class:- Add
__toString()
magic method test.
- Add
- Update
TaskRunner
class:- Update
TRANSLATIONS
class constant to prevent unexpected name translation. - Bump package version.
- Update
- Update
blend.php
:- Add
phar:update
task. - Add
declare(strict_types=1)
declaration. - Add namespace to the file.
- Add
- Update
TaskRunner
class:- Add
SUCCESS
class constant. - Add
FAILURE
class constant. - Update class some DocBlocks.
- Update class methods to make use of the new constants.
- Update value of
$id
property to reflect only executable name (used to reflect the entire path). - Remove unnecessary operations from
$name
and$envVar
properties. - Remove unused parameter from
load()
method. - Make
$config
property not nullable. - Bump package version.
- Add
- Update
composer.json
:- Change package type form
project
tolibrary
.
- Change package type form
- Update
TaskRunner
class:- Bump package version.
- Initial release.