deployer/CHANGELOG.md

706 lines
26 KiB
Markdown
Raw Normal View History

2017-01-18 00:46:46 +07:00
# Changelog
2020-04-25 23:00:08 +03:00
## master
[v6.8.0...master](https://github.com/deployphp/deployer/compare/v6.8.0...master)
### Added
- Added a Slack notification task on rollback.
### Fixed
- Recipe for Magento now supports locale configuration for `setup:static-content:deploy`. [#2040]
- When symfony_env is set to dev, require-dev are not installed and missing packages are breaking installation process. [#2035]
- Fixed exit status of rollback command when there are no releases to rollback to. [#2052]
2020-04-25 19:05:31 +03:00
## v6.8.0
[v6.7.3...v6.8.0](https://github.com/deployphp/deployer/compare/v6.7.3...v6.8.0)
### Added
2020-04-25 23:00:08 +03:00
- Documented check_remote task usage.
- Speedup deploy:clear_paths.
- Documented default_timeout config usage.
- Recipe for Joomla!.
### Fixed
2020-04-25 23:00:08 +03:00
- 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.
- Unexpected exception in config:* tasks when no stage is defined for host. [#1909] [#1909] [#1909]
- Fixed parsing of installed.json by Composer version 2.
- Fixed only call bin/php on the composer.phar file.
2019-12-18 20:30:49 +03:00
## v6.7.3
[v6.7.2...v6.7.3](https://github.com/deployphp/deployer/compare/v6.7.2...v6.7.3)
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed more Symfony 5 compatibility issues. [#1971]
2019-12-18 20:30:49 +03:00
## v6.7.2
[v6.7.1...v6.7.2](https://github.com/deployphp/deployer/compare/v6.7.1...v6.7.2)
2019-12-16 18:41:57 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed compatibility with Symfony 4.x.
2019-12-16 18:41:57 +07:00
2019-12-15 21:13:11 +07:00
## v6.7.1
[v6.7.0...v6.7.1](https://github.com/deployphp/deployer/compare/v6.7.0...v6.7.1)
2019-12-15 21:11:39 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed incompatibility with Symfony 5. [#1969]
2019-12-15 21:11:39 +07:00
2019-12-14 17:38:03 +07:00
## v6.7.0
[v6.6.0...v6.7.0](https://github.com/deployphp/deployer/compare/v6.6.0...v6.7.0)
2019-12-06 09:55:19 +01:00
### Changed
2020-04-25 23:00:08 +03:00
- Added Symfony 5 support.
2019-12-06 09:55:19 +01:00
2019-11-06 20:11:39 +03:00
## v6.6.0
[v6.5.0...v6.6.0](https://github.com/deployphp/deployer/compare/v6.5.0...v6.6.0)
2019-08-13 19:02:21 +03:00
### Added
2020-04-25 23:00:08 +03:00
- Added doc page with sample "real-world" Deployer script.
2019-08-13 19:02:21 +03:00
### Fixed
2020-04-25 23:00:08 +03:00
- Parameters `-f` or `--file` now are accepted also without the equal sign. [#1479]
2019-08-13 19:02:21 +03:00
2019-08-12 21:28:24 +03:00
## v6.5.0
[v6.4.7...v6.5.0](https://github.com/deployphp/deployer/compare/v6.4.7...v6.5.0)
2019-08-12 20:59:59 +03:00
### Added
2020-04-25 23:00:08 +03:00
- Added `deploy:check_remote` task. [#1755]
2019-08-12 20:59:59 +03:00
2019-08-12 13:42:01 +03:00
## v6.4.7
[v6.4.6...v6.4.7](https://github.com/deployphp/deployer/compare/v6.4.6...v6.4.7)
### Added
2020-04-25 23:00:08 +03:00
- A task to cache the event listeners manifest in Laravel. [#1893]
- Added `check_remote_head` option, by setting this to true, deployer will avoid unnecessary new releases by checking the remote git HEAD without cloning the repo. [#1755]
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed invalid magic-property phpdoc in Deployer\Deployer class. [#1899]
- Updated `config:hosts` and `config:current` tasks to output only the selected stage.
2019-08-08 11:47:27 +03:00
2019-07-30 10:42:26 +03:00
## v6.4.6
[v6.4.5...v6.4.6](https://github.com/deployphp/deployer/compare/v6.4.5...v6.4.6)
2019-07-11 06:35:14 +02:00
### Added
2020-04-25 23:00:08 +03:00
- Re-added the `artisan:view:clear` task.
2019-07-11 06:35:14 +02:00
### Changed
2020-04-25 23:00:08 +03:00
- 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:cache` task to only run the `view:cache` command.
2019-07-11 06:35:14 +02:00
2019-07-01 16:14:52 +03:00
## v6.4.5
[v6.4.4...v6.4.5](https://github.com/deployphp/deployer/compare/v6.4.4...v6.4.5)
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed detection of http user. [#1876]
2019-07-01 16:14:52 +03:00
2019-07-01 07:36:59 +03:00
## v6.4.4
[v6.4.3...v6.4.4](https://github.com/deployphp/deployer/compare/v6.4.3...v6.4.4)
2019-01-18 12:39:06 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Added `git_clone_dissociate` option, 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_recursive` option (default: true) used in all writable modes (chmod, chown, chgrp, acl). [#1822]
- Added `artisan:optimize:clear` task for Laravel 5.7 and above.
### Changed
2020-04-25 23:00:08 +03:00
- Added lock and unlock task to flow_framework receipe.
- Updated `artisan:optimize` to run for Laravel 5.7 and above, since [it got added back](https://github.com/laravel/framework/commit/fe1cbdf3b51ce1235b8c91f5e603f1e9306e4f6f) last year. It still doesn't run for 5.5 and below.
2020-04-25 23:00:08 +03:00
- View:clear command to a new view:cache command.
2019-01-18 12:39:06 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed rsync upload honor become option for host. [#1796]
- Fixed bug to execute ssh command on windows. [#1775]
- Fixed when recipe/deploy/writable.php resolves <defunct> as one of http users.
- Fixed deployer detects wrong version. [#1842]
- Fixed crashes on including autoloader in recipe file. [#1602]
2019-01-18 12:39:06 +07:00
2019-01-17 20:53:14 +07:00
## v6.4.3
[v6.4.2...v6.4.3](https://github.com/deployphp/deployer/compare/v6.4.2...v6.4.3)
### Fixed
2020-04-25 23:00:08 +03:00
- Input option handling. [#1793]
2019-01-15 12:58:34 +07:00
## v6.4.2
[v6.4.1...v6.4.2](https://github.com/deployphp/deployer/compare/v6.4.1...v6.4.2)
2019-01-15 12:57:56 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Improved ParallelExecutor::generateOptions to manage all types of InputOption. [#1792]
2019-01-15 12:57:56 +07:00
2019-01-11 19:02:01 +07:00
## v6.4.1
[v6.4.0...v6.4.1](https://github.com/deployphp/deployer/compare/v6.4.0...v6.4.1)
2019-01-11 18:56:01 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed http_user detection. [#1790]
2019-01-11 18:56:01 +07:00
2019-01-11 14:54:05 +07:00
## v6.4.0
[v6.3.0...v6.4.0](https://github.com/deployphp/deployer/compare/v6.3.0...v6.4.0)
2018-08-27 13:37:53 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Support to define remote shell path via host-config. [#1708] [#1709] [#1709]
- Added `horizon:terminate` to the Laravel recipe.
- Added `migrations_config` option 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 `become` option for rsync upload.
### Changed
2020-04-25 23:00:08 +03:00
- Laravel recipe should not run `artisan:cache:clear` in `deploy` task.
- Pass-through the quiet mode into the git commands for updating code.
- `deploy:writable` will no longer be able to automatically detect http_user if there are multiple candidates for the role. [#1778]
### Fixed
- Fixed Range expansion when hosts.yml is loaded. [#1671]
Added Exception Handling for perhaps missing config param (#1677) * modify wrong ticket url (#1605) * moving the name column to the last position to show full name - bug fix: #1579 * add changelog * update changelog.md * update CHANGELOG.md * modify command to find http user * modify command to find http user * modify wrong ticket url * Remove magento:enable from Magento 2 recipe (#1606) * Remove magento:enable from Magento 2 recipe Magento's module states are stored in app/etc/config.php. This task ignored that and blindly enabled all installed modules. * Mention the removal of magento:enable in the changelog * Extend deploy:cleanup with tty allocation when using sudo. (#1607) * Added option cleanup_tty to allow allocation when using sudo * Added comment for new option cleanup_tty to CHANGELOG * Allow to set template path in Drupal 7 Settings recipe (#1613) * Change drupal:settings task to drupal:configure * Drupal 7 recipe - Set template file path * Changelog * Fixed once() tasks that where being run multiple times with ParallelE… (#1624) * Fixed once() tasks that where being run multiple times with ParallelExecutor * CHANGELOG: reorder issue * Add test case for parallel deploy on ->once() task * Added cleanup_use_sudo option to all commands in deploy:cleanup (#1632) * Added option cleanup_tty to allow allocation when using sudo * Added comment for new option cleanup_tty to CHANGELOG * Added cleanup_use_sudo option to all commands in cleanup.php * Fix return types for fluent interface (#1638) * Add Prestashop 1.6 recipe (#1641) * Add Prestashop 1.6 recipe * Update changelog * Sleep between process status calls to prevent 100% CPU usage (#1654) * Sleep between progress status calls to prevent 100% CPU usage * Add changelog entry * Typo in changelog entry * Update ParallelExecutor.php * Update ParallelExecutor.php * locate binary with less subprocesses (#1634) * Set custom user for CI environments (#1659) * Detect CI user * Update CHANGELOG.md * Update README.md * [deploy:writable] chgrp doesn't need http_user (#1660) * deploy:writable: chgrp doesn't need http_user * Update CHANGELOG.md * Add missing deploy:writable entries (#1662) * Fix missing deploy:shared entries (#1664) * Added Exception Handling for perhaps missing config param Sometimes deploy_path is not set and a cd into this folder is not possible. But the deployment can be successful without it. * style * #1677 fixes according pull-request feedback * #1677 code style fixes * Added Exception Handling for perhaps missing config param Sometimes deploy_path is not set and a cd into this folder is not possible. But the deployment can be successful without it. * style * #1677 fixes according pull-request feedback * #1677 code style fixes * Changelog entry for #1677 * Changelog entry for #1677 * Changelog entry for #1677
2018-09-05 14:03:04 +02:00
- Fixed usage (only if present) of deploy_path config setting. [#1677]
- Fixed adding custom headers causes Httpie default header override.
2020-04-25 23:00:08 +03:00
- Fixed Laravel `laravel_version` failure.
- 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]
2018-08-27 13:37:53 +07:00
## v6.3.0
[v6.2.0...v6.3.0](https://github.com/deployphp/deployer/compare/v6.2.0...v6.3.0)
2018-08-27 13:22:12 +07:00
### Added
2020-04-25 23:00:08 +03:00
- 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_tty` option for `deploy:cleanup`.
- Added Prestashop 1.6 recipe.
- Set dedicated user variable under CI environments, if not provided by git-config.
### Changed
2020-04-25 23:00:08 +03:00
- Optimize locateBinaryPath() to create less subprocesses. [#1634]
- Laravel recipe runs migrations only once.
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed that long http user name is not detected correctly. [#1580]
- Fixed missing `var/sessions` in Symfony 4 shared_dirs.
- Fixed warning with host without configuration. [#1583]
- Removed the `magento:enable` task from the Magento 2 recipe since the module states are defined in `app/etc/config.php` and this task overwrote that.
2020-04-25 23:00:08 +03:00
- 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:writable` no need to specify http_user when using chgrp writable_mode.
- Fixed `deploy:shared` missing from some recipes. [#1663]
- Fixed missing `deploy:writable` entries in recipes. [#1661]
2018-08-27 13:22:12 +07:00
## v6.2.0
[v6.1.0...v6.2.0](https://github.com/deployphp/deployer/compare/v6.1.0...v6.2.0)
2018-03-05 18:02:44 +01:00
### Added
2020-04-25 23:00:08 +03:00
- 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]
2018-04-18 11:15:54 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed that long http user name is not detected correctly. [#1580]
- Fixed missing `var/sessions` in Symfony 4 shared_dirs.
- Fixed warning with host without configuration. [#1583]
2018-04-18 11:15:54 +07:00
2018-03-05 18:02:44 +01:00
## v6.1.0
[v6.0.5...v6.1.0](https://github.com/deployphp/deployer/compare/v6.0.5...v6.1.0)
2017-12-16 21:42:03 +07:00
### Added
2020-04-25 23:00:08 +03:00
- 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]
### Changed
2020-04-25 23:00:08 +03:00
- 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
2020-04-25 23:00:08 +03:00
- Fixed within() to also restore the working-path when the given callback throws a Exception. [#1463]
- Fixed `pcntl_fork` check for blacklisted Ubuntu LTS boxes. [#1476]
- Fixed shared dir/file paths containing variables (`{{variable}}`).
2018-03-05 20:25:09 +07:00
2017-12-16 21:42:03 +07:00
## v6.0.5
[v6.0.4...v6.0.5](https://github.com/deployphp/deployer/compare/v6.0.4...v6.0.5)
2017-09-04 18:05:30 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed `previous_release` param when `release_name` was overridden. [#1455]
2017-12-16 21:38:43 +07:00
2017-12-15 14:10:22 +07:00
## v6.0.4
[v6.0.3...v6.0.4](https://github.com/deployphp/deployer/compare/v6.0.3...v6.0.4)
2017-09-18 11:25:56 +02:00
### Changed
2020-04-25 23:00:08 +03:00
- 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]
2017-09-04 18:05:30 +07:00
2017-11-03 12:45:07 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed bug when config:hosts shows more than one table of hosts. [#1403]
- Fixed bug that inventory method does not return Proxy. [#1413]
2017-11-03 12:45:07 +07:00
2017-12-15 14:10:22 +07:00
2017-09-04 18:05:30 +07:00
## v6.0.3
[v6.0.2...v6.0.3](https://github.com/deployphp/deployer/compare/v6.0.2...v6.0.3)
2017-08-22 22:51:36 +07:00
2017-09-01 12:36:04 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- Laravel version check defaults to 5.5 if not found. [#1352]
2017-09-01 12:36:04 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Updated Laravel recipe to not run `artisan:optimize` on Laravel >= 5.5, as that command is now deprecated ([see upgrade notes](https://laravel.com/docs/5.5/upgrade)). [#1352]
2017-08-29 12:14:52 +07:00
2017-12-15 14:10:22 +07:00
2017-08-29 12:14:52 +07:00
## v6.0.2
[v6.0.1...v6.0.2](https://github.com/deployphp/deployer/compare/v6.0.1...v6.0.2)
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed bug with curl ssh check in _Httpie_ util.
2017-08-22 22:51:36 +07:00
2017-12-15 14:10:22 +07:00
2017-08-29 08:42:59 +07:00
## v6.0.1
[v6.0.0...v6.0.1](https://github.com/deployphp/deployer/compare/v6.0.0...v6.0.1)
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed stat url.
2017-08-22 22:51:36 +07:00
2017-12-15 14:10:22 +07:00
2017-08-22 22:51:36 +07:00
## v6.0.0
[v5.1.3...v6.0.0](https://github.com/deployphp/deployer/compare/v5.1.3...v6.0.0)
2017-07-03 14:01:32 +07:00
### Added
2020-04-25 23:00:08 +03:00
- 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_recursive` option.
- Added `shallow` task option.
- Added `deploy:info` task.
- Added `writable_tty` option for `deploy:writable`.
- Added `default_timeout` option. [#1256]
- Added `user` parameter.
### Changed
2020-04-25 23:00:08 +03:00
- Changed `branch` parameter and option behavior.
- Extended `task` func to support callables.
- Renamed `env_vars` to `env`.
2017-07-03 14:01:32 +07:00
2017-07-03 16:27:41 +09:00
### Fixed
2020-04-25 23:00:08 +03:00
- Improved the way `ParallelExecutor` handles option parameters.
- Fixed no `stage` argument in parallel mode. [#1299]
- Improved environment variables management.
- Fixed `runLocally` to not cd into remote dir.
2017-08-12 18:13:43 +03:00
### Removed
2020-04-25 23:00:08 +03:00
- Removed `terminate_message` option.
- Removed `Result` class.
2017-07-03 14:01:32 +07:00
## v5.1.3
[v5.1.2...v5.1.3](https://github.com/deployphp/deployer/compare/v5.1.2...v5.1.3)
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed bug with wrong version printed after self-update command.
- Fixed bug with excess option "--no-debug" in deploy:cache:clear task. [#1290]
2017-07-03 13:44:39 +07:00
## v5.1.2
[v5.1.1...v5.1.2](https://github.com/deployphp/deployer/compare/v5.1.1...v5.1.2)
2017-06-23 10:47:09 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- Improved `config:current` output (print each host's current release).
- Fixed cache clearing in the Symfony recipe (now runs both cache:clear and cache:warmup). [#1283]
2017-07-03 13:40:50 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed bug where `ParallelExecutor` threw an error when custom options were added.
- Fixed bug with parallel deploy in multi user envirouments. [#1269]
2017-06-23 10:47:09 +07:00
## v5.1.1
[v5.1.0...v5.1.1](https://github.com/deployphp/deployer/compare/v5.1.0...v5.1.1)
2017-06-22 23:14:04 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed bug with `self-update` warnings. [#1226]
2017-06-22 23:14:04 +07:00
2017-06-23 10:47:09 +07:00
2017-06-22 23:14:04 +07:00
## v5.1.0
[v5.0.3...v5.1.0](https://github.com/deployphp/deployer/compare/v5.0.3...v5.1.0)
2017-05-21 12:47:55 +07:00
2017-06-17 00:01:45 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Check what `unzip` exists in `deploy:vendors` task.
- Added `dep run` command. [#1263]
- Added new `-o` option which allow to override default configuration.
- Added `dep autocomplete` command.
- Added `dep config:hosts` task to show inventory.
2017-05-31 13:06:47 +07:00
2017-06-17 00:01:45 +07:00
### Changed
2017-06-12 13:03:58 +02:00
- Use either one of `command`, `which` or `type` commands to locate custom binary path.
2017-06-17 00:01:45 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- 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]
2017-05-31 20:32:24 +07:00
2017-05-31 20:32:24 +07:00
## v5.0.3
[v5.0.2...v5.0.3](https://github.com/deployphp/deployer/compare/v5.0.2...v5.0.3)
2017-06-16 16:07:38 +02:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed a parsing of laravel version in output. [#1252]
2017-05-31 20:32:24 +07:00
2017-05-31 13:06:47 +07:00
## v5.0.2
[v5.0.1...v5.0.2](https://github.com/deployphp/deployer/compare/v5.0.1...v5.0.2)
### Added
2020-04-25 23:00:08 +03:00
- Added `laravel_version` param. [#1246]
2017-05-31 13:06:47 +07:00
2017-05-25 22:29:00 +02:00
### Fixed
2020-04-25 23:00:08 +03:00
- 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]
2017-05-21 12:47:55 +07:00
2017-05-31 20:32:24 +07:00
2017-05-21 12:47:55 +07:00
## v5.0.1
[v5.0.0...v5.0.1](https://github.com/deployphp/deployer/compare/v5.0.0...v5.0.1)
2017-05-15 10:56:37 +07:00
2017-05-16 15:38:16 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Exception when no task will be executed.
- Check for php7 in phar.
2017-05-16 15:38:16 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Throw the correct exception on git --reference fail.
- Check if multiplexing is working before continuing. [#1192]
- Fixed upload with non-standard SSH port. [#1218]
2017-05-18 13:23:44 -05:00
- Ensure that host roles are treated as an array.
2017-05-15 10:56:37 +07:00
## v5.0.0
[v5.0.0-beta.3...v5.0.0](https://github.com/deployphp/deployer/compare/v5.0.0-beta.3...v5.0.0)
2017-04-08 21:37:21 +07:00
2017-06-16 16:07:38 +02:00
### Changed
2020-04-25 23:00:08 +03:00
- Working path default is `release_path` instead of home for simple tasks. [#1205]
2017-05-14 14:45:48 +07:00
2017-05-10 20:57:05 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed ssh multiplexing master connection initializing.
- Fixed `dep ssh` command. [#1204]
- Fixed `dep config:current` task.
2017-05-05 20:33:20 +07:00
2017-05-05 20:33:20 +07:00
## v5.0.0-beta.3
[v5.0.0-beta.2...v5.0.0-beta.3](https://github.com/deployphp/deployer/compare/v5.0.0-beta.2...v5.0.0-beta.3)
2017-05-04 13:00:01 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Added `Request` class for get/post json requests.
- Added host's `addSshFlag` and `addSshOption` methods.
2017-04-08 21:37:21 +07:00
2017-05-04 13:03:43 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- Allow to configure multiplexing. [#1165]
2017-05-04 13:03:43 +07:00
2017-05-04 13:00:01 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed command parsing in runLocally func.
- Fixed releases list and cleanup task. [#1175]
2017-05-04 13:00:01 +07:00
2017-04-08 21:37:21 +07:00
## v5.0.0-beta.2
[v5.0.0-beta.1...v5.0.0-beta.2](https://github.com/deployphp/deployer/compare/v5.0.0-beta.1...v5.0.0-beta.2)
2017-03-12 14:28:14 +07:00
2017-03-13 15:15:03 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Added console init template for Yii2 basic and advanced receipe. [#1146]
- Added `artisan:storage:link` task to the Laravel recipe to symlink the public storage directory. [#1152]
- Added `previous_release` var.
2017-04-06 14:06:37 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- Error message on locked release. [#1145]
2017-04-06 14:06:37 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed task order init/shared for yii2-app-advanced.php. [#1143]
2017-04-06 14:06:37 +07:00
## v5.0.0-beta.1
[v4.3.0...v5.0.0-beta.1](https://github.com/deployphp/deployer/compare/v4.3.0...v5.0.0-beta.1)
### Added
2020-04-25 23:00:08 +03:00
- Added `use_atomic_symlink` and `use_relative_symlink` option [14a8f8](https://github.com/deployphp/deployer/pull/1092/commits/14a8f8f9c4ebbc7da45c2b6b7c3c00a51b563ccf).
- Added `Ssh\Client`. [#1092]
- Added host ranges. [#1092]
- Added --hosts and --roles options. [#1092]
- Added `on` function. [#1092]
- Added `host` and `localhost`. [#1092]
- Added persistent config. [#1092]
- Added `--log` option. [#1092]
- Added `cleanup_use_sudo`. [#330]
2017-03-13 15:17:46 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- `server` refactored to `host`. [#1092]
- `Enviroment` refactored to `Configuration`. [#1092]
- Phpunit test refactored. [#1092]
- `upload` and `download` now uses rsync. [#1092]
- Only native ssh client for now. [#1092]
- Task `current` to `config:current`. [#1092]
- `onFailure` to `fail`. [#1092]
2017-03-25 15:45:03 +07:00
2017-03-12 14:28:14 +07:00
## v4.3.0
[v4.2.1...v4.3.0](https://github.com/deployphp/deployer/compare/v4.2.1...v4.3.0)
2017-02-02 10:46:18 +07:00
2017-02-13 16:57:40 +01:00
### Added
2020-04-25 23:00:08 +03:00
- 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-hooks` option for running commands without `before()` and `after()`. [#1061]
- Added a usefull error when ask*() is not used wihtin a task(). [#1083]
2017-02-13 16:57:40 +01:00
2017-02-14 14:30:23 +01:00
### Changed
2020-04-25 23:00:08 +03:00
- 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]
2017-02-14 14:30:23 +01:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed `Can not share same dirs` for 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.
2020-04-25 23:00:08 +03:00
- 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]
2017-02-13 11:32:21 +02:00
2017-02-02 10:46:18 +07:00
## v4.2.1
[v4.2.0...v4.2.1](https://github.com/deployphp/deployer/compare/v4.2.0...v4.2.1)
### Fixed
- Fixed `deployer/phar-update` dependency for composer installation.
2017-02-01 23:17:46 +07:00
## v4.2.0
[v4.1.0...v4.2.0](https://github.com/deployphp/deployer/compare/v4.1.0...v4.2.0)
2017-01-19 14:49:58 +07:00
2017-01-27 20:15:18 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Added pretty print to config:dump command.
2017-01-27 20:15:18 +07:00
2017-01-23 18:26:21 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- `add()` now merges configuration options recursively. [#962]
- Added `writable_chmod_recursive` boolean option to enable non-recursive `chmod`.
- `ask()` now supports autocomplete. [#978]
- `release_path` returns `current_path` in non-deploy context. [#922]
2017-01-19 14:49:58 +07:00
2017-01-27 20:17:48 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed Flow recipe. [#986]
- Fixed `deploy:copy_dirs` task. [#914]
- Fixed default behavior for `working_path`. [#381]
2017-01-28 00:50:52 +07:00
2017-02-01 19:26:20 +07:00
### Removed
2020-04-25 23:00:08 +03:00
- Removed const `Environment::DEPLOY_PATH`.
2017-01-28 00:50:52 +07:00
2017-01-27 20:17:48 +07:00
2017-01-19 14:49:58 +07:00
## v4.1.0
[v4.0.2...v4.1.0](https://github.com/deployphp/deployer/compare/v4.0.2...v4.1.0)
2017-01-18 00:46:46 +07:00
### Added
2020-04-25 23:00:08 +03:00
- Added `testLocally` function (analog `test` fn).
- Added `ConfigurationException`.
- Show message on file download.
- Added support for multiplexing for NativeSsh. [#918]
- Added GracefulShutdownException.
- Added Magento2 recipe. [#911]
2017-01-18 00:46:46 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- Server config `setPty` renamed to `pty`. [#953]
- Raised timeout for runLocally to 300 seconds. [#955]
- `deploy:unlock` now always successful. [#950]
- Added option `-L` to `setfacl`. [#956]
- Now throw exception on duplicates in `shared_dirs`.
2017-01-18 00:46:46 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed native ssh scp option.
- Fixed bug with `$httpGroup` guard clause. [#948]
2017-01-28 00:50:52 +07:00
2017-01-18 00:46:46 +07:00
## v4.0.2
2017-01-18 13:57:07 +07:00
[v4.0.1...v4.0.2](https://github.com/deployphp/deployer/compare/v4.0.1...v4.0.2)
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed bug with copy shared files.
- Fixed recursive upload in native ssh.
- Improved Laravel recipe.
- Improved exceptions in runLocally.
2017-01-18 13:57:07 +07:00
## v4.0.1
[v4.0.0...v4.0.1](https://github.com/deployphp/deployer/compare/v4.0.0...v4.0.1)
### Added
2020-04-25 23:00:08 +03:00
- Added more writable modes.
2017-01-18 13:57:07 +07:00
### Changed
2020-04-25 23:00:08 +03:00
- Allowed init command overriding.
- Returned ACL as default writable mode.
2017-01-18 13:57:07 +07:00
### Fixed
2020-04-25 23:00:08 +03:00
- Fixed SilverStripe recipe.
- Fixed release sorting.
- Fixed release cleanup.
- Improved Symfony recipe.
- Fixed `DotArray` syntax in `Collection`.
- Fixed typo3 recipe.
- Fixed remove of shared dir on first deploy.
2017-01-18 13:57:07 +07:00
2020-04-25 23:00:08 +03:00
[#2052]: https://github.com/deployphp/deployer/issues/2052
[#2043]: https://github.com/deployphp/deployer/pull/2043
[#2040]: https://github.com/deployphp/deployer/issues/2040
[#2035]: https://github.com/deployphp/deployer/issues/2035
[#1994]: https://github.com/deployphp/deployer/issues/1994
[#1990]: https://github.com/deployphp/deployer/issues/1990
[#1989]: https://github.com/deployphp/deployer/issues/1989
2019-12-18 20:30:49 +03:00
[#1971]: https://github.com/deployphp/deployer/pull/1971
2019-12-15 21:11:39 +07:00
[#1969]: https://github.com/deployphp/deployer/issues/1969
[#1909]: https://github.com/deployphp/deployer/issues/1909
[#1899]: https://github.com/deployphp/deployer/pull/1899
[#1893]: https://github.com/deployphp/deployer/pull/1893
2019-07-11 06:35:14 +02:00
[#1881]: https://github.com/deployphp/deployer/pull/1881
2019-07-01 16:14:52 +03:00
[#1876]: https://github.com/deployphp/deployer/pull/1876
[#1842]: https://github.com/deployphp/deployer/pull/1842
[#1822]: https://github.com/deployphp/deployer/issues/1822
[#1820]: https://github.com/deployphp/deployer/pull/1820
2019-01-18 12:39:06 +07:00
[#1796]: https://github.com/deployphp/deployer/pull/1796
[#1793]: https://github.com/deployphp/deployer/pull/1793
2019-01-15 12:57:56 +07:00
[#1792]: https://github.com/deployphp/deployer/pull/1792
2019-01-11 18:56:01 +07:00
[#1790]: https://github.com/deployphp/deployer/pull/1790
[#1778]: https://github.com/deployphp/deployer/issues/1778
2019-01-20 10:49:46 +07:00
[#1775]: https://github.com/deployphp/deployer/pull/1775
[#1764]: https://github.com/deployphp/deployer/pull/1764
2018-11-08 02:39:53 +01:00
[#1758]: https://github.com/deployphp/deployer/pull/1758
2019-08-12 20:59:59 +03:00
[#1755]: https://github.com/deployphp/deployer/issues/1755
[#1709]: https://github.com/deployphp/deployer/issues/1709
[#1708]: https://github.com/deployphp/deployer/pull/1708
Added Exception Handling for perhaps missing config param (#1677) * modify wrong ticket url (#1605) * moving the name column to the last position to show full name - bug fix: #1579 * add changelog * update changelog.md * update CHANGELOG.md * modify command to find http user * modify command to find http user * modify wrong ticket url * Remove magento:enable from Magento 2 recipe (#1606) * Remove magento:enable from Magento 2 recipe Magento's module states are stored in app/etc/config.php. This task ignored that and blindly enabled all installed modules. * Mention the removal of magento:enable in the changelog * Extend deploy:cleanup with tty allocation when using sudo. (#1607) * Added option cleanup_tty to allow allocation when using sudo * Added comment for new option cleanup_tty to CHANGELOG * Allow to set template path in Drupal 7 Settings recipe (#1613) * Change drupal:settings task to drupal:configure * Drupal 7 recipe - Set template file path * Changelog * Fixed once() tasks that where being run multiple times with ParallelE… (#1624) * Fixed once() tasks that where being run multiple times with ParallelExecutor * CHANGELOG: reorder issue * Add test case for parallel deploy on ->once() task * Added cleanup_use_sudo option to all commands in deploy:cleanup (#1632) * Added option cleanup_tty to allow allocation when using sudo * Added comment for new option cleanup_tty to CHANGELOG * Added cleanup_use_sudo option to all commands in cleanup.php * Fix return types for fluent interface (#1638) * Add Prestashop 1.6 recipe (#1641) * Add Prestashop 1.6 recipe * Update changelog * Sleep between process status calls to prevent 100% CPU usage (#1654) * Sleep between progress status calls to prevent 100% CPU usage * Add changelog entry * Typo in changelog entry * Update ParallelExecutor.php * Update ParallelExecutor.php * locate binary with less subprocesses (#1634) * Set custom user for CI environments (#1659) * Detect CI user * Update CHANGELOG.md * Update README.md * [deploy:writable] chgrp doesn't need http_user (#1660) * deploy:writable: chgrp doesn't need http_user * Update CHANGELOG.md * Add missing deploy:writable entries (#1662) * Fix missing deploy:shared entries (#1664) * Added Exception Handling for perhaps missing config param Sometimes deploy_path is not set and a cd into this folder is not possible. But the deployment can be successful without it. * style * #1677 fixes according pull-request feedback * #1677 code style fixes * Added Exception Handling for perhaps missing config param Sometimes deploy_path is not set and a cd into this folder is not possible. But the deployment can be successful without it. * style * #1677 fixes according pull-request feedback * #1677 code style fixes * Changelog entry for #1677 * Changelog entry for #1677 * Changelog entry for #1677
2018-09-05 14:03:04 +02:00
[#1677]: https://github.com/deployphp/deployer/pull/1677
[#1671]: https://github.com/deployphp/deployer/issues/1671
[#1663]: https://github.com/deployphp/deployer/issues/1663
[#1661]: https://github.com/deployphp/deployer/pull/1661
[#1634]: https://github.com/deployphp/deployer/pull/1634
[#1603]: https://github.com/deployphp/deployer/issues/1603
[#1602]: https://github.com/deployphp/deployer/issues/1602
[#1583]: https://github.com/deployphp/deployer/issues/1583
[#1580]: https://github.com/deployphp/deployer/pull/1580
2018-04-18 11:15:54 +07:00
[#1575]: https://github.com/deployphp/deployer/pull/1575
[#1559]: https://github.com/deployphp/deployer/pull/1559
[#1557]: https://github.com/deployphp/deployer/pull/1557
[#1556]: https://github.com/deployphp/deployer/pull/1556
[#1554]: https://github.com/deployphp/deployer/pull/1554
2018-04-18 11:31:22 +07:00
[#1536]: https://github.com/deployphp/deployer/pull/1536
[#1521]: https://github.com/deployphp/deployer/pull/1521
[#1513]: https://github.com/deployphp/deployer/pull/1513
[#1508]: https://github.com/deployphp/deployer/issues/1508
[#1488]: https://github.com/deployphp/deployer/issues/1488
[#1481]: https://github.com/deployphp/deployer/issues/1481
[#1480]: https://github.com/deployphp/deployer/issues/1480
2019-08-13 19:02:21 +03:00
[#1479]: https://github.com/deployphp/deployer/issues/1479
[#1476]: https://github.com/deployphp/deployer/pull/1476
[#1472]: https://github.com/deployphp/deployer/pull/1472
[#1463]: https://github.com/deployphp/deployer/pull/1463
2017-12-16 20:29:52 +07:00
[#1455]: https://github.com/deployphp/deployer/pull/1455
2017-12-14 12:37:24 +01:00
[#1452]: https://github.com/deployphp/deployer/pull/1452
2018-03-05 20:25:09 +07:00
[#1437]: https://github.com/deployphp/deployer/issues/1437
2017-11-23 12:33:32 +09:00
[#1426]: https://github.com/deployphp/deployer/pull/1426
[#1419]: https://github.com/deployphp/deployer/issues/1419
2017-11-09 16:58:41 +09:00
[#1413]: https://github.com/deployphp/deployer/pull/1413
2017-11-02 20:57:08 +00:00
[#1403]: https://github.com/deployphp/deployer/pull/1403
[#1390]: https://github.com/deployphp/deployer/pull/1390
2017-09-18 11:25:56 +02:00
[#1365]: https://github.com/deployphp/deployer/pull/1365
2017-09-21 18:19:58 +07:00
[#1364]: https://github.com/deployphp/deployer/pull/1364
2017-09-01 12:36:04 +07:00
[#1352]: https://github.com/deployphp/deployer/pull/1352
2017-07-27 14:06:52 +03:00
[#1311]: https://github.com/deployphp/deployer/pull/1311
2017-07-14 18:14:07 +02:00
[#1300]: https://github.com/deployphp/deployer/pull/1300
2017-08-12 19:03:24 +03:00
[#1299]: https://github.com/deployphp/deployer/issues/1299
2017-07-10 00:03:45 +07:00
[#1290]: https://github.com/deployphp/deployer/pull/1290
2017-07-03 13:43:23 +07:00
[#1283]: https://github.com/deployphp/deployer/pull/1283
2017-06-20 23:30:13 +07:00
[#1271]: https://github.com/deployphp/deployer/pull/1271
2017-07-03 13:40:50 +07:00
[#1269]: https://github.com/deployphp/deployer/pull/1269
2017-06-19 18:42:09 +07:00
[#1268]: https://github.com/deployphp/deployer/pull/1268
2017-06-17 00:01:45 +07:00
[#1265]: https://github.com/deployphp/deployer/pull/1265
2017-06-19 20:49:47 +07:00
[#1263]: https://github.com/deployphp/deployer/pull/1263
2017-08-12 19:32:48 +03:00
[#1256]: https://github.com/deployphp/deployer/issues/1256
2017-08-12 19:38:50 +03:00
[#1252]: https://github.com/deployphp/deployer/pull/1252
2017-05-30 12:07:02 +02:00
[#1251]: https://github.com/deployphp/deployer/pull/1251
2017-05-31 13:06:47 +07:00
[#1246]: https://github.com/deployphp/deployer/pull/1246
2017-06-19 21:30:26 +07:00
[#1236]: https://github.com/deployphp/deployer/issues/1236
2017-05-31 13:06:47 +07:00
[#1227]: https://github.com/deployphp/deployer/pull/1227
2017-06-23 10:32:07 +07:00
[#1226]: https://github.com/deployphp/deployer/issues/1226
[#1218]: https://github.com/deployphp/deployer/issues/1218
2017-05-14 14:45:48 +07:00
[#1205]: https://github.com/deployphp/deployer/issues/1205
2017-05-14 13:54:00 +07:00
[#1204]: https://github.com/deployphp/deployer/issues/1204
2017-05-21 12:41:49 +07:00
[#1192]: https://github.com/deployphp/deployer/issues/1192
2017-05-04 13:00:01 +07:00
[#1175]: https://github.com/deployphp/deployer/pull/1175
2017-05-31 13:55:57 +07:00
[#1165]: https://github.com/deployphp/deployer/issues/1165
[#1153]: https://github.com/deployphp/deployer/issues/1153
[#1152]: https://github.com/deployphp/deployer/pull/1152
[#1146]: https://github.com/deployphp/deployer/pull/1146
[#1145]: https://github.com/deployphp/deployer/pull/1145
[#1143]: https://github.com/deployphp/deployer/pull/1143
[#1092]: https://github.com/deployphp/deployer/pull/1092
[#1083]: https://github.com/deployphp/deployer/pull/1083
[#1082]: https://github.com/deployphp/deployer/pull/1082
[#1077]: https://github.com/deployphp/deployer/issues/1077
[#1076]: https://github.com/deployphp/deployer/pull/1076
[#1073]: https://github.com/deployphp/deployer/pull/1073
[#1067]: https://github.com/deployphp/deployer/pull/1067
[#1061]: https://github.com/deployphp/deployer/pull/1061
[#1036]: https://github.com/deployphp/deployer/pull/1036
[#1020]: https://github.com/deployphp/deployer/pull/1020
[#1015]: https://github.com/deployphp/deployer/pull/1015
[#1012]: https://github.com/deployphp/deployer/issues/1012
[#1010]: https://github.com/deployphp/deployer/issues/1010
[#1008]: https://github.com/deployphp/deployer/pull/1008
[#1007]: https://github.com/deployphp/deployer/pull/1007
[#1004]: https://github.com/deployphp/deployer/issues/1004
[#1003]: https://github.com/deployphp/deployer/pull/1003
[#1000]: https://github.com/deployphp/deployer/pull/1000
2017-05-04 13:15:19 +07:00
[#995]: https://github.com/deployphp/deployer/issues/995
2017-05-31 13:55:57 +07:00
[#986]: https://github.com/deployphp/deployer/pull/986
[#979]: https://github.com/deployphp/deployer/pull/979
[#978]: https://github.com/deployphp/deployer/pull/978
[#962]: https://github.com/deployphp/deployer/pull/962
[#956]: https://github.com/deployphp/deployer/pull/956
[#955]: https://github.com/deployphp/deployer/pull/955
[#953]: https://github.com/deployphp/deployer/pull/953
[#950]: https://github.com/deployphp/deployer/pull/950
[#948]: https://github.com/deployphp/deployer/pull/948
[#922]: https://github.com/deployphp/deployer/pull/922
[#918]: https://github.com/deployphp/deployer/pull/918
[#914]: https://github.com/deployphp/deployer/pull/914
[#911]: https://github.com/deployphp/deployer/pull/911
[#381]: https://github.com/deployphp/deployer/pull/381
[#330]: https://github.com/deployphp/deployer/pull/330