Releases: Azure/msrest-for-python
Releases · Azure/msrest-for-python
v0.4.16
v0.4.15
2017-09-28 Version 0.4.15
Bugfixes
- Always log response body (#16)
- Improved exception message if error JSON is Odata v4 (#55)
- Refuse "str" as a valid "[str]" type (#41)
- Better exception handling if input from server is not JSON valid
Features
- Add Configuration.session_configuration_callback to customize the requests.Session if necessary (#52)
- Add a flag to Serializer to disable client-side-validation (#51)
- Remove "import requests" from "exceptions.py" for apps that require fast loading time (#23)
Thank you to jayden-at-arista for his contribution
v0.4.14
v0.4.13
v0.4.12
2017-08-21 Version 0.4.12
Features
-
Input is now more lenient
-
Model have a "validate" method to check content constraints
-
Model have now 4 new methods:
- "serialize" that gives the RestAPI that will be sent
- "as_dict" that returns a dict version of the Model. Callbacks are available.
- "deserialize" the parses the RestAPI JSON into a Model
- "from_dict" that parses several dict syntax into a Model. Callbacks are available.
More details and examples in the Wiki article on Github:
https://github.com/Azure/msrest-for-python/wiki/msrest-0.4.12---Serialization-change
Bugfixes
- Better Enum checking (#38)
v0.4.11
v0.4.10
v0.4.9
v0.4.8
v0.4.7
2017-04-04 Version 0.4.7
BugFixes
-
Refactor paging #22:
- "next" is renamed "advance_page" and "next" returns only 1 element (Python 2 expected behavior)
- paging objects are now real generator and support the "next()" built-in function without need for "iter()"
-
Raise accurate DeserialisationError on incorrect RestAPI discriminator usage #27
-
Fix discriminator usage of the base class name #27
-
Remove default mutable arguments in Clients #20
-
Fix object comparison in some scenarios #24