Releases: ParallelSSH/parallel-ssh
Releases · ParallelSSH/parallel-ssh
1.2.0b1
Release 1.1.1
Changes
- Accept Paramiko version 2 but <
2.2(it's buggy).
Release 1.1.0
Changes
- Allow passing on of additional keyword argument to underlying SSH library via
run_command- #85
Release 1.0.2
Fixes
- Ensure that paramiko version is
<2due to paramiko API regressions
Changes
- Documentation and documentation string updates
1.0.1
Release 1.0.1
Changes
- Added
consume_outputkeyword parameter toParallelSSHClient.join- #74 - Host output representation
- PEP8 compatibility
Fixes
timeoutparameter passed onto proxy host to be used for remote hosts connected via proxy - #76NullHandlerenabled by default on all loggers used to avoidno handlers can be found for <..>messages
1.0.0 RC1
1.0.0 Release Candidate 1
Changes from last 1.0.0 beta
No changes.
Changes from 0.9x series API
ParallelSSHClient.joinno longer consumes output buffers- Command output is now a dictionary of host name -> host output object with
stdoutand et al attributes. Host output supports dictionary-like item lookup for backwards compatibility. No code changes are needed to output use though documentation will from now on refer to the new attribute style output. Dictionary-like item access is deprecated and will be removed in future major release, like2.x. - Made output encoding configurable via keyword argument on
run_commandandget_output pssh.output.HostOutputclass added to hold host output- Added
copy_remote_filefunction for copying remote files to local ones in parallel - Deprecated since
0.70.0ParallelSSHClientAPI endpoints removed - Removed setuptools >= 28.0.0 dependency for better compatibility with existing installations. Pip version dependency remains for Py 2.6 compatibility with gevent - documented on project's readme
- Documented
use_ptyparameter of run_command SSHClientread_output_bufferis now public function and has gained callback capability- If using the single
SSHClientdirectly,read_output_buffershould now be used to read output buffers - this is not needed forParallelSSHClient run_commandnow uses named positional and keyword arguments
1.0.0
1.0.0 Release
Changes from 1.0.0 RC1
No changes.
Changes from 0.9x series API
ParallelSSHClient.joinno longer consumes output buffers- Command output is now a dictionary of host name -> host output object with
stdoutand et al attributes. Host output supports dictionary-like item lookup for backwards compatibility. No code changes are needed to output use though documentation will from now on refer to the new attribute style output. Dictionary-like item access is deprecated and will be removed in future major release, like2.x. - Made output encoding configurable via keyword argument on
run_commandandget_output pssh.output.HostOutputclass added to hold host output- Added
copy_remote_filefunction for copying remote files to local ones in parallel - Deprecated since
0.70.0ParallelSSHClientAPI endpoints removed - Removed setuptools >= 28.0.0 dependency for better compatibility with existing installations. Pip version dependency remains for Py 2.6 compatibility with gevent - documented on project's readme
- Documented
use_ptyparameter of run_command SSHClientread_output_bufferis now public function and has gained callback capability- If using the single
SSHClientdirectly,read_output_buffershould now be used to read output buffers - this is not needed forParallelSSHClient run_commandnow uses named positional and keyword arguments
1.0.0 Beta 4
Changes
- Made output encoding configurable via keyword argument on
run_commandandget_output - Refactoring for py2/3 compatibility for all of code, tests and embedded server without use of
2to3
1.0.0 beta 3
Release 1.0.0 Beta 3
Changes
- Command output is now a dictionary of host name -> host output object with
stdoutand so on attributes. Host output supports dictionary-like item lookup for backwards compatibility. No code changes are needed to output use though documentation will from now on refer to the new attribute style output. Dictionary-like item access is deprecated and will be removed in future major release, like2.x run_commandnow uses named positional and keyword arguments
1.0.0 beta 2
1.0.0 Beta release 2
Changes
ParallelSSHClient.joinno longer consumes output buffers- Documented
use_ptyparameter ofrun_command - Misc documentation updates
SSHClientread_output_bufferis now public function and has gained callback capability- If using the single
SSHClientdirectly,read_output_buffershould now be used to read output buffers - this is not needed forParallelSSHClient
ParallelSSHClient.join change means that the following two code sections are now equivalent
output = client.run_command(<..>)
stdout = list(output[host]['stdout']
exit_code = output[host]['exit_code']
output = client.run_command(<..>)
client.join(output)
exit_code = output[host]['exit_code']
stdout = list(output[host]['stdout']
stdout in the second section will contain standard output. Previously it would be empty if client.join was called before stdout iteration. Exit codes will be available in both cases, as previously.