Capistrano v3.1.0 Release Notes
-
💥 Breaking changes:
deploy:restart
task is no longer run by default. From this version, developers who restart the app on each deploy need to declare it in their deploy flow (egafter 'deploy:publishing', 'deploy:restart'
) or, for passenger applications, use the capistrano-passenger gem.Please, check https://github.com/capistrano/capistrano/commit/4e6523e1f50707499cf75eb53dce37a89528a9b0 for more information. (@kirs)
- Minor changes
Tasks that used
linked_dirs
andlinked_files
now run on all roles, not just app roles (@mikespokefire)Tasks
deploy:linked_dirs
,deploy:make_linked_dirs
,deploy:linked_files
,deploy:cleanup_rollback
,deploy:log_revision
anddeploy:revert_release
now userelease_roles()
notroles()
meaning that they will only run on servers where theno_release
property is not falsy. (@leehambley)Fixed bug when
deploy:cleanup
was executed twice by default (@kirs)Config location can now be changed with
deploy_config_path
andstage_config_path
options (@seenmyfate)no_release
option is now available (@seenmyfate)Raise an error if developer tries to define
:all
role, which is reserved (@kirs)deploy:failed
hook was added to add some custom behaviour on failed deploy (@seenmyfate)Correctly infer namespace in task enhancements (@seenmyfate)
Add SHA to revision log (@blackxored)
Allow configuration of multiple servers with same hostname but different ports (@rsslldnphy)
Add command line option to control role filtering (@andytinycat)
Make use of recent changes in Rake to over-ride the application name (@shime)
Readme corrections (@nathanstitt)
Allow roles to be fetched with a variable containing an array (@seenmyfate)
Improve console (@jage)
Add ability to filter tasks to specific servers (host filtering). (@andytinycat)
Add a command line option to control role filter (
--roles
) (@andytinycat)Use an SCM object with a pluggable strategy (@coffeeaddict)
Big thanks to @Kriechi for his help.