Recent Releases of https://github.com/capistrano/sshkit
https://github.com/capistrano/sshkit - 1.25.0
β¨ New Features
- Add support for nested as (#558) @ThomasSevestre
π Housekeeping
- Bump actions/checkout from 5 to 6 (#557) @dependabot[bot]
- Bump actions/checkout from 4 to 5 (#556) @dependabot[bot]
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.24.0...v1.25.0
- Ruby
Published by github-actions[bot] 3 months ago
https://github.com/capistrano/sshkit - 1.24.0
This version of sshkit drops support for Ruby 2.4 and older, which have been EOL since 2020. Old Rubies already had problems installing recent versions of sshkit (see #548), so this release makes official what was already an unacknowledged lack of support.
If you are using an old version of Ruby, you can still use sshkit by pinning to 1.22.0, which is known to work on Ruby 2.2.
β οΈ Breaking Changes
- Drop official support for Ruby 2.0, 2.1, 2.2, 2.3, and 2.4 (#549) @mattbrictson
π Bug Fixes
- Add
loggerruntime dependency to fix warning on Ruby 3.4 (#552) @mattbrictson
π Housekeeping
- Remove version pin for
rainbowdev dependency (#553) @mattbrictson - Bump toolmantim/release-drafter from 6.0.0 to 6.1.0 (#551) @dependabot[bot]
- Add Ruby 3.4 to CI matrix (#547) @mattbrictson
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.23.2...v1.24.0
- Ruby
Published by github-actions[bot] about 1 year ago
https://github.com/capistrano/sshkit - 1.23.2
π Housekeeping
- Update
SSHKit::Colorto be frozen string literal safe (#545) @npezza93
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.23.1...v1.23.2
- Ruby
Published by github-actions[bot] over 1 year ago
https://github.com/capistrano/sshkit - 1.23.1
π Housekeeping
- Add
ostructdependency to fix warning on Ruby 3.3.5+ (#542) @mattbrictson
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.23.0...v1.23.1
- Ruby
Published by github-actions[bot] over 1 year ago
https://github.com/capistrano/sshkit - 1.23.0
This release of SSHKit drops mutex_m as a gem dependency. If your app relied on mutex_m being pulled in as a transitive dependency of sshkit, you may need to now explicitly add mutex_m to your Gemfile.
β οΈ Breaking Changes
- Drop
mutex_mdependency (#536) @Earlopain
β¨ New Features
- Handle unbracketed ipv6 addresses (#538) @jeromedalbert
π Housekeeping
- Improve auto-generation of release notes (#540) @mattbrictson
- Replace Vagrant with Docker Compose for running functional tests (#539) @mattbrictson
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.22.2...v1.23.0
- Ruby
Published by github-actions[bot] over 1 year ago
https://github.com/capistrano/sshkit - 1.22.2
π Bug Fixes
- Avoid calling
closed?outside of synchronize block (#534) @djmb
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.22.1...v1.22.2
- Ruby
Published by github-actions[bot] almost 2 years ago
https://github.com/capistrano/sshkit - 1.22.1
π Bug Fixes
- Explicitly require
base64to fix missing constant error with net-ssh 7.2.2+ (#532) @mattbrictson
π Housekeeping
- Fix failing tests on ruby head (#533) @mattbrictson
- Bump toolmantim/release-drafter from 5.25.0 to 6.0.0 (#530) @dependabot
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.22.0...v1.22.1
- Ruby
Published by github-actions[bot] almost 2 years ago
https://github.com/capistrano/sshkit - 1.22.0
With this release, SSHKit now supports SFTP file transfers. For backwards-compatibility, SCP is still the default. To enable SFTP globally or per host, see more details in #524.
β¨ New Features
- Allow SFTP to be used for
upload!/download!instead of SCP (#524, #529) @mattbrictson
π Documentation
- EXAMPLES.md corrections (#527) @JasonPoll
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.21.7...v1.22.0
- Ruby
Published by github-actions[bot] about 2 years ago
https://github.com/capistrano/sshkit - 1.21.7
π Bug Fixes
- Add mutex_m dependency to fix Ruby 3.3 warning (#525) @mattbrictson
π Housekeeping
- Add Ruby 3.3 to CI (#526) @mattbrictson
- Disable functional tests in CI for now (#523) @mattbrictson
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.21.6...v1.21.7
- Ruby
Published by github-actions[bot] about 2 years ago
https://github.com/capistrano/sshkit - 1.21.6
This is a gem housekeeping release. No user-facing changes.
π Housekeeping
- Bump toolmantim/release-drafter from 5.24.0 to 5.25.0 (#520) @dependabot
- Bump actions/checkout from 3 to 4 (#519) @dependabot
- Ruby
Published by github-actions[bot] over 2 years ago
https://github.com/capistrano/sshkit - 1.21.5
This is a gem housekeeping release. No user-facing changes.
π Housekeeping
- CI: Use newer Vagrant box to address timeout issues (#517) @mattbrictson
- Bump toolmantim/release-drafter from 5.23.0 to 5.24.0 (#515) @dependabot
- Fix CI failures by running Ruby <= 2.2 on older Ubuntu image (#516) @mattbrictson
- Bump actions/cache from 2 to 3 (#511) @dependabot
- Increase Vagrant boot timeout to accommodate slow GitHub Actions (#513) @mattbrictson
- Bump toolmantim/release-drafter from 5.22.0 to 5.23.0 (#510) @dependabot
- Upgrade macOS runner in CI since GitHub has retired 10.15 (#512) @mattbrictson
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.21.4...v1.21.5
- Ruby
Published by github-actions[bot] over 2 years ago
https://github.com/capistrano/sshkit - 1.21.4
This is a gem housekeeping release. No user-facing changes.
π Housekeeping
- Add functional test with vagrant on CI (#509) @colorbox
- Migrate CI build from Travis to GitHub Actions (#507) @colorbox
- Fix test by
require 'set'(#508) @colorbox - Bump toolmantim/release-drafter from 5.20.1 to 5.22.0 (#501, #502, #506) @dependabot
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.21.3...v1.21.4
- Ruby
Published by github-actions[bot] about 3 years ago
https://github.com/capistrano/sshkit - 1.21.3
π Documentation
- In EXAMPLES.md show how to change the SSH port in the DSL (#494) @bretweinraub
π Housekeeping
- Bump toolmantim/release-drafter from 5.2.0 to 5.20.1 (#498, #500) @dependabot
- Include githubactions in the dependabot config (#497) @naveensrinivasan
- Upgrade to GitHub-native Dependabot (#492) @dependabot-preview
Full Changelog: https://github.com/capistrano/sshkit/compare/v1.21.2...v1.21.3
- Ruby
Published by github-actions[bot] over 3 years ago
https://github.com/capistrano/sshkit - 1.21.2
π Bug Fixes
- Fix closed connection in pool (#487) @azrle
π Documentation
- Update EXAMPLES.md to show how to set the ssh user (#485) @bretweinraub
π Housekeeping
- Add latest rubies to CI, including 3.0; drop rubinius CI support (#489) @mattbrictson
- Ruby
Published by github-actions[bot] about 5 years ago
https://github.com/capistrano/sshkit - 1.21.1
π Bug Fixes
- fix: test_upload_large_file should open file in binary file mode (#486) @azrle
- Ruby
Published by github-actions[bot] over 5 years ago
https://github.com/capistrano/sshkit - 1.21.0
β¨ New Features
- Allow a Proc to be used as an interaction_handler (#436) @DamienRobert
π Documentation
- Removed dead links from README (#477) @ssimontis
π Housekeeping
- Unpin mocha version and fix deprecation warnings for mocha v1.11.1 (#480) @floehopper
- Pin mocha at 1.9.x to fix CI failures (#478) @mattbrictson
- Add changelog_uri to metadata to easily link from rubygems.org (#473) @nickhammond
- Automatically maintain release notes using GitHub Actions (#472) @mattbrictson
- Ruby
Published by github-actions[bot] almost 6 years ago
https://github.com/capistrano/sshkit - 1.19.1
- #465: Fix a regression in 1.19.0 that prevented
~from being used in Capistrano paths, e.g.:deploy_to, etc. - @grosser
- Ruby
Published by mattbrictson over 6 years ago
https://github.com/capistrano/sshkit - 1.19.0
- #455: Ensure UUID of commands are stable in logging - @lazyatom
- #453:
asandwithinnow properly escape their user/group/path arguments, and the command nested within anasblock is now properly escaped before passing tosh -c. In the unlikely case that you were manually escaping commands passed to SSHKit as a workaround, you will no longer need to do this. See #458 for examples of what has been fixed. - @grosser - #460: Handle IPv6 addresses without port - @will-in-wi
- Ruby
Published by mattbrictson over 6 years ago
https://github.com/capistrano/sshkit - 1.18.2
- #448: Fix misbehaving connection eviction loop when disabling connection pooling - Sebastian Cohnen
- Ruby
Published by mattbrictson about 7 years ago
https://github.com/capistrano/sshkit - 1.18.1
- #447: Fix broken thread safety by widening critical section - Takumasa Ochi
- Ruby
Published by mattbrictson about 7 years ago
https://github.com/capistrano/sshkit - 1.18.0
- #435: Consistent verbosity configuration #capture and #test methods - @NikolayRys
- Ruby
Published by mattbrictson over 7 years ago
https://github.com/capistrano/sshkit - 1.17.0
- #430: [Feature] Command Argument STDOUT/capistrano.log Hiding - @NorseGaud
- Ruby
Published by mattbrictson over 7 years ago
https://github.com/capistrano/sshkit - 1.16.1
- #425: Command#group incorrectly escapes double quotes, resulting in a a syntax error when specifying the group execution using
as. This issue manifested when user command quotes changed from double quotes to single quotes. This fix removes the double quote escaping - @pblesi.
- Ruby
Published by mattbrictson almost 8 years ago
https://github.com/capistrano/sshkit - 1.16.0
- #417: Cache key generation for connections becomes slow when
known_hostsis a validnet/sshoptions andknown_hostsfile is big. This changes the cache key generation and fixes performance issue - @ElvinEfendi.
- Ruby
Published by mattbrictson about 8 years ago
https://github.com/capistrano/sshkit - 1.15.1
This is a small bug-fix release that fixes problems with upload! and download! that were inadvertently introduced in 1.15.0.
Breaking changes
- None
Bug fixes
- #410: fix NoMethodError when using upload!/download! with Pathnames - @UnderpantsGnome
- #411: fix upload!/download! when using relative paths outside of
withinblocks - @Fjan
- Ruby
Published by mattbrictson over 8 years ago
https://github.com/capistrano/sshkit - 1.15.0
New features
Potentially breaking changes
upload!anddownload!now support remote paths which are
relative to thewithinworking directory. They were previously documented
as only supporting absolute paths, but relative paths still worked relative
to the remote working directory. If you rely on the previous behaviour you
may need to adjust your code.
- Ruby
Published by mattbrictson over 8 years ago
https://github.com/capistrano/sshkit - 1.14.0
Breaking changes
- None
New features
- #401: Add :log_percent option to specify upload!/download! transfer log percentage - @aubergene
- Ruby
Published by mattbrictson over 8 years ago
https://github.com/capistrano/sshkit - 1.13.1
Breaking changes
- None
Bug fixes
- #397: Fix NoMethodError assign_defaults with net-ssh older than 4.0.0 - @shirosaki
- Ruby
Published by mattbrictson almost 9 years ago
https://github.com/capistrano/sshkit - 1.13.0
Breaking changes
- None
New features
- #372: Use cp_r in local backend with recursive option - @okuramasafumi
Bug fixes
- #390: Properly wrap Ruby StandardError w/ add'l context - @mattbrictson
- #392: Fix open two connections with changed cache key - @shirosaki
- Ruby
Published by mattbrictson almost 9 years ago
https://github.com/capistrano/sshkit - 1.12.0
Breaking changes
- None
New features
- Add
SSHKit.config.default_runner_configoption that allows overriding default runner configs.
- Ruby
Published by mattbrictson about 9 years ago
https://github.com/capistrano/sshkit - 1.11.5
Bug fixes
- Do not prefix
execcommand
PR #378 @dreyks
- Ruby
Published by mattbrictson about 9 years ago
https://github.com/capistrano/sshkit - 1.11.4
- Use string interpolation for environment variables to avoid escaping issues
with sprintf
PR #280
@Sinjo - Chris Sinjakli
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/sshkit - 1.11.3
- Fix known_hosts caching to match on the entire hostlist
PR #364 @byroot
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/sshkit - 1.11.2
Bug fixes
- Fixed a crash occurring when
Host@keyswas set to a non-Enumerable.
@xavierholt PR #360
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/sshkit - 1.11.1
Bug fixes
- Fixed a regression in 1.11.0 that would cause
ArgumentError: invalid option(s): known_hostsin some older versions of
net-ssh. @byroot #357
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/sshkit - 1.11.0
Bug fixes
- Fixed colorized output alignment in Logger::Pretty. @xavierholt
PR #349 - Fixed a bug that prevented nested
withcalls
#43
Other changes
- Known hosts lookup optimization is now enabled by default. @byroot
- Ruby
Published by mattbrictson over 9 years ago
https://github.com/capistrano/sshkit - 1.10.0
- You can now opt-in to caching of SSH's known_hosts file for a speed boost
when deploying to a large fleet of servers. Refer to the
README for
details. We plan to turn this on by default in a future version of SSHKit.
PR #330 @byroot - SSHKit now explicitly closes its pooled SSH connections when Ruby exits;
this fixeszlib(finalizer): the stream was freed prematurelywarnings
PR #343 @mattbrictson - Allow command map entries (
SSHKit::CommandMap#[]) to be Procs
PR #310
@mikz
- Ruby
Published by mattbrictson almost 10 years ago
https://github.com/capistrano/sshkit - 1.9.0
Refer to the 1.9.0.rc1 release notes for a full list of new features, fixes,
and potentially breaking changes since SSHKit 1.8.1. There are no changes
since 1.9.0.rc1.
- Ruby
Published by mattbrictson almost 10 years ago
https://github.com/capistrano/sshkit - 1.9.0.rc1
Potentially breaking changes
- The SSHKit DSL is no longer automatically included when you
requireit.
This means you must now explicitlyinclude SSHKit::DSL.
See PR #219 for details.
@beatrichartz SSHKit::Backend::Printer#testnow always returns true
PR #312 @mikz
New features
SSHKit::Formatter::Abstractnow accepts an optional Hash of options
PR #308 @mattbrictson- Add
SSHKit::Backend.currentso that Capistrano plugin authors can refactor
helper methods and still have easy access to the currently-executing Backend
without having to use global variables. - Add
SSHKit.config.default_runneroptions that allows to override default command runner.
This option also accepts a name of the custom runner class. - The ConnectionPool has been rewritten in this release to be more efficient
and have a cleaner internal API. You can still completely disable the pool
by settingSSHKit::Backend::Netssh.pool.idle_timeout = 0.
@mattbrictson @byroot PR #328
Bug fixes
- make sure working directory for commands is properly cleared after
withinblocks
PR #307
@steved - display more accurate string for commands with spaces being output in
Formatter::Pretty
PR #304
@steved
PR #319 @mattbrictson - Fix a race condition experienced in JRuby that could cause multi-server
deploys to fail. PR #322
@mattbrictson
- Ruby
Published by mattbrictson about 10 years ago
https://github.com/capistrano/sshkit -
- add SSHKit::Backend::ConnectionPool#close_connections
PR #285
@akm - Clean up rubocop lint warnings
PR #275
@cshaffer- Prepend unused parameter names with an underscore
- Prefer βsafe assignment in conditionβ
- Disambiguate regexp literals with parens
- Prefer
sprintfoverString#% - No longer shadow
caller_linevariable inDeprecationLogger - Rescue
StandardErrorinstead ofException - Remove useless
privateaccess modifier inTestAbstract - Disambiguate block operator with parens
- Disambiguate between grouped expression and method params
- Remove assertion in
TestHost#test_assert_hosts_compare_equalthat compares something with itself
- Export environment variables and execute command in a subshell.
PR #273
@kuon - Introduce
log_command_start,log_command_data,log_command_exitmethods onFormatter
PR #257
@robd- Deprecate
@stdoutand@stderraccessors onCommand
- Deprecate
- Add support for deprecation logging options.
README,
PR #258
@robd - Quote environment variable values.
PR #250
@Sinjo - Chris Sinjakli - Simplified formatter hierarchy.
PR #248
@robdSimpleTextformatter now extendsPretty, rather than duplicating.
- Hide ANSI color escape sequences when outputting to a file.
README,
Issue #245,
PR #246
@robd- Now only color the output if it is associated with a tty,
or theSSHKIT_COLORenvironment variable is set.
- Now only color the output if it is associated with a tty,
- Removed broken support for assigning an
IOto theoutputconfig option.
Issue #243,
PR #244
@robd- Use
SSHKit.config.output = SSHKit::Formatter::SimpleText.new($stdin)instead
- Use
- Added support for
:interaction_handleroption on commands.
PR #234,
PR #242
@robd - Removed partially supported
TRACElog level.
2aa7890
@robd - Add support for the
:stripoption to thecapturemethod and strip by default on theLocalbackend.
PR #239,
PR #249
@robd- The
Localbackend now strips by default to be consistent with theNetsshone. - This reverses change 7d15a9a to the
Localcapture API to remove stripping by default. - If you require the raw, unstripped output, pass the
strip: falseoption:capture(:ls, strip: false)
- The
- Simplified backend hierarchy.
PR #235,
PR #237
@robd- Moved duplicate implementations of
make,rake,test,capture,backgroundon toAbstractbackend. - Backend implementations now only need to implement
execute_command,upload!anddownload! - Removed
Printerfrom backend hierarchy forLocalandNetsshbackends (they now just extendAbstract) - Removed unused
Net::SSH:LogLevelShim
- Moved duplicate implementations of
- Removed dependency on the
colorizegem. SSHKit now implements its own ANSI color logic, with no external dependencies. Note that SSHKit now only supports the:boldor plain modes. Other modes will be gracefully ignored. #263 - New API for setting the formatter:
use_format. This differs fromformat=in that it accepts options or arguments that will be passed to the formatter's constructor. Theformat=syntax will be deprecated in a future release. #295 - SSHKit now immediately raises a
NameErrorif you try to set a formatter that does not exist. #295
- Ruby
Published by leehambley about 10 years ago
https://github.com/capistrano/sshkit - 1.7.1
- Fix a regression in 1.7.0 that caused command completion messages to be removed from log output. @mattbrictson
- Ruby
Published by mattbrictson over 10 years ago