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:
- A Pipeline is an ordered list of Policies than can process an HTTP request and response in a generic way.
- More details in the wiki page about Pipeline: https://github.com/Azure/msrest-for-python/wiki/msrest-0.6.0---Pipeline
- 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