File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,26 @@ To install:
2020 Release History
2121---------------
2222
23+ 2018-04-18 Version 0.4.28
24+ +++++++++++++++++++++++++
25+
26+ **Features **
27+
28+ - msrest is now able to keep the "requests.Session" alive for performance. To activate this behavior:
29+
30+ - Use the final Client as a context manager (requires generation with Autorest.Python 3.0.50 at least)
31+ - Use `client.config.keep_alive = True ` and `client.close() ` (requires generation with Autorest.Python 3.0.50 at least)
32+ - Use `client.config.keep_alive = True ` and client._client.close() (not recommended, but available in old releases of SDK)
33+
34+ - All Authentication classes now define `signed_session ` and `refresh_session ` with an optional `session ` parameter.
35+ To take benefits of the session improvement, a subclass of Authentication *MUST * add this optional parameter
36+ and use it if it's not `None `:
37+
38+ def signed_session(self, session=None):
39+ session = session or requests.Session()
40+
41+ # As usual from here.
42+
23432018-03-07 Version 0.4.27
2444+++++++++++++++++++++++++
2545
Original file line number Diff line number Diff line change 6262# built documents.
6363#
6464# The short X.Y version.
65- version = '0.4.27 '
65+ version = '0.4.28 '
6666# The full version, including alpha/beta/rc tags.
67- release = '0.4.27 '
67+ release = '0.4.28 '
6868
6969# The language for content autogenerated by Sphinx. Refer to documentation
7070# for a list of supported languages.
Original file line number Diff line number Diff line change 2525# --------------------------------------------------------------------------
2626
2727#: version of this package. Use msrest.__version__ instead
28- msrest_version = "0.4.27 "
28+ msrest_version = "0.4.28 "
Original file line number Diff line number Diff line change 2828
2929setup (
3030 name = 'msrest' ,
31- version = '0.4.27 ' ,
31+ version = '0.4.28 ' ,
3232 author = 'Microsoft Corporation' ,
3333 packages = find_packages (exclude = ["tests" , "tests.*" ]),
3434 url = ("https://github.com/Azure/msrest-for-python" ),
You can’t perform that action at this time.
0 commit comments