Skip to content

Releases: jborean93/pypsrp

v0.9.1

16 Mar 03:40
42a34ed

Choose a tag to compare

0.9.1 - 2026-03-16

  • Fix recursion issue when generating requests HTTP adapter on each new connection

What's Changed

  • Fix RecursionError caused by mutating shared pool_classes_by_scheme dict by @timtimno1 in #220
  • Prepare for v0.9.1 release by @jborean93 in #221

New Contributors

Full Changelog: v0.9.0...v0.9.1

v0.9.0

17 Feb 04:30
37b9e6d

Choose a tag to compare

What's Changed

0.9.0 - 2026-02-17

  • Raised minimum Python version to 3.10
  • Added retry handler for WSMan Receive operations that can attempt to recover from a network disconnect during a command operation
  • Added no_profile option to RunspacePool to skip loading the user profile on the remote shell
  • Added idle_timeout option to RunspacePool to control the idle timeout, in seconds, of the remote Runspace Pool
  • Made an __enter__ and __exit__ method for PowerShell to allow it to be used with a with PowerShell(runspace) as ps: syntax
    • On __exit__ the pipeline will be closed using the TERMINATE signal to clean up any resources on the server end
    • ps.close() can also be called manually to clean up any resources and to prep the pipeline to be run again
  • Added clear_streams() onto a PowerShell object to clear the output and streams values so it is ready for a subsequent run
  • Changed default service name used for Kerberos authentication from WSMAN to host to match the behaviour on Windows
    • WSMAN was used for CredSSP authentication only on the native Windows client while Negotiate/Kerberos auth used host
    • This should fix errors when authenticating with domain controllers which sometimes fail to register the WSMAN service for the host
  • Added is_alive(timeout=...) on RunspacePool to check if the Runspace Pool is still alive and ready for use on the server
  • Added certificate_key_password option to WSMan to support loaded client certificate keys that have been encrypted

Full Changelog: v0.8.1...v0.9.0

v0.9.0rc2

02 Feb 18:42
aefda00

Choose a tag to compare

v0.9.0rc2 Pre-release
Pre-release

What's Changed

Full Changelog: v0.9.0rc1...v0.9.0rc2

v0.9.0rc1

05 Dec 05:46
7ad66fe

Choose a tag to compare

v0.9.0rc1 Pre-release
Pre-release

What's Changed

  • Add retry for Receive operations by @jborean93 in #208
  • Add no_profile option for RunspacePool by @jborean93 in #209
  • Add support for multiple PowerShell invocations by @jborean93 in #210
  • Clean up imports and bump cryptography now backend is optional/deprecated by @jborean93 in #211

Full Changelog: v0.8.1...v0.9.0rc1

v1.0.0b1

27 May 01:07
15fc619

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

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

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

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

Choose a tag to compare

0.7.0 - 2021-12-13

Features

v0.6.1

19 Nov 01:30
39f8bfc

Choose a tag to compare

0.6.1 - 2021-11-19

  • Fix no_proxy to actually ignore environment proxy settings