Releases: capistrano/sshkit
Releases · capistrano/sshkit
v1.8.0
- 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
1.7.1
- Fix a regression in 1.7.0 that caused command completion messages to be removed from log output. @mattbrictson