Releases: ParallelSSH/parallel-ssh
Releases · ParallelSSH/parallel-ssh
1.0.0
1.0.0 Release
Changes from 1.0.0 RC1
No changes.
Changes from 0.9x
series API
ParallelSSHClient.join
no longer consumes output buffers- Command output is now a dictionary of host name -> host output object with
stdout
and 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_command
andget_output
pssh.output.HostOutput
class added to hold host output- Added
copy_remote_file
function for copying remote files to local ones in parallel - Deprecated since
0.70.0
ParallelSSHClient
API 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_pty
parameter of run_command SSHClient
read_output_buffer
is now public function and has gained callback capability- If using the single
SSHClient
directly,read_output_buffer
should now be used to read output buffers - this is not needed forParallelSSHClient
run_command
now uses named positional and keyword arguments
1.0.0 Beta 4
Changes
- Made output encoding configurable via keyword argument on
run_command
andget_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
stdout
and 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_command
now uses named positional and keyword arguments
1.0.0 beta 2
1.0.0 Beta release 2
Changes
ParallelSSHClient.join
no longer consumes output buffers- Documented
use_pty
parameter ofrun_command
- Misc documentation updates
SSHClient
read_output_buffer
is now public function and has gained callback capability- If using the single
SSHClient
directly,read_output_buffer
should 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.
1.0.0 Beta 1
1.0.0 Beta release 1
Beta releases until 1.0.0
API is finalised.
Changes
- Added
copy_remote_file
function for copying remote files to local ones in parallel - Deprecated since
0.70.0
ParallelSSHClient
API 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
0.94.0
0.93.0
0.92.2
0.92.1
0.92.0
This release contains a regression - do not use. 0.92.1
or later should be used instead
Changes:
- ParallelSSHClient.join no longer consumes stdout/stderr - only waits for command completion
- A ParallelSSHClient.finished function has been added for non-blocking check if commands have finished
- OpenSSH config reading also uses port and key configuration - #55
stdin
buffer has been added to output - see documentation for usage example- Helper function for reading an OpenSSH compatible config added to
pssh.utils