Skip to content

Commit d090cda

Browse files
committed
msrest 0.4.19
1 parent ca1b9ad commit d090cda

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

README.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,30 @@ To install:
2020
Release History
2121
---------------
2222

23+
2017-11-20 Version 0.4.19
24+
+++++++++++++++++++++++++
25+
26+
**Features**
27+
28+
- The interpretation of Swagger 2.0 "discriminator" is now lenient. This means for these two scenarios:
29+
30+
- Discriminator value is missing from the received payload
31+
- Discriminator value is not defined in the Swagger
32+
33+
Instead of failing with an exception, this now returns the base type for this "discriminator".
34+
35+
Note that this is not a contradiction of the Swagger 2.0 spec, that specifies
36+
"validation SHOULD fail [...] there may exist valid reasons in particular circumstances to ignore a particular item,
37+
but the full implications must be understood and carefully weighed before choosing a different course."
38+
39+
This cannot be configured for now and is the new default behvaior, but can be in the future if needed.
40+
41+
**Bugfixes**
42+
43+
- Optional formdata parameters were raising an exception (#65)
44+
- "application/x-www-form-urlencoded" form was sent using "multipart/form-data".
45+
This causes problems if the server does not support "multipart/form-data" (#66)
46+
2347
2017-10-26 Version 0.4.18
2448
+++++++++++++++++++++++++
2549

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
# built documents.
5959
#
6060
# The short X.Y version.
61-
version = '0.4.18'
61+
version = '0.4.19'
6262
# The full version, including alpha/beta/rc tags.
63-
release = '0.4.18'
63+
release = '0.4.19'
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.

msrest/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
# --------------------------------------------------------------------------
2626

2727

28-
msrest_version = "0.4.18"
28+
msrest_version = "0.4.19"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
setup(
3030
name='msrest',
31-
version='0.4.18',
31+
version='0.4.19',
3232
author='Microsoft Corporation',
3333
packages=['msrest'],
3434
url=("https://github.com/Azure/msrest-for-python"),

0 commit comments

Comments
 (0)