Skip to content

Releases: ParallelSSH/parallel-ssh

1.0.0

24 Feb 17:43
Compare
Choose a tag to compare

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, 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

1.0.0 Beta 4

21 Feb 18:08
Compare
Choose a tag to compare
1.0.0 Beta 4 Pre-release
Pre-release

Changes

  • Made output encoding configurable via keyword argument on run_command and get_output
  • Refactoring for py2/3 compatibility for all of code, tests and embedded server without use of 2to3

1.0.0 beta 3

01 Feb 18:07
Compare
Choose a tag to compare
1.0.0 beta 3 Pre-release
Pre-release

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, like 2.x
  • run_command now uses named positional and keyword arguments

1.0.0 beta 2

11 Jan 17:53
Compare
Choose a tag to compare
1.0.0 beta 2 Pre-release
Pre-release

1.0.0 Beta release 2

Changes

  • ParallelSSHClient.join no longer consumes output buffers
  • Documented use_pty parameter of run_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 for ParallelSSHClient

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

10 Jan 10:53
Compare
Choose a tag to compare
1.0.0 Beta 1 Pre-release
Pre-release

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

24 Dec 00:28
Compare
Choose a tag to compare

Changes

  • Per-host command arguments can now be provided to run_command - #43
  • Misc cleanups

0.93.0

19 Nov 14:47
Compare
Choose a tag to compare

Changes:

  • copy_file now re-raises exceptions on errors from SFTP - #65

Fixes:

  • Updated gevent version requirements for compatibility with py2

0.92.2

16 Sep 09:31
Compare
Choose a tag to compare

Changes:

  • Fix bug when creating multiple remote directories with copy_file - #64
  • Proxy authentication can now be configured separately from host authentication - #18

0.92.1

31 Aug 10:40
Compare
Choose a tag to compare

Bug fix release.

  • Fix regression with missing OpenSSH config - #63

0.92.0

26 Aug 16:21
Compare
Choose a tag to compare
0.92.0 Pre-release
Pre-release

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