Skip to content

Releases: capistrano/capistrano

3.9.0

28 Jul 15:43
Compare
Choose a tag to compare

v3.8.2...v3.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

16 Jun 15:17
Compare
Choose a tag to compare

v3.8.1...v3.8.2

Breaking changes:

  • None

Other changes:

  • #1882: Explain where to add new Capfile lines in scm deprecation warning - @robd

3.8.1

21 Apr 15:16
Compare
Choose a tag to compare

v3.8.0...v3.8.1

Breaking changes:

  • None

Fixes:

3.8.0

10 Mar 17:06
Compare
Choose a tag to 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:

Fixes:

Other changes:

3.7.2

28 Jan 01:51
Compare
Choose a tag to compare

v3.7.1...v3.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

16 Dec 16:41
Compare
Choose a tag to compare

v3.7.0...v3.7.1

Potentially breaking changes:

  • None

Fixes:

  • Fixed a bug with mercurial deploys failing due to an undefined variable

3.7.0

10 Dec 19:14
Compare
Choose a tag to 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_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

03 Nov 03:46
Compare
Choose a tag to 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_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

24 Aug 00:42
Compare
Choose a tag to compare

v3.6.0...v3.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

26 Jul 23:49
Compare
Choose a tag to 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_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 to doctor:gems output (@lebedev-yury)