- Documented check_remote task usage
- Speedup deploy:clear_paths
- Documented default_timeout config usage
- Fixed Silverstripe CMS recipe assets path #1989
- Fixed check_remote task errors #1990
- Fixed check_remote task revision resolution #1994
- Fixed backward compatibility of bin/console for symfony4 recipe
- Keep consistency with executable naming in lock recipe
- Fixed more Symfony 5 compatibility issues #1971
- Fixed compatibility with Symfony 4.x
- Fixed incompatibility with Symfony 5 #1969
- Added Symfony 5 support
- Added doc page with sample "real-world" Deployer script
- Parameters
-for--filenow are accepted also without the equal sign #1479
- Added
deploy:check_remotetask #1755
- A task to cache the event listeners manifest in Laravel #1893
- Added
check_remote_headoption, by setting this to true, deployer will avoid unnecessary new releases by checking the remote git HEAD without cloning the repo #1755
- fixed invalid magic-property phpdoc in Deployer\Deployer class #1899
- Updated
config:hostsandconfig:currenttasks to output only the selected stage
- Re-added the
artisan:view:cleartask
- Change the default shared files in the Symfony4 recipe. The .env file is versionned now and not the .env.local #1881
- Change the
artisan:view:cachetask to only run theview:cachecommand
- Fixed detection of http user #1876
- Added
git_clone_dissociateoption, defaults to true; when set to false git-clone doesn't dissociate the eventual reference repository after clone, useful when using git-lfs #1820 - Added
writable_recursiveoption (default: true) used in all writable modes (chmod, chown, chgrp, acl) #1822 - Added
artisan:optimize:cleartask for Laravel 5.7 and above
- Add lock and unlock task to flow_framework receipe
- Updated
artisan:optimizeto run for Laravel 5.7 and above, since it got added back last year. It still doesn't run for 5.5 and below. - View:clear command to a new view:cache command
- Fix rsync upload honor become option for host #1796
- Fixed bug to execute ssh command on windows #1775
- Fix when recipe/deploy/writable.php resolves as one of http users.
- Fix deployer detects wrong version #1842
- Fix crashes on including autoloader in recipe file #1602
- Input option handling #1793
- Improved ParallelExecutor::generateOptions to manage all types of InputOption #1792
- Fixed http_user detection #1790
- Support to define remote shell path via host-config #1708 #1709 #1709
- Added
horizon:terminateto the Laravel recipe - Added
migrations_configoption to the Symfony recipes to specify Doctrine migration configuration to use - Added recipe for sulu 2.0 #1758
- Added recipe for sulu 1.x and improve sulu 2.0 recipe #1764
- Added
becomeoption for rsync upload
- Laravel recipe should not run
artisan:cache:clearindeploytask - Pass-through the quiet mode into the git commands for updating code
deploy:writablewill no longer be able to automatically detect http_user if there are multiple candidates for the role #1778
- Fixed Range expansion when hosts.yml is loaded. #1671
- Fixed usage (only if present) of deploy_path config setting. #1677
- Fixed adding custom headers causes Httpie default header override.
- Fixed Laravel
laravel_versionfailure - Fixed parser errors by adding the trim function to the changelog parser tokens
- Fixed arguments for rsync to be properly escaped
- Prevent multiple execution of task()->once() with --parallel and --limit option #1419
- Added cache clear/warmup task for symfony4 recipe #1575
- Added ability to use config params in host variables #1508
- Make used shell configurable via
shellCommand#1536 - Added
cleanup_ttyoption fordeploy:cleanup - Added Prestashop 1.6 recipe
- Set dedicated user variable under CI environments, if not provided by git-config
- Optimize locateBinaryPath() to create less subprocesses #1634
- Laravel recipe runs migrations only once
- Fixed that long http user name is not detected correctly #1580
- Fixed missing
var/sessionsin Symfony 4 shared_dirs - Fixed warning with host without configuration #1583
- Removed the
magento:enabletask from the Magento 2 recipe since the module states are defined inapp/etc/config.phpand this task overwrote that. - Allow to set template file path in Drupal 7 recipe #1603
- Fixed once() tasks that where being run multiple times with ParallelExecutor
- Fixed high CPU usage when running in parallel
- Fixed
deploy:writableno need to specify http_user when using chgrp writable_mode - Fixed
deploy:sharedmissing from some recipes #1663 - Fixed missing
deploy:writableentries in recipes #1661
- Added cache clear/warmup task for symfony4 recipe #1575
- Added ability to use config params in host variables #1508
- Make used shell configurable via
shellCommand#1536
- Fixed that long http user name is not detected correctly #1580
- Fixed missing
var/sessionsin Symfony 4 shared_dirs - Fixed warning with host without configuration #1583
- Added debug:task command to display the order of task execution #1488
- Added a description to the autocomplete command #1472
- Added logging of unhandled exceptions into logfile #1481
- Added default -H flag when using become #1556
- Added Symfony 4 recipe #1437
- Throw meaningfull exception on errors in cd() #1480
- Make sure Context::pop() is called when Callback errors in on(...) function #1513
- Update silverstripe recipe to support silverstripe 4
- Show standard output in exceptions when error output is empty #1554
- Improve readability of command for finding web server user #1557
- Update symfony package dependencies to ~4.0 #1559
- Fixed within() to also restore the working-path when the given callback throws a Exception #1463
- Fixed
pcntl_forkcheck for blacklisted Ubuntu LTS boxes #1476 - Fixed shared dir/file paths containing variables (
{{variable}})
- Fixed
previous_releaseparam whenrelease_namewas overridden #1455
- Added support for GroupTask in invoke() #1364
- Magento2 recipe optimizes the autoloader after the DI compilation #1365
- Host's
roles()API now can accept arrays too - Fixed bug where wrong time format is passed to touch when deploying assets #1390
- Added artisan:migrate:fresh task for laravel recipe
- Added platform config to composer.json #1426
- Moved symfony finder to dev-dependency #1452
- Fixed bug when config:hosts shows more than one table of hosts #1403
- Fixed bug that inventory method does not return Proxy #1413
- Laravel version check defaults to 5.5 if not found #1352
- Updated Laravel recipe to not run
artisan:optimizeon Laravel >= 5.5, as that command is now deprecated (see upgrade notes) #1352
- Fixed bug with curl ssh check in Httpie util
- Fixed stat url
- Added possibility to use callable when setting 'default_stage'
- Added console init template for TYPO3 CMS #1300
- Added possibility to run a task only once #1311
- Added
git_recursiveoption - Added
shallowtask option - Added
deploy:infotask - Added
writable_ttyoption fordeploy:writable - Added
default_timeoutoption #1256 - Added
userparameter
- Changed
branchparameter and option behavior - Extended
taskfunc to support callables - Renamed
env_varstoenv
- Improved the way
ParallelExecutorhandles option parameters - Fixed no
stageargument in parallel mode #1299 - Improved environment variables management
- Fixed
runLocallyto not cd into remote dir
- Removed
terminate_messageoption - Removed
Resultclass
- Fixed bug with wrong version printed after self-update command
- Fixed bug with excess option "--no-debug" in deploy:cache:clear task #1290
- Improved
config:currentoutput (print each host's current release) - Fixed cache clearing in the Symfony recipe (now runs both cache:clear and cache:warmup) #1283
- Fixed bug where
ParallelExecutorthrew an error when custom options were added - Fixed bug with parallel deploy in multi user envirouments #1269
- Fixed bug with
self-updatewarnings #1226
- Check what
unzipexists indeploy:vendorstask - Added
dep runcommand #1263 - Added new
-ooption which allow to override default configuration - Added
dep autocompletecommand - Added
dep config:hoststask to show inventory
- Use either one of
command,whichortypecommands to locate custom binary path.
- Fixed parallel execution with non-standart php bin path #1265
- Fixed ssh multiplexing initialization #1268
- Fixed exit code on error #1236
- Fixed bug with deploying in parallel to same host #1271
- Fix a parsing of laravel version in output #1252
- Added
laravel_versionparam #1246
- Fixed upload / download with optional rsync ssh options #1227
- Disable maintenance mode when Magento2 deployment fails #1251
- Fixed storage link error when deploying Laravel < 5.3 #1246
- Exception when no task will be executed
- Check for php7 in phar
- Throw the correct exception on git --reference fail
- Check if multiplexing is working before continuing #1192
- Fixed upload with non-standard SSH port #1218
- Ensure that host roles are treated as an array.
- Working path default is
release_pathinstead of home for simple tasks #1205
- Fixed ssh multiplexing master connection initializing
- Fixed
dep sshcommand #1204 - Fixed
dep config:currenttask
- Added
Requestclass for get/post json requests - Added host's
addSshFlagandaddSshOptionmethods
- Allow to configure multiplexing #1165
- Fixed command parsing in runLocally func
- Fixed releases list and cleanup task #1175
- Added console init template for Yii2 basic and advanced receipe #1146
- Added
artisan:storage:linktask to the Laravel recipe to symlink the public storage directory #1152 - Added
previous_releasevar
- Error message on locked release #1145
- Fixed task order init/shared for yii2-app-advanced.php #1143
- Added
use_atomic_symlinkanduse_relative_symlinkoption 14a8f8 - Added
Ssh\Client#1092 - Added host ranges #1092
- Added --hosts and --roles options #1092
- Added
onfunction #1092 - Added
hostandlocalhost#1092 - Added persistent config #1092
- Added
--logoption #1092 - Added
cleanup_use_sudo#330
serverrefactored tohost#1092Enviromentrefactored toConfiguration#1092- phpunit test refactored #1092
uploadanddownloadnow uses rsync #1092- Only native ssh client for now #1092
- Task
currenttoconfig:current#1092 onFailuretofail#1092
- Added support for multiple choice questions #1076
- Added a way to retrieve a defined task #1008
- Added support for configFile in the NativeSsh implementation #979
- Added
--no-hooksoption for running commands withoutbefore()andafter()#1061 - Added a usefull error when ask*() is not used wihtin a task() #1083
- Parse hyphens in environment setting names #1073
- Autoload functions via Composer #1015
- Added task queue:restart for Laravel recipe #1007
- Changed output of errors for native ssh #1012
- Fixed
Can not share same dirsfor shared folders having similar names #995 - Fixed scalar override on recursive option merge #1003
- Fixed incompatible PHP 7.0 syntax #1020
- Fixed an issue with the output of ls in releases_list #1004 #1036
- Fixed possibility to use PEM files with Native SSH
- Fixed old releases not being cleaned up when keep_releases reduced by more than half.
- Fixed creating non-existed
writable_dirs#1000 - Fixed uploading files with spaces in a path via Native SSH #1010
- Fixed merge of string array config options #1067
- Fixed uploading of files containing spaces #1077
- Fixed download of files when filename remote contains spaces #1082
- Fixed
deployer/phar-updatedependency for composer installation.
- Added pretty print to config:dump command
add()now merges configuration options recursively #962- Added
writable_chmod_recursiveboolean option to enable non-recursivechmod ask()now supports autocomplete #978release_pathreturnscurrent_pathin non-deploy context #922
- Fixed Flow recipe #986
- Fixed
deploy:copy_dirstask #914 - Fixed default behavior for
working_path#381
- Removed const
Environment::DEPLOY_PATH
- Added
testLocallyfunction (analogtestfn) - Added
ConfigurationException - Show message on file download
- Added support for multiplexing for NativeSsh #918
- Added GracefulShutdownException
- Added Magento2 recipe #911
- Server config
setPtyrenamed topty#953 - Raised timeout for runLocally to 300 seconds #955
deploy:unlocknow always successful #950- Added option
-Ltosetfacl#956 - Now throw exception on duplicates in
shared_dirs
- Fixed native ssh scp option
- Fixed bug with
$httpGroupguard clause #948
- Fixed bug with copy shared files
- Fixed recursive upload in native ssh
- Improved Laravel recipe
- Improved exceptions in runLocally
- Added more writable modes
- Allowed init command overriding
- Returned ACL as default writable mode
- Fixed SilverStripe recipe
- Fixed release sorting
- Fixed release cleanup
- Improved Symfony recipe
- Fixed
DotArraysyntax inCollection - Fixed typo3 recipe
- Fixed remove of shared dir on first deploy