Skip to content

Releases: ParallelSSH/parallel-ssh

Release 1.2.1-2

02 Jan 11:16
Compare
Choose a tag to compare

Post release for packaging fixes. No code changes.

Release 1.2.1-1

28 Dec 11:10
Compare
Choose a tag to compare

Post release for CI fixes. No code changes.

Release 1.2.1

27 Dec 14:25
Compare
Choose a tag to compare

Fixes

  • PyPy builds

Packaging Changes

  • Updated version of embedded OpenSSL in binary wheels

Release 1.2.0

14 Oct 14:41
Compare
Choose a tag to compare

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

12 Oct 22:50
Compare
Choose a tag to compare
Clean up after paramiko client objects as they do not close correctly…

Release 1.1.1

31 Aug 00:17
Compare
Choose a tag to compare

Changes

  • Accept Paramiko version 2 but < 2.2 (it's buggy).

Release 1.1.0

15 Jul 14:09
Compare
Choose a tag to compare

Changes

  • Allow passing on of additional keyword argument to underlying SSH library via run_command - #85

Release 1.0.2

13 Jun 10:11
Compare
Choose a tag to compare

Fixes

  • Ensure that paramiko version is <2 due to paramiko API regressions

Changes

  • Documentation and documentation string updates

1.0.1

28 Mar 17:01
Compare
Choose a tag to compare

Release 1.0.1

Changes

  • Added consume_output keyword parameter to ParallelSSHClient.join - #74
  • Host output representation
  • PEP8 compatibility

Fixes

  • timeout parameter passed onto proxy host to be used for remote hosts connected via proxy - #76
  • NullHandler enabled by default on all loggers used to avoid no handlers can be found for <..> messages

1.0.0 RC1

23 Feb 12:08
Compare
Choose a tag to compare

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, like 2.x.
  • Made output encoding configurable via keyword argument on run_command and get_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 for ParallelSSHClient
  • run_command now uses named positional and keyword arguments