Skip to content

Releases: Azure/msrest-for-python

v0.4.16

05 Oct 16:58
Compare
Choose a tag to compare
v0.4.16 Pre-release
Pre-release

2017-10-05 Version 0.4.16

Bugfixes

  • Fix regression: accept "set" as a valid "[str]" (#60)

v0.4.15

02 Oct 16:55
Compare
Choose a tag to compare
v0.4.15 Pre-release
Pre-release

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

23 Aug 16:17
Compare
Choose a tag to compare
v0.4.14 Pre-release
Pre-release

2017-08-23 Version 0.4.14

Bugfixes

  • Fix regression introduced in msrest 0.4.12 - dict syntax with enum modeled as string and enum used

v0.4.13

22 Aug 16:28
Compare
Choose a tag to compare
v0.4.13 Pre-release
Pre-release

2017-08-22 Version 0.4.13

Bugfixes

  • Fix regression introduced in msrest 0.4.12 - dict syntax using isodate.Duration (#42)

v0.4.12

21 Aug 18:00
Compare
Choose a tag to compare
v0.4.12 Pre-release
Pre-release

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

21 Jun 19:19
Compare
Choose a tag to compare
v0.4.11 Pre-release
Pre-release

2017-06-21 Version 0.4.11

Bugfixes

  • Fix dependency to "requests" to 2.x (was 2.14.x by mistake since 0.4.8)

v0.4.10

15 Jun 23:48
Compare
Choose a tag to compare
v0.4.10 Pre-release
Pre-release

2017-06-15 Version 0.4.10
+++++++++++++++++++++++++

Features

  • Add requests hooks to configuration

v0.4.9

08 Jun 22:12
Compare
Choose a tag to compare
v0.4.9 Pre-release
Pre-release

2017-06-08 Version 0.4.9

Bugfixes

  • Accept "null" value for paging array as an empty list and do not raise (#30)

v0.4.8

23 May 00:01
Compare
Choose a tag to compare
v0.4.8 Pre-release
Pre-release

2017-05-22 Version 0.4.8

Bugfixes

  • Fix random "pool is closed" error (#29)
  • Fix requests dependency to version 2.x, since version 3.x is annunced to be breaking.

v0.4.7

04 Apr 18:37
Compare
Choose a tag to compare
v0.4.7 Pre-release
Pre-release

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