Releases: jborean93/pypsrp
Releases · jborean93/pypsrp
v0.9.1
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
- @timtimno1 made their first contribution in #220
Full Changelog: v0.9.0...v0.9.1
v0.9.0
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
- Use host SPN service by @jborean93 in #214
- Add RunspacePool.is_alive() function by @jborean93 in #215
- Add certificate_key_password option by @jborean93 in #216
0.9.0 - 2026-02-17
- Raised minimum Python version to 3.10
- Added retry handler for WSMan
Receiveoperations that can attempt to recover from a network disconnect during a command operation - Added
no_profileoption toRunspacePoolto skip loading the user profile on the remote shell - Added
idle_timeoutoption toRunspacePoolto control the idle timeout, in seconds, of the remote Runspace Pool - Made an
__enter__and__exit__method forPowerShellto allow it to be used with awith PowerShell(runspace) as ps:syntax- On
__exit__the pipeline will be closed using theTERMINATEsignal 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
- On
- Added
clear_streams()onto aPowerShellobject to clear the output andstreamsvalues so it is ready for a subsequent run - Changed default service name used for Kerberos authentication from
WSMANtohostto match the behaviour on WindowsWSMANwas used for CredSSP authentication only on the native Windows client whileNegotiate/Kerberosauth usedhost- This should fix errors when authenticating with domain controllers which sometimes fail to register the
WSMANservice for the host
- Added
is_alive(timeout=...)onRunspacePoolto check if the Runspace Pool is still alive and ready for use on the server - Added
certificate_key_passwordoption toWSManto support loaded client certificate keys that have been encrypted
Full Changelog: v0.8.1...v0.9.0
v0.9.0rc2
What's Changed
- Change default Negotiate service to HTTP by @jborean93 in #213
- Use HOST SPN service by @jborean93 in #214
- Add RunspacePool.is_alive() function by @jborean93 in #215
- Add certificate_key_password option by @jborean93 in #216
- Use lowercase host instead of HOST for SPN by @jborean93 in #217
Full Changelog: v0.9.0rc1...v0.9.0rc2
v0.9.0rc1
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
1.0.0b1 - 2022-05-27
Breaking changes
- There should be no breaking changes in this release as the
pypsrpnamespace will continue to work as it had. - The
pypsrpnamespace is going to be deprecated going forward and all work moving to the stuff in thepsrpnamespace.
Features
- Added the
psrpnamespace 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 createspsrp.ProcessInfo- connection to start a new pwsh pwsh process locallypsrp.SSHInfo- asyncio only SSH connection for remote pwsh communicationpsrp.WinPSSSHInfo- asyncio only SSH connection for remote Windows PowerShell communicationpsrp.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
v0.8.0
0.8.0 - 2022-02-01
- The
CommandParameterclass now uses named keyword arguments - The
cmdparameter forCommandclass is now a positional argument - Ensure each
ps.streams.errorentry contains aMESSAGE_TYPEvalue just like the other stream objects - Use a default of
Noneif a complex custom object has noToStringproperty defined. - Moved back to using
setuptoolsinstead ofpoetryas the build system - Added type annotations to most public classes and methods
v0.8.0rc1
v0.7.0
0.7.0 - 2021-12-13
Features
- Add
pypsrp.serializer.TaggedValuewhich allows the marking of a value with a tag that controls which serialization routine to apply.- This only applys to primitive objects, like
U32asSystem.UInt32,SSasSystem.Security.SecureString, etc - For a full list of primitive tags see https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-psrp/c8c85974-ffd7-4455-84a8-e49016c20683
- This only applys to primitive objects, like