Recent Releases of https://github.com/capistrano/capistrano
https://github.com/capistrano/capistrano - 3.20.0
β οΈ Breaking Changes
- Drop support for Ruby 2.0, 2.1, 2.2, 2.3, and 2.4 (#2171) @mattbrictson
π Documentation
- fix PuTTY link in index.markdown (#2168) @emanulato
π Housekeeping
- Bump release-drafter/release-drafter from 5 to 6 (#2174) @dependabot[bot]
- Bump actions/checkout from 4 to 6 (#2175) @dependabot[bot]
- Enable dependabot for Bundler and GitHub Actions (#2173) @mattbrictson
- Upgrade to rubocop 1.81.7; generate
.rubocop_todo.yml(#2172) @mattbrictson - Add Ruby 3.4 to CI matrix (#2165) @mattbrictson
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.19.2...v3.20.0
- Ruby
Published by github-actions[bot] 3 months ago
https://github.com/capistrano/capistrano - 3.19.2
π Bug Fixes
- Fix
uninitialized constant Capistrano::SCM::Git::StringIO(#2164) @taketo1113
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.19.1...v3.19.2
- Ruby
Published by github-actions[bot] over 1 year ago
https://github.com/capistrano/capistrano - 3.19.1
This release fixes an edge case where the new REVISION_TIME feature of 3.19.0 could cause deploys to hang in server environments where Git is configured to use an interactive pager.
π Bug Fixes
- Explicitly request that
git logdoes not use a pager (#2162) @G-Rath
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.19.0...v3.19.1
- Ruby
Published by github-actions[bot] over 1 year ago
https://github.com/capistrano/capistrano - 3.19.0
For Git-based deployments, Capistrano now creates a REVISION_TIME file (in addition to a REVISION file) in each release. See #2155 for more details. To opt out of this behavior, clear the following Rake task in your config/deploy.rb:
Rake::Task["git:set_current_revision_time"].clear_actions
β¨ New Features
- Create
REVISION_TIMEwith git commit timestamp upon deploy (#2155) @G-Rath
π Housekeeping
- Properly assert that release was created in feature test (#2160) @G-Rath
- Use Docker container as remote SSH target for test suite (#2159) @eric-eye
- Fix mocha deprecation warnings (#2158) @mattbrictson
- Remove Danger since it is no longer working reliably (#2157) @mattbrictson
- Remove some stray spaces (#2154) @G-Rath
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.18.1...v3.19.0
- Ruby
Published by github-actions[bot] over 1 year ago
https://github.com/capistrano/capistrano - 3.18.1
π Documentation
- Fix typos (#2151) @kianmeng
- Add capistrano-nomad to third party plugins list (#2145) @axsuul
π Housekeeping
- Fix RuboCop in CI (#2148) @mattbrictson
- Add Ruby 3.3 to CI (#2147) @mattbrictson
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.18.0...v3.18.1
- Ruby
Published by github-actions[bot] almost 2 years ago
https://github.com/capistrano/capistrano - 3.18.0
Changes
- Remove default webpacker path to linked_dirs (#2139) @taketo1113
π Bug Fixes
- Fix "lambda method requires a literal block" error (Ruby 3.3) (#2141) @mattbrictson
π Housekeeping
- Upgrade to latest ver of release-drafter and update config (#2143) @mattbrictson
- Upgrade CI to actions/checkout v4 (#2142) @mattbrictson
- Auto-bump version number in generated release notes (#2140) @mattbrictson
- Migrate from CircleCI to GitHub Actions; add Cucumber features to CI (#2132) @mattbrictson
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.17.3...v3.18.0
- Ruby
Published by github-actions[bot] over 2 years ago
https://github.com/capistrano/capistrano - 3.17.3
This is a gem housekeeping release. No user-facing changes.
π Documentation
- Fix typo in authorization docs (#2128) @HLFH
π Housekeeping
- Fix deprecated usage of open-uri so feature tests work on Ruby 3 (#2129) @mattbrictson
- Fix failing OpenSSL install on Ruby 2.3 CI image (#2130) @mattbrictson
- Add Ruby 3.2 to CI matrix (#2126) @mattbrictson
- Fix failing CI builds for Ruby < 2.3 (#2124) @mattbrictson
New Contributors
- @HLFH made their first contribution in https://github.com/capistrano/capistrano/pull/2128
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.17.2...v3.17.3
- Ruby
Published by github-actions[bot] almost 3 years ago
https://github.com/capistrano/capistrano - 3.17.2
π Documentation
- Add capistrano-mysql_tables as 3rd party plugin (#2121) @floydj
π Housekeeping
- Fix failing Ruby 2.0 CI build (#2116) @mattbrictson
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.17.1...v3.17.2
- Ruby
Published by github-actions[bot] about 3 years ago
https://github.com/capistrano/capistrano - 3.17.1
π Documentation
- Remove reference to the deprecated :scm variable (#2111) @elondaits
π Housekeeping
- Switch cucumber tests to use https instead of git:// (#2112) @mattbrictson
- Install newer SSH client to fix CI for old Rubies (#2106) @mattbrictson
Full Changelog: https://github.com/capistrano/capistrano/compare/v3.17.0...v3.17.1
- Ruby
Published by github-actions[bot] over 3 years ago
https://github.com/capistrano/capistrano - 3.17.0
β¨ New Features
- Add common Rails paths to suggested
linked_dirsandlinked_files(#2105) @gdurelle - Add new default webpacker path to
linked_dirs(#2084) @razum2um
π Bug Fixes
- Add
linked_dirsandlinked_filesto VariblesDoctor WHITELIST (#2103) @y-yagi
π Housekeeping
- Switch from Travis to Circle CI (#2100) @mattbrictson
- Ensure rubocop can run under Ruby 3.1 (#2099) @mattbrictson
- Fix warnings and errors in cucumber feature tests (#2095) @mattbrictson
- Ruby
Published by github-actions[bot] almost 4 years ago
https://github.com/capistrano/capistrano - 3.16.0
β¨ New Features
- Add a
:verify_commitoption; if enabled, checks that the revision being deployed has a valid signature (git only) (#2076) @mohamedhafez
π Housekeeping
- Fix cucumber
putsdeprecation warnings (#2075) @mattbrictson
- Ruby
Published by github-actions[bot] about 5 years ago
https://github.com/capistrano/capistrano - 3.15.0
π‘ Security
- Randomize path of git wrapper script (9c92ad51)
π Documentation
- Add Capistrano::Teams to 3rd Party Plugin (#2064) @danieltoader
π Housekeeping
- Add latest Ruby versions to CI, including 3.0 (#2071) @mattbrictson
- Fix Bundler deprecation warning in
rake features(#2063) @mattbrictson
- Ruby
Published by github-actions[bot] about 5 years ago
https://github.com/capistrano/capistrano - 3.14.1
π Bug Fixes
- #2046 Fix Ruby 2.7 keyword parameters warnings and add Ruby 2.7 to CI (#2060) @Eric-Guo
- Ruby
Published by github-actions[bot] over 5 years ago
https://github.com/capistrano/capistrano - 3.14.0
β¨ New Features
- Add custom prompt support for user input (#2055) @rolandasb
π Documentation
- Update docs website icons, optimize images (#2056) @rolandasb
π Housekeeping
- Fix CI builds for EOL Ruby versions (#2058) @mattbrictson
- Ruby
Published by github-actions[bot] almost 6 years ago
https://github.com/capistrano/capistrano - 3.13.0
β¨ New Features
- Use env to find ssh path (#2053) @JoeDupuis
π Housekeeping
- Remove CHANGELOG task from PR template (#2054) @mattbrictson
- Ruby
Published by github-actions[bot] almost 6 years ago
https://github.com/capistrano/capistrano - 3.12.1
π Bug Fixes
- Change default
git_wait_intervalto 0 to fix git slowdown introduced in 3.12.0 (#2050) @grzegorzblaszczyk
π Documentation
- Improve misleading example for ssh_options (#2052) @rlisowski
π Housekeeping
- Bump rubyzip from 1.2.2 to 2.2.0 in /docs (#2051) @dependabot
- Bump nokogiri from 1.10.4 to 1.10.8 in /docs (#2047) @dependabot
- Ruby
Published by github-actions[bot] almost 6 years ago
https://github.com/capistrano/capistrano - 3.12.0
Note that this release limits the number of concurrent git connections by default. If you use Capistrano to deploy to > 10 servers simultaneously you may want to increase this number. See #2044 for details.
β¨ New Features
- Limit the number of concurrent git connections to 10, and make it configurable (#2044) @grzegorzblaszczyk
π Documentation
- Fix
%xtypo in local tasks example (#2040) @tiendo1011
- Ruby
Published by github-actions[bot] about 6 years ago
https://github.com/capistrano/capistrano - 3.11.2
π Housekeeping
- Eliminate double CI builds on PRs (#2035) @mattbrictson
- Update gemspec with correct release notes URL, etc. (#2036) @mattbrictson
- Automatically maintain release notes using GitHub Actions (#2034) @mattbrictson
- Use a stub for $stdin during testing (#2033) @mattbrictson
- Upgrade nokogiri to fix security warning (#2031) @mattbrictson
- Exclude danger to fix Ruby 2.0.0 CI error (#2030) @mattbrictson
- Ruby
Published by github-actions[bot] over 6 years ago
https://github.com/capistrano/capistrano - 3.11.1
- #2027: Batch rm -rf calls in deploy:cleanup to fix an error when there are too many old releases @azin634
- Ruby
Published by mattbrictson over 6 years ago
https://github.com/capistrano/capistrano - 3.11.0
- #1972: fallback ask to default when used in non interactive session
- Ruby
Published by mattbrictson almost 8 years ago
https://github.com/capistrano/capistrano - 3.10.2
Breaking changes:
- None
Fixes:
- Ruby
Published by mattbrictson almost 8 years ago
https://github.com/capistrano/capistrano - 3.10.1
Breaking changes:
- None
Fixes:
- #1954: Fix Host filtering when multi-host strings contain
0
- Ruby
Published by mattbrictson about 8 years ago
https://github.com/capistrano/capistrano - 3.10.0
As of this release, version 2.x of Capistrano is officially End of Life. No further releases of 2.x series are planned, and pull requests against 2.x are no longer accepted. The maintainers encourage you to upgrade to 3.x if possible.
Breaking changes:
- None
New features:
- #1943: Make 'releases' and 'shared' directory names configurable from deployment target
- #1922: Prevents last good release from being deleted during cleanup if there are too many subsequent failed deploys
- #1930: Default to locking the version using the pessimistic version operator at the patch level.
Fixes:
- #1937: Clarify error message when plugin is required in the wrong config file.
- Ruby
Published by mattbrictson over 8 years ago
https://github.com/capistrano/capistrano - 3.9.1
https://github.com/capistrano/capistrano/compare/v3.9.0...v3.9.1
Breaking changes:
- None
Fixes:
- #1912: Fixed an issue where questions posed by
askwere not printed on certain platforms - @kminiatures
- Ruby
Published by mattbrictson over 8 years ago
https://github.com/capistrano/capistrano - 3.9.0
https://github.com/capistrano/capistrano/compare/v3.8.2...v3.9.0
Breaking changes:
- None
New features:
- #1911: Add Capistrano::DSL#invoke! for repetetive tasks
Fixes:
- #1899: Updated
deploy:cleanupto 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.
- Ruby
Published by mattbrictson over 8 years ago
https://github.com/capistrano/capistrano - 3.8.2
https://github.com/capistrano/capistrano/compare/v3.8.1...v3.8.2
Breaking changes:
- None
Other changes:
- Ruby
Published by mattbrictson over 8 years ago
https://github.com/capistrano/capistrano - 3.8.1
https://github.com/capistrano/capistrano/compare/v3.8.0...v3.8.1
Breaking changes:
- None
Fixes:
- #1867: Allow
cap -Tto run without Capfile present - @mattbrictson
- Ruby
Published by mattbrictson almost 9 years ago
https://github.com/capistrano/capistrano - 3.8.0
https://github.com/capistrano/capistrano/compare/v3.7.2...v3.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 switchto 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-harrowgem. 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
- Ruby
Published by mattbrictson almost 9 years ago
https://github.com/capistrano/capistrano - 3.7.2
https://github.com/capistrano/capistrano/compare/v3.7.1...v3.7.2
Potentially breaking changes:
- None
Other changes:
- Suppress log messages of
git ls-remoteby 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)
- Ruby
Published by mattbrictson about 9 years ago
https://github.com/capistrano/capistrano - 3.7.1
https://github.com/capistrano/capistrano/compare/v3.7.0...v3.7.1
Potentially breaking changes:
- None
Fixes:
- Fixed a bug with mercurial deploys failing due to an undefined variable
- Ruby
Published by mattbrictson about 9 years ago
https://github.com/capistrano/capistrano - 3.7.0
https://github.com/capistrano/capistrano/compare/v3.6.1...v3.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_strategysettings 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_filefeature has been removed and is no longer available to use @SaiVardhan
New features:
- The
tarused 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
- Ruby
Published by mattbrictson about 9 years ago
https://github.com/capistrano/capistrano - 3.7.0.beta1
https://github.com/capistrano/capistrano/compare/v3.6.1...v3.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_strategysettings 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_filefeature has been removed and is no longer available to use @SaiVardhan
New features:
- The
tarused 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)
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/capistrano - 3.6.1
https://github.com/capistrano/capistrano/compare/v3.6.0...v3.6.1
Fixes:
- Restore compatibility with older versions of Rake (< 11.0.0) (@troelskn)
- Fix
NoMethodError: undefined method gsubwhen setting:applicationto 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_usercontained a space; spaces are now replaced with dashes when computing the git-ssh suffix. (@will_in_wi)
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/capistrano - 3.6.0
https://github.com/capistrano/capistrano/compare/v3.5.0...v3.6.0
Thank you to the many first-time contributors from the Capistrano community who
helped with this release!
Deprecations:
- Deprecate
remote_filefeature (will be removed in Capistrano 3.7.0) (@lebedev-yury) - Deprecate
:git_strategy,:hg_strategy, and:svn_strategyvariables.
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:serverssubtask 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_RELEASEenvironment variable.
#1155 (@lanrion)
Fixes:
doctorno longer erroneously warns that:git_strategyand other SCM options are "unrecognized" (@shanesaww)- Fix
NoMethodError: undefined method gsubwhen setting:applicationto 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-sshgem version todoctor:gemsoutput (@lebedev-yury)
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/capistrano - 2.15.9
- Continue if
HOSTROLEFILTER=is set - Don't treat
run()as a parallel task in logging
- Ruby
Published by leehambley over 9 years ago
https://github.com/capistrano/capistrano - 3.5.0
https://github.com/capistrano/capistrano/compare/v3.4.1...v3.5.0
You'll notice a big cosmetic change in this release: the default logging
format has been changed to
Airbrussh. For more details on
what Airbrussh does
and how to configure it, visit the
Airbrussh README.
- To opt out of the new format, simply add
set :format, :prettyto switch to
the old default of Capistrano 3.4.0 and earlier. - If you are already an Airbrussh user, note that the default configuration has
changed, and the syntax for configuring Airbrussh has changed as well.
This simple upgrade guide
will walk you through it.
Potentially breaking changes:
- Drop support for Ruby 1.9.3 (Capistrano does no longer work with 1.9.3)
- Git version 1.6.3 or greater is now required
- Remove 'vendor/bundle' from default :linked_dirs (@ojab)
- Old versions of SSHKit (before 1.9.0) are no longer supported
- SHA1 hash of current git revision written to REVISION file is no longer abbreviated
- Ensure task invocation within after hooks is namespace aware, which may require
you to change how yourafterhooks are declared in some cases; see
#1652 for an example
and how to correct it (@thickpaddy) - Validation of the
:applicationvariable forbids special characters such as slash,
this may be a breaking change in case that you rely on using a/in your application
name to deploy from a sub directory.
New features:
- Added a
doctortask that outputs helpful troubleshooting information. Try it like this:cap production doctor. (@mattbrictson) - Added a
dry_run?helper method removeDSL method for removing values like from arrays likelinked_dirsappendDSL method for pushing values likelinked_dirs
#1447,
#1586- Added support for git shallow clone
- Added new runtime option
--print-config-variablesthat inspect all defined config variables in order to assist development of new capistrano tasks (@gerardo-navarro) - Prune dead tracking branches from git repositories while updating
- Added options to set username and password when using Subversion as SCM (@dsthode)
- Allow after() to refer to tasks that have not been loaded yet (@jcoglan)
- Allow use "all" as string for server filtering (@theist)
- Print a warning and abort if "load:defaults" is erroneously invoked after
capistrano is already loaded, e.g. when a plugin is loaded indeploy.rb
instead ofCapfile. (@mattbrictson) - Added option to set specific revision when using Subversion as SCM (@marcovtwout)
- Deduplicate list of linked directories
- Integration with Harrow.io (See http://capistranorb.com/documentation/harrow/) when running
cap install - Added validate method to DSL to allow validation of certain values (@Kriechi)
- validate values before assignment inside of
set(:key, value) - should raise a
Capistrano::ValidationErrorif invalid
- validate values before assignment inside of
- Added default validation for Capistrano-specific variables (@Kriechi)
Fixes:
- Capistrano is now fully-compatible with Rake 11.0. (@mattbrictson)
- Fix filtering behaviour when using literal hostnames in on() block (@townsen)
- Allow dot in :application name (@marcovtwout)
- Fixed git-ssh permission error (@spight)
Other changes:
- Internal Rubocop cleanups.
- Removed the post-install message (@Kriechi)
- Refactor
Configuration::Filterto use filtering strategies instead
of case statements (@cshaffer) - Clean up rubocop lint warnings (@cshaffer)
- Ruby
Published by mattbrictson almost 10 years ago