Skip to content

Releases: jborean93/pypsrp

v1.0.0b1

27 May 01:07
15fc619
Compare
Choose a tag to compare
v1.0.0b1 Pre-release
Pre-release

1.0.0b1 - 2022-05-27

Breaking changes

  • There should be no breaking changes in this release as the pypsrp namespace will continue to work as it had.
  • The pypsrp namespace is going to be deprecated going forward and all work moving to the stuff in the psrp namespace.

Features

  • Added the psrp namespace which includes a sync and asyncio runspace pools and powershell pipelines
  • This also includes a new set of connection types such as:
    • psrp.NamedPipeInfo - asyncio only connection for named pipes such as the management pipe pwsh creates
    • psrp.ProcessInfo - connection to start a new pwsh pwsh process locally
    • psrp.SSHInfo - asyncio only SSH connection for remote pwsh communication
    • psrp.WinPSSSHInfo - asyncio only SSH connection for remote Windows PowerShell communication
    • psrp.WSManInfo - connection for WSMan based remote targets
  • Also includes a base connection type class for Out of Process connections to help building your own

v0.8.1

21 Feb 19:57
540bad3
Compare
Choose a tag to compare

0.8.1 - 2022-02-22

  • Bump requests-credssp minimum to new version to support newer encryption format and simpler dependencies

v0.8.0

31 Jan 23:08
d3603a3
Compare
Choose a tag to compare

0.8.0 - 2022-02-01

  • The CommandParameter class now uses named keyword arguments
  • The cmd parameter for Command class is now a positional argument
  • Ensure each ps.streams.error entry contains a MESSAGE_TYPE value just like the other stream objects
  • Use a default of None if a complex custom object has no ToString property defined.
  • Moved back to using setuptools instead of poetry as the build system
  • Added type annotations to most public classes and methods

v0.8.0rc1

18 Jan 22:08
be9fd0e
Compare
Choose a tag to compare
v0.8.0rc1 Pre-release
Pre-release
Prepare for 0.8.0rc1 release (#141)

v0.7.0

12 Dec 20:02
dfc285d
Compare
Choose a tag to compare

0.7.0 - 2021-12-13

Features

v0.6.1

19 Nov 01:30
39f8bfc
Compare
Choose a tag to compare

0.6.1 - 2021-11-19

  • Fix no_proxy to actually ignore environment proxy settings

v0.6.0

21 Oct 03:32
4f00fbd
Compare
Choose a tag to compare

0.6.0 - 2021-10-21

Breaking changes

  • Dropped support for Python 2.7 and Python 3.5
  • Added support for Python 3.10
  • Use poetry as the packaging and dependency management tool
  • Added pykrb5 as extra dependency for Kerberos auth on non-Windows due to a dependecy change on pyspnego

Features

  • Use File.Move when calling Client.copy() to optimistically speed up server side operations

0.5.0

13 Aug 03:10
3099c27
Compare
Choose a tag to compare

0.5.0 - 2020-08-13

Breaking changes

  • Dropped support for Python 2.6 and Python 3.4
  • Using Client.copy() and Client.fetch() doesn't expand variables in the local path by default.

Features

  • Support endpoints that only have Kerberos enabled and not just Negotiate.
  • Client.copy() and Client.fetch() methods have new expand_variables parameter. This can be used to expand variables both in local and remote path.
  • Changed authentication library for Kerberos and NTLM auth to pyspnego.
  • Added a context manager for pypsrp.client.Client and pypsrp.wsman.WSMan. This ensures any resources that the transport utilises will be closed if possible

Bugfixes

  • On Linux, use Kerberos if the auto auth provider is specified and no username or password is set. There is still no NTLM fallback but Kerberos is ideal in this scenario.
  • Use SHA256 when calculating the channel bindings token hash if an unknown algorithm is encountered.
  • Handle warning messages that are sent to the RunspacePool instead of raising an exception.

v0.5.0rc1

23 Jul 02:28
918c46b
Compare
Choose a tag to compare
Fix up publish path

Release v0.4.0

19 Sep 03:05
Compare
Choose a tag to compare
  • Fixed an issue when escaping string in PowerShell that start with _X.
  • Base relative paths off the PowerShell location and not the process location for file copy and fetch operations.
  • Fixed problem when using fetch() on PowerShell v2 hosts.
  • Changed Client.copy() to use PSRP instead of WinRS to better support non-admin scenarios.
  • Added explicit environment settings for Client.execute_cmd() and Client.execute_ps().
  • Added configuration_name kwargs on Client.execute_ps(), Client.copy(), and Client.fetch() to configure the configuration endpoint it connects to.
  • Fixed up message encryption with gss-ntlmssp on Linux