Releases: ParallelSSH/parallel-ssh
Releases · ParallelSSH/parallel-ssh
Release 1.2.1-2
Post release for packaging fixes. No code changes.
Release 1.2.1-1
Post release for CI fixes. No code changes.
Release 1.2.1
Fixes
- PyPy builds
Packaging Changes
- Updated version of embedded OpenSSL in binary wheels
Release 1.2.0
This release introduces new single host and parallel clients based on ssh2-python
, using the libssh2
C library.
They offer significantly enhanced performance and reduced overhead in CPU and memory usage compared to the current default clients.
See read-me for a quick how to use. API is mostly identical for the two parallel clients, see API documentation for details.
No backwards incompatible changes have been made.
Feed back and bug reports on the new clients are most welcome.
Changes
- New
ssh2-python
(libssh2
) based clients - Added
retry_delay
keyword parameter to parallel clients - Added
get_last_output
function for retrieving output of last executed commands - Added
cmds
attribute to parallel clients for last executed commands
Fixes
- Remote path for SFTP operations was created incorrectly on Windows - #88 - thanks @moscoquera
- Parallel client key error when openssh config with a host name override was used - #93
- Clean up after paramiko clients on client object having been garbage collected
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
<2
due to paramiko API regressions
Changes
- Documentation and documentation string updates
1.0.1
Release 1.0.1
Changes
- Added
consume_output
keyword parameter toParallelSSHClient.join
- #74 - Host output representation
- PEP8 compatibility
Fixes
timeout
parameter passed onto proxy host to be used for remote hosts connected via proxy - #76NullHandler
enabled 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.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