Skip to content

Releases: diyan/pywinrm

v0.5.0

16 Jul 19:33
bf01aac
Compare
Choose a tag to compare

What's Changed

Version 0.5.0

  • Dropped Python 2.7, 3.6, and 3.7 support, minimum supported version is 3.8
  • Migrate to PEP 517 compliant build with a pyproject.toml file
  • Added type annotation
  • Added WSManFaultError which contains WSManFault specific information when receiving a 500 WSMan fault response
    • This contains pre-parsed values like the code, subcode, wsman fault code, wmi error code, and raw response
    • It can be used by the caller to implement fallback behaviour based on specific error codes
  • Added public API protocol.build_wsman_header that can create the standard WSMan header used by the protocol
    • This can be used to craft custom WSMan messages that are not supported in the existing actions
  • Added public API protocol.get_command_output_raw
    • This can be used to send a single WSMan receive request and get the output
    • Unlike protocol.get_command_output, it will not loop until the command is done and will not catch a timeout exception

Full Changelog: v0.4.3...v0.5.0

v0.4.3 - Python 3.11 Compatibility

14 Apr 04:23
de7ac17
Compare
Choose a tag to compare
  • Fix invalid regex escape sequences.
  • Decoding CLIXML failures for run_ps will create a UserWarning rather than printing the warning.
  • Remove usage of deprecated Python API to support Python 3.11

v0.4.2 - Python 3.10 compatibility

07 Jul 01:18
b935aca
Compare
Choose a tag to compare
  • removed deprecated distutils usage to avoid Deprecation Warnings under Python 3.10

v0.4.1 - HOTFIX: Fixing an issue with import kerberos

04 Nov 18:04
667703f
Compare
Choose a tag to compare
  • HOT FIX: Fixing an issue with requests_kerbose not imported correctly from the changes in 0.4.0.

v0.4.0

03 Nov 03:59
50f31ac
Compare
Choose a tag to compare
  • Ensure server_cert_validation=ignore supersedes ca_trust_path/env overrides
  • Added deprecated warnings if CA trusts defined by environment variables are used.
  • Set minimum version of requests-credssp to support Kerberos auth over CredSSP and other changes
  • Added proxy support where it can be defined within the application, with the ability to specify the proxy within the application
  • Fix for shell not setting all environment variables.
  • Fix session clixml encoding on Python 3
  • Protocol.close_shell(shell_id) will now close the session(and TCP connections) to the Windows machine. close_session option has been added in case of leaving the session alone.
  • Add a function to send input to a running process.

v0.4.0beta1

21 Oct 00:06
4d1f215
Compare
Choose a tag to compare
v0.4.0beta1 Pre-release
Pre-release

v0.3.0

20 Dec 19:28
Compare
Choose a tag to compare
  • Added support for message encryption over HTTP when using NTLM/Kerberos/CredSSP
  • Added parameter to disable TLSv1.2 when using CredSSP for Server 2008 support
  • Error detail from SOAP fault (if present) is now included with HTTP 500 errors
  • Fixed CA path override (incl envvar)
  • Fixed Kerberos service override
  • Try harder to suppress urllib3 InsecureRequestWarnings on various OSs
  • Fixed timeout values to parse correctly if passed as strings
  • Various updates to CI/tests

v0.2.2

21 Dec 00:18
Compare
Choose a tag to compare

Version 0.2.2

  • Added support for CredSSP authenication (via requests-credssp)
  • Improved README, see 'Valid transport options' section
  • Run unit tests on Linux / Travis CI on Python 2.6-2.7, 3.3-3.6, PyPy2
  • Run integration tests on Windows / AppVeyor on Python 2.7, 3.3-3.5
  • Drop support for Python 3.0-3.2 due to lack of explicit unicode literal, see pep-0414
  • Drop support for Python 2.6 on Windows
  • Add support for Python 3.6-dev on Linux

v0.1.1

01 Nov 11:47
Compare
Choose a tag to compare

Changelog

Version 0.1.1

  • Force basic auth header to avoid additional HTTP request and reduce latency
  • Python 2.7.9+. Allow server cert validation to be ignored using SSLContext.verify_mode
  • Tests. Enable Python 3.4, 3.5 on Travis CI

v0.0.3

01 Nov 11:48
Compare
Choose a tag to compare

Changelog

Version 0.0.3

  • Use xmltodict instead of not supported xmlwitch
  • Add certificate authentication support
  • Setup PyPI classifiers
  • Fix. Include UUID when sending request
  • Fix. Python 2.6.6/CentOS. Use tuples instead of lists in setup.py
  • Fix. Python 2.6. String formatting
  • Handle unauthorized response and raise UnauthorizeError
  • Convert different forms of short urls into full well-formed endpoint
  • Add Session.run_ps() helper to execute PowerShell scripts