Releases: capistrano/capistrano
Releases · capistrano/capistrano
3.9.0
Breaking changes:
- None
New features:
- #1911: Add Capistrano::DSL#invoke! for repetetive tasks
Fixes:
- #1899: Updated
deploy:cleanup
to continue rotating the releases and skip the invalid directory names instead of skipping the whole rotation of releases. The warning message has changed slightly due to the change of behavior.
3.8.2
Breaking changes:
- None
Other changes:
3.8.1
3.8.0
Potentially breaking changes:
- #1846: add_host will add a new host in a case where it used to incorrectly update an existing one (potentially breaking) (@dbenamy)
New features:
- #1860: Allow cap to be run within subdir and still work - @mattbrictson
Fixes:
- #1835: Stopped printing parenthesis in ask prompt if no default or nil was passed as argument (@chamini2)
- #1840: Git plugin: shellescape git_wrapper_path (@olleolleolle)
- #1843: Properly shell escape git:wrapper steps - @mattbrictson
- #1846: Defining a role is now O(hosts) instead of O(hosts^2) (@dbenamy)
- Run
svn switch
to work with svn branches if repo_url is changed - #1856: Fix hg repo_tree implementation - @mattbrictson
- #1857: Don't emit doctor warning when repo_tree is set - @mattbrictson
Other changes:
- capistrano-harrow#4: Drop dependency on
capistrano-harrow
gem. Gem can still be installed separately (@leehambley) - #1859: Move git-specific repo_url logic into git plugin - @mattbrictson
- #1858: Unset the :scm variable when an SCM plugin is used - @mattbrictson
3.7.2
Potentially breaking changes:
- None
Other changes:
- Suppress log messages of
git ls-remote
by filtering remote refs (@aeroastro) - The Git SCM now allows the repo_url to be changed without manually wiping out the mirror on each target host first (@javanthropus)
3.7.1
Potentially breaking changes:
- None
Fixes:
- Fixed a bug with mercurial deploys failing due to an undefined variable
3.7.0
Note: These release notes include all changes since 3.6.1, including the changes that were first published in 3.7.0.beta1.
Deprecations:
- The
set :scm, ...
mechanism is now deprecated in favor of a new SCM plugin system. See the UPGRADING-3.7 document for details
Potentially breaking changes:
- The
:git_strategy
,:hg_strategy
, and:svn_strategy
settings have been removed with no replacement. If you have been using these to customize Capistrano's SCM behavior, you will need to rewrite your customization using the new plugin system remote_file
feature has been removed and is no longer available to use @SaiVardhan
New features:
- The
tar
used by the Git SCM now honors the SSHKit command map, allowing an alternative tar binary to be used (e.g. gtar) #1787 (@caius) - Add support for custom on-filters #1776
Fixes:
- Fix test suite to work with Mocha 1.2.0 (@caius)
- Fix bug where host_filter and role_filter were overly greedy #1766 (@cseeger-epages)
- Fix the removal of old releases
deploy:cleanup
. Logic is changed because of unreliable modification times on folders. Removal of directories is now decided by sorting on folder names (name is generated from current datetime format YmdHis). Cleanup is skipped, and a warning is given when a folder name is in a different format
3.7.0.beta1
Deprecations:
- The
set :scm, ...
mechanism is now deprecated in favor of a new SCM plugin
system. See the UPGRADING-3.7 document for details.
Potentially breaking changes:
- The
:git_strategy
,:hg_strategy
, and:svn_strategy
settings have been
removed with no replacement. If you have been using these to customize
Capistrano's SCM behavior, you will need to rewrite your customization using
the new plugin system. remote_file
feature has been removed and is no longer available to use @SaiVardhan
New features:
- The
tar
used by the Git SCM now honors the SSHKit command map, allowing an alternative tar binary to be used (e.g. gtar) #1787 (@caius)
Fixes:
- Fix test suite to work with Mocha 1.2.0 (@caius)
- Fix bug where host_filter and role_filter were overly greedy #1766 (@cseeger-epages)
3.6.1
Fixes:
- Restore compatibility with older versions of Rake (< 11.0.0) (@troelskn)
- Fix
NoMethodError: undefined method gsub
when setting:application
to a Proc. The original fix released in 3.6.0 worked for values specified with blocks, but not for those specified with procs or lambdas (the latter syntax is much more common). #1681 - Fix a bug where deploy would fail if
:local_user
contained a space; spaces are now replaced with dashes when computing the git-ssh suffix. (@will_in_wi)
3.6.0
Thank you to the many first-time contributors from the Capistrano community who
helped with this release!
Deprecations:
- Deprecate
remote_file
feature (will be removed in Capistrano 3.7.0) (@lebedev-yury) - Deprecate
:git_strategy
,:hg_strategy
, and:svn_strategy
variables.
These will be completely removed in 3.7.0. - Added warning about future deprecation of reinvocation behaviour (@troelskn)
Refer to the Capistrano 3.7.0 upgrade document if you are
affected by these deprecations.
New features:
- Added a
doctor:servers
subtask that outputs a summary of servers, roles & properties (@irvingwashington) - Make path to git wrapper script configurable (@thickpaddy)
- Make name of current directory configurable via configuration variable
:current_directory
(@websi) - It is now possible to rollback to a specific release using the
ROLLBACK_RELEASE
environment variable.
#1155 (@lanrion)
Fixes:
doctor
no longer erroneously warns that:git_strategy
and other SCM options are "unrecognized" (@ShaneSaww)- Fix
NoMethodError: undefined method gsub
when setting:application
to a
Proc. #1681
(@mattbrictson)
Other changes:
- Raise a better error when an ‘after’ hook isn’t found (@jdelStrother)
- Change git wrapper path to work better with multiple users (@thickpaddy)
- Restrict the uploaded git wrapper script permissions to 700 (@irvingwashington)
- Add
net-ssh
gem version todoctor:gems
output (@lebedev-yury)