Skip to content

v0.6.0

Pre-release
Pre-release

Choose a tag to compare

@lmazuel lmazuel released this 08 Oct 20:55
· 91 commits to master since this release
262bc4e

2018-10-08 Version 0.6.0

Features

  • The environment variable AZURE_HTTP_USER_AGENT, if present, is now injected part of the UserAgent
  • New preview msrest.universal_http module. Provide tools to generic HTTP management (sync/async, requests/aiohttp, etc.)
  • New preview msrest.pipeline implementation:
  • Adding new attributes to Configuration instance:
    • http_logger_policy - Policy to handle HTTP logging
    • user_agent_policy - Policy to handle UserAgent
    • pipeline - The current pipeline used by the SDK client
    • async_pipeline - The current async pipeline used by the async SDK client
  • Installing "msrest[async]" now installs the experimental async support

Breaking changes

  • The HTTPDriver API introduced in 0.5.0 has been replaced by the Pipeline implementation.
  • The following classes have been moved from "msrest.pipeline" to "msrest.universal_http":
    • ClientRedirectPolicy
    • ClientProxies
    • ClientConnection
  • The following classes have been moved from "msrest.pipeline" to "msrest.universal_http.requests":
    • ClientRetryPolicy

Bugfixes

  • Fix "long" on Python 2 if used with the "object" type #121

Thanks to robgolding for his contribution