@autorest/python 6.1.6 → 6.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ChangeLog.md DELETED
@@ -1,1299 +0,0 @@
1
- # Release History
2
-
3
- ### 2022-09-15 - 6.1.6
4
-
5
- | Library | Min Version |
6
- | ----------------------------------------------------------------------- | ----------- |
7
- | `@autorest/core` | `3.8.4` |
8
- | `@autorest/modelerfour` | `4.23.5` |
9
- | `azure-core` dep of generated code | `1.24.0` |
10
- | `isodate` dep of generated code | `0.6.1` |
11
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
12
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.2` |
13
-
14
- **Bug Fixes**
15
-
16
- - Fix `--clear-output-folder` when `--black=true` #1410
17
-
18
- ### 2022-09-06 - 6.1.5
19
-
20
- | Library | Min Version |
21
- | ----------------------------------------------------------------------- | ----------- |
22
- | `@autorest/core` | `3.8.4` |
23
- | `@autorest/modelerfour` | `4.23.5` |
24
- | `azure-core` dep of generated code | `1.24.0` |
25
- | `isodate` dep of generated code | `0.6.1` |
26
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
27
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.2` |
28
-
29
- **Bug Fixes**
30
-
31
- - Fix `api_version` error when there are multi different `api-version`(not multiapi) #1429
32
- - Fix generator raising `KeyError` in corner case when generating an LRO-paging operation #1425
33
-
34
- **Other Changes**
35
-
36
- - Default `304` errors to throw `azure.core.exception.ResourceNotFoundError`s #1415
37
-
38
- ### 2022-08-31 - 6.1.4
39
-
40
- | Library | Min Version |
41
- | ----------------------------------------------------------------------- | ----------- |
42
- | `@autorest/core` | `3.8.4` |
43
- | `@autorest/modelerfour` | `4.23.5` |
44
- | `azure-core` dep of generated code | `1.24.0` |
45
- | `isodate` dep of generated code | `0.6.1` |
46
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
47
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.2` |
48
-
49
- **Bug Fixes**
50
-
51
- - Fix generation failure for `format: password` #1404
52
- - Fix `content_type` error when paging with body #1407
53
- - Fix excessive warning level logging in vendored `failsafe_deserialize` #1419
54
-
55
- **Other Changes**
56
-
57
- - Upgrade min dependency for `azure-mgmt-core` to `1.3.2` #1404
58
-
59
- ### 2022-08-22 - 6.1.3
60
-
61
- | Library | Min Version |
62
- | ----------------------------------------------------------------------- | ----------- |
63
- | `@autorest/core` | `3.8.4` |
64
- | `@autorest/modelerfour` | `4.23.5` |
65
- | `azure-core` dep of generated code | `1.24.0` |
66
- | `isodate` dep of generated code | `0.6.1` |
67
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
68
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.2` |
69
-
70
- **Bug Fixes**
71
-
72
- - Fix circular recursion for lropaging #1400
73
-
74
- ### 2022-08-16 - 6.1.2
75
-
76
- | Library | Min Version |
77
- | ----------------------------------------------------------------------- | ----------- |
78
- | `@autorest/core` | `3.8.1` |
79
- | `@autorest/modelerfour` | `4.23.5` |
80
- | `azure-core` dep of generated code | `1.24.0` |
81
- | `isodate` dep of generated code | `0.6.1` |
82
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
83
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
84
-
85
- **Bug Fixes**
86
-
87
- - Correctly document polymorphic page responses #1389
88
- - Add `__version__` to `__init__.py` for multiapi #1393
89
-
90
- ### 2022-07-20 - 6.1.1
91
-
92
- | Library | Min Version |
93
- | ----------------------------------------------------------------------- | ----------- |
94
- | `@autorest/core` | `3.8.1` |
95
- | `@autorest/modelerfour` | `4.23.5` |
96
- | `azure-core` dep of generated code | `1.24.0` |
97
- | `isodate` dep of generated code | `0.6.1` |
98
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
99
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
100
-
101
- **Other Changes**
102
-
103
- - Get skeleton for cadl generation released #1358
104
-
105
- ### 2022-07-20 - 6.1.0
106
-
107
- | Library | Min Version |
108
- | ----------------------------------------------------------------------- | ----------- |
109
- | `@autorest/core` | `3.8.1` |
110
- | `@autorest/modelerfour` | `4.23.5` |
111
- | `azure-core` dep of generated code | `1.24.0` |
112
- | `isodate` dep of generated code | `0.6.1` |
113
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
114
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
115
-
116
- **New Features**
117
-
118
- - Add new plugin `MultiClient` and new flag `--multiclientscript` to handle package structure of multi client #1328
119
-
120
- **Bug Fixes**
121
-
122
- - Fallback unrecognized type as string to avoid a fatal error. #1341
123
- - Fix regression in default namespace for SDKs generated without `--namespace` flag #1354
124
-
125
- **Other Changes**
126
-
127
- - Generated code no longer supports Python 3.6 #1353
128
- - Order json input and response template entries by whether they are required or not #1335
129
- - Reduce extreme amount of `black` logs when running in `--debug` mode to just log errors
130
-
131
- ### 2022-06-29 - 6.0.1
132
-
133
- | Library | Min Version |
134
- | ----------------------------------------------------------------------- | ----------- |
135
- | `@autorest/core` | `3.8.1` |
136
- | `@autorest/modelerfour` | `4.23.5` |
137
- | `azure-core` dep of generated code | `1.24.0` |
138
- | `isodate` dep of generated code | `0.6.1` |
139
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
140
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
141
-
142
- **Bug Fixes**
143
-
144
- - Ignore linting error for clients with no credentials #1333
145
-
146
- ### 2022-06-24 - 6.0.0
147
-
148
- | Library | Min Version |
149
- | ----------------------------------------------------------------------- | ----------- |
150
- | `@autorest/core` | `3.8.1` |
151
- | `@autorest/modelerfour` | `4.23.5` |
152
- | `azure-core` dep of generated code | `1.24.0` |
153
- | `isodate` dep of generated code | `0.6.1` |
154
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
155
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
156
-
157
- **Breaking Changes**
158
-
159
- - Don't generate paging variables `maxpagesize` for DPG generations. Users should pass in `maxpagesize` to the `by_page` method of their
160
- pager #1320
161
-
162
- ### 2022-06-17 - 6.0.0-rc.1
163
-
164
- | Library | Min Version |
165
- | ----------------------------------------------------------------------- | ----------- |
166
- | `@autorest/core` | `3.8.1` |
167
- | `@autorest/modelerfour` | `4.23.5` |
168
- | `azure-core` dep of generated code | `1.24.0` |
169
- | `isodate` dep of generated code | `0.6.1` |
170
- | `msrest` dep of generated code (If generating legacy code) | `0.7.1` |
171
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
172
-
173
- **Breaking Changes**
174
-
175
- - Default to generating DPG SDKs with `--version-tolerant` now defaulting to `true`. For a list of flag default changes, please
176
- see [here](https://github.com/Azure/autorest.python/issues/1186) #1304
177
- - Only generate Python3 SDKs #1297
178
- - Don't reformat initial query parameters into the next link. However, we do append `api-version` parameters if they are not present in the next link #1297 #1309
179
- - Don't generate operations with more than two body types. SDK authors need to implement this operation themselves #1300
180
-
181
- **New Features**
182
-
183
- - Automatically format generated code with `black`. To not format, pass in `--black=false` #1304
184
-
185
- **Other**
186
-
187
- - Remove testing support for `--low-level-client` SDKs #1303
188
-
189
- ### 2022-06-13 - 5.19.0
190
-
191
- | Library | Min Version |
192
- | ----------------------------------------------------------------------- | ----------- |
193
- | `@autorest/core` | `3.8.1` |
194
- | `@autorest/modelerfour` | `4.23.5` |
195
- | `azure-core` dep of generated code | `1.24.0` |
196
- | `msrest` dep of generated code | `0.7.0` |
197
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
198
-
199
- **New Features**
200
-
201
- - Add _serialization.py for `--client-side-validation=false` generation, and migrate serilization from msrest to _serialization.py #1236
202
-
203
- ### 2022-06-09 - 5.18.0
204
-
205
- | Library | Min Version |
206
- | ----------------------------------------------------------------------- | ----------- |
207
- | `@autorest/core` | `3.8.1` |
208
- | `@autorest/modelerfour` | `4.23.5` |
209
- | `azure-core` dep of generated code | `1.24.0` |
210
- | `msrest` dep of generated code | `0.7.0` |
211
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
212
-
213
- **Breaking Changes in Version Tolerant**
214
-
215
- - No longer allow users to specify `api_version` on the method level #1281
216
- - Make `content_type` param required with no default if streaming with no `application/octet-stream` #1288
217
-
218
- **Bug Fixes**
219
-
220
- - Fix duplicate params in signature with `--payload-flattening-threshold` #1289
221
- - Fix overloaded request builder signatures #1289
222
- - Improve docstring templates, specifically for polymorphic bodies #1279
223
-
224
-
225
- ### 2022-06-02 - 5.17.0
226
-
227
- | Library | Min Version |
228
- | ----------------------------------------------------------------------- | ----------- |
229
- | `@autorest/core` | `3.8.1` |
230
- | `@autorest/modelerfour` | `4.23.5` |
231
- | `azure-core` dep of generated code | `1.23.0` |
232
- | `msrest` dep of generated code | `0.6.21` |
233
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
234
-
235
- **New Features**
236
-
237
- - Hide `api_version` in doc string for singleapi SDK even if contains multi api versions #1239
238
- - Add overloads for operations with different body types. We now sniff bodies and assign content type based off of body type. #1230
239
- - Add flag `--postprocess`. Run this after doing customizations for full mypy support
240
-
241
- **Breaking Changes in Version Tolerant**
242
-
243
- - Have stream responses directly return an iterator of bytes, so you don't need to call `.iter_bytes()` on the response object. #1254
244
- - If generating with `--models-mode=msrest` in version tolerant, we hide paging models #1259
245
-
246
- **Breaking Changes in Request Builders**
247
-
248
- - Request builders for LRO operations have the `_initial` suffix removed from their name #1241
249
- - Request builders from groups with reserved words will now be padded with the word "Operations" instead of "Builders" #1243
250
-
251
- **Bug Fixes**
252
-
253
- - Make sure `any-object` schemas from swagger are typed with `MutableMapping`s #1243
254
- - Make typing for parameters `Optional` only if `None` is a valid input, not only if it is specified as `optional` in swagger #1244
255
- - Fix for render failure of `README.md` when `--package-mode==dataplane` #1247
256
- - Fix typing for stream responses to iterators of bytes. #1254
257
- - Additional linting support #1265
258
- - Fix Sphinx documentation for raised exception #1264
259
- - Use `api_version` in `_config` as default value for operation function #1268
260
-
261
- **Other Changes**
262
-
263
- - Update template files for `--package-mode` # 1248
264
-
265
- ### 2022-04-18 - 5.16.0
266
-
267
- | Library | Min Version |
268
- | ----------------------------------------------------------------------- | ----------- |
269
- | `@autorest/core` | `3.6.2` |
270
- | `@autorest/modelerfour` | `4.19.1` |
271
- | `azure-core` dep of generated code | `1.23.0` |
272
- | `msrest` dep of generated code | `0.6.21` |
273
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
274
-
275
- **Breaking Changes in Version Tolerant Generation**
276
-
277
- - We no longer generate operations for operations with multipart or urlencoded bodies. SDK writers must implement these operations in their customized patch file. See https://aka.ms/azsdk/python/dpcodegen/python/customize for how to customize generated code #1223
278
-
279
- **Bug Fixes**
280
-
281
- - Drop package dependency on "@azure-tools/extension", switch to "@autorest/system-requirements" #1229
282
- - Fix `content_type` generation in multiapi SDKs with multiple content types for bodies #1232
283
-
284
- ### 2022-04-07 - 5.15.0
285
-
286
- | Library | Min Version |
287
- | ----------------------------------------------------------------------- | ----------- |
288
- | `@autorest/core` | `3.6.2` |
289
- | `@autorest/modelerfour` | `4.19.1` |
290
- | `azure-core` dep of generated code | `1.23.0` |
291
- | `msrest` dep of generated code | `0.6.21` |
292
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
293
-
294
- **New Features**
295
-
296
- - Add support for security configurations in the swagger. For more information, see https://github.com/Azure/autorest/blob/main/docs/generate/authentication.md #1161
297
- - Add support for handwritten customizations of generated code. For more information, see https://aka.ms/azsdk/python/dpcodegen/python/customize #1153
298
- - Allow `header` and `params` as kwargs in operation and request-build function to hand over REST Header and Query parameters case insensitively #1183
299
- - Typing operation parameters as JSON, Primitives or Any for `--version-tolerant` #1210
300
-
301
- **Bug Fixes**
302
-
303
- - Make `--version-tolerant` generated code mypy compatible in the `azure-sdk-for-python` repo. Tested only with the `--black` flag #1185
304
- - Remove unnecessary vendored code in the `_vendor` file if the SDK has no operations #1196
305
- - Fix the generation of the root `__init__` files for packages with only models #1195
306
- - Add pylint and mypy support for `--version-tolerant` generations with `--models-mode=msrest` #1202
307
-
308
- **Breaking Changes in Version Tolerant Generation**
309
-
310
- - Change client filenames to `_client.py` #1206
311
- - Change the models filename from `_models_py3.py` to `_models.py` #1204
312
- - Change the enums filename to `_enums.py` #1204
313
-
314
- ### 2022-03-08 - 5.14.0
315
-
316
- | Library | Min Version |
317
- | ----------------------------------------------------------------------- | ----------- |
318
- | `@autorest/core` | `3.6.2` |
319
- | `@autorest/modelerfour` | `4.19.1` |
320
- | `azure-core` dep of generated code | `1.20.1` |
321
- | `msrest` dep of generated code | `0.6.21` |
322
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
323
-
324
- **New Features**
325
-
326
- - Add flag `--package-mode=mgmtplane|dataplane|<custom package template folder>` to generate necessary files for package #1154
327
-
328
- **Bug Fixes**
329
-
330
- - Improve operation group documentation to prevent users from initializing operation groups themselves #1179
331
-
332
- ### 2022-03-03 - 5.13.0
333
-
334
- | Library | Min Version |
335
- | ----------------------------------------------------------------------- | ----------- |
336
- | `@autorest/core` | `3.6.2` |
337
- | `@autorest/modelerfour` | `4.19.1` |
338
- | `azure-core` dep of generated code | `1.20.1` |
339
- | `msrest` dep of generated code | `0.6.21` |
340
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
341
-
342
- **Breaking Changes in Version Tolerant Generation**
343
-
344
- - We now generate with optional constant parameters as None by defaulting `--default-optional-constants-to-none` to True #1171
345
- - Version tolerant paging does not reformat initial query parameters into the next link #1168
346
-
347
- **New Features**
348
-
349
- - Add flag `--default-optional-constants-to-none` with which optional constant parameters is default to None #1171
350
- - Add flag `--reformat-next-link`, determines whether we reformat initial query parameters into the next link. Defaults to `True` for the GA generator, forced to `False` for `--version-tolerant`.
351
-
352
- **Bug Fixes**
353
-
354
- - Add default value consistently for parameters #1164
355
- - Make `content_type` param keyword-only if there are multiple content types #1167
356
-
357
- **Other Changes**
358
-
359
- - Drop testing support for 2.7 packages #1175
360
-
361
- ### 2022-02-09 - 5.12.6
362
-
363
- | Library | Min Version |
364
- | ----------------------------------------------------------------------- | ----------- |
365
- | `@autorest/core` | `3.6.2` |
366
- | `@autorest/modelerfour` | `4.19.1` |
367
- | `azure-core` dep of generated code | `1.20.1` |
368
- | `msrest` dep of generated code | `0.6.21` |
369
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
370
-
371
- **Bug Fixes**
372
-
373
- - Remove unused `metadata` value for paging and long running operations with `version-tolerant` generations #1131
374
- - Remove name conflicts with parameters called `url`, `header_parameters`, and `query_parameters` #1143
375
- - Make `--version-tolerant` generated code pylint compatible in the `azure-sdk-for-python` repo when generated with the `--black` flag #1147, #1144, #1130
376
-
377
- ### 2022-01-26 - 5.12.5
378
-
379
- | Library | Min Version |
380
- | ----------------------------------------------------------------------- | ----------- |
381
- | `@autorest/core` | `3.6.2` |
382
- | `@autorest/modelerfour` | `4.19.1` |
383
- | `azure-core` dep of generated code | `1.20.1` |
384
- | `msrest` dep of generated code | `0.6.21` |
385
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
386
-
387
- **Bug Fixes**
388
-
389
- - Fix usage of `--black` flag outside of repo #1126
390
- - Remove unused `metadata` value for `version-tolerant` generations #1127
391
-
392
- ### 2022-01-14 - 5.12.4
393
-
394
- | Library | Min Version |
395
- | ----------------------------------------------------------------------- | ----------- |
396
- | `@autorest/core` | `3.6.2` |
397
- | `@autorest/modelerfour` | `4.19.1` |
398
- | `azure-core` dep of generated code | `1.20.1` |
399
- | `msrest` dep of generated code | `0.6.21` |
400
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
401
-
402
- **Bug Fixes**
403
-
404
- - Remove duplicate generation of properties in classes that inherit from multiple classes #1120
405
-
406
- ### 2022-01-13 - 5.12.3
407
-
408
- | Library | Min Version |
409
- | ----------------------------------------------------------------------- | ----------- |
410
- | `@autorest/core` | `3.6.2` |
411
- | `@autorest/modelerfour` | `4.19.1` |
412
- | `azure-core` dep of generated code | `1.20.1` |
413
- | `msrest` dep of generated code | `0.6.21` |
414
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
415
-
416
- **Bug Fixes**
417
-
418
- - Unify multiapi constant behavior with single API version #1119
419
- - Clean up docstrings by removing descriptions for client constants on methods and request builders #1119
420
-
421
- ### 2022-01-11 - 5.12.2
422
-
423
- | Library | Min Version |
424
- | ----------------------------------------------------------------------- | ----------- |
425
- | `@autorest/core` | `3.6.2` |
426
- | `@autorest/modelerfour` | `4.19.1` |
427
- | `azure-core` dep of generated code | `1.20.1` |
428
- | `msrest` dep of generated code | `0.6.21` |
429
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
430
-
431
- **Bug Fixes**
432
-
433
- - Fix installation of autorest python package #1118
434
-
435
- ### 2022-01-10 - 5.12.1
436
-
437
- | Library | Min Version |
438
- | ----------------------------------------------------------------------- | ----------- |
439
- | `@autorest/core` | `3.6.2` |
440
- | `@autorest/modelerfour` | `4.19.1` |
441
- | `azure-core` dep of generated code | `1.20.1` |
442
- | `msrest` dep of generated code | `0.6.21` |
443
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
444
-
445
- **Bug Fixes**
446
-
447
- - Fix support for json merge patch #1117
448
-
449
- ### 2021-12-06 - 5.12.0
450
-
451
- | Library | Min Version |
452
- | ----------------------------------------------------------------------- | ----------- |
453
- | `@autorest/core` | `3.6.2` |
454
- | `@autorest/modelerfour` | `4.19.1` |
455
- | `azure-core` dep of generated code | `1.20.1` |
456
- | `msrest` dep of generated code | `0.6.21` |
457
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
458
-
459
- **Breaking Changes in Version Tolerant Generation**
460
-
461
- - Remove metadata property for version tolerant and low level client generations #1090
462
- - Generate SDKs with `--python3-only` defaulting to `True` for version tolerant and low level client #1087
463
-
464
- **New Features**
465
-
466
- - Generate a `_patch.py` file if one does not exist. These files are used to customize the generated code #1092
467
-
468
- **Bug Fixes**
469
-
470
- - Can now handle body params with names `json`, `content`, `data`, and `files` #1081
471
- - Improve generated templates for `data` and `files` input body params by adding quotes around the keys #1082
472
- - Using flag `--python3-only` will get you typed sync client and config files #1085
473
- - Pin `mistune` dependency to less than `2.x.x` so autorest can be successfully installed #1106
474
-
475
- ### 2021-11-05 - 5.11.2
476
-
477
- | Library | Min Version |
478
- | ----------------------------------------------------------------------- | ----------- |
479
- | `@autorest/core` | `3.6.2` |
480
- | `@autorest/modelerfour` | `4.19.1` |
481
- | `azure-core` dep of generated code | `1.20.0` |
482
- | `msrest` dep of generated code | `0.6.21` |
483
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
484
-
485
- **Bug Fixes**
486
-
487
- - Respect no client side validation for low level client generations #1080
488
-
489
- ### 2021-11-05 - 5.11.1
490
-
491
- | Library | Min Version |
492
- | ----------------------------------------------------------------------- | ----------- |
493
- | `@autorest/core` | `3.6.2` |
494
- | `@autorest/modelerfour` | `4.19.1` |
495
- | `azure-core` dep of generated code | `1.20.0` |
496
- | `msrest` dep of generated code | `0.6.21` |
497
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
498
-
499
- **Bug Fixes**
500
-
501
- - Hide mixin operations for version tolerant generation #1071
502
-
503
- ### 2021-11-04 - 5.11.0
504
-
505
- | Library | Min Version |
506
- | ----------------------------------------------------------------------- | ----------- |
507
- | `@autorest/core` | `3.6.2` |
508
- | `@autorest/modelerfour` | `4.19.1` |
509
- | `azure-core` dep of generated code | `1.20.0` |
510
- | `msrest` dep of generated code | `0.6.21` |
511
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
512
-
513
- **New Features**
514
-
515
- - Add `_patch.py` support for `aio` folder #1070
516
-
517
- **Bug Fixes**
518
-
519
- - Fix documentation for HEAD calls that perform boolean checks on returned status codes in version tolerant code #1072
520
- - Fix body grouping by content types for binary bodies #1076
521
- - Fix default content type determination #1078
522
-
523
- ### 2021-11-01 - 5.10.0
524
-
525
- | Library | Min Version |
526
- | ----------------------------------------------------------------------- | ----------- |
527
- | `@autorest/core` | `3.6.2` |
528
- | `@autorest/modelerfour` | `4.19.1` |
529
- | `azure-core` dep of generated code | `1.19.1` |
530
- | `msrest` dep of generated code | `0.6.21` |
531
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
532
-
533
- **New Features**
534
-
535
- - Allow users to override constant swagger params with kwarg input #1060
536
-
537
- ### 2021-10-15 - 5.9.3
538
-
539
- | Library | Min Version |
540
- | ----------------------------------------------------------------------- | ----------- |
541
- | `@autorest/core` | `3.6.2` |
542
- | `@autorest/modelerfour` | `4.19.1` |
543
- | `azure-core` dep of generated code | `1.19.0` |
544
- | `msrest` dep of generated code | `0.6.21` |
545
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
546
-
547
- **Bug Fixes**
548
-
549
- - Fix generation of form-data inputs #1061
550
-
551
- ### 2021-10-05 - 5.9.2
552
-
553
- | Library | Min Version |
554
- | ----------------------------------------------------------------------- | ----------- |
555
- | `@autorest/core` | `3.6.2` |
556
- | `@autorest/modelerfour` | `4.19.1` |
557
- | `azure-core` dep of generated code | `1.19.0` |
558
- | `msrest` dep of generated code | `0.6.21` |
559
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
560
-
561
- **New Features**
562
-
563
- - Updating generated code for `azure-core` release `1.19.0`.
564
-
565
- ### 2021-09-27 - 5.9.1
566
-
567
- | Library | Min Version |
568
- | ----------------------------------------------------------------------- | ----------- |
569
- | `@autorest/core` | `3.6.2` |
570
- | `@autorest/modelerfour` | `4.19.1` |
571
- | `azure-core` dep of generated code | `1.18.0` |
572
- | `msrest` dep of generated code | `0.6.21` |
573
- | `azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` |
574
-
575
- **New Features**
576
-
577
- - We have added a **provisional** `rest` layer to our generated code. We have also added the following **provisional** flags listed [here](https://github.com/Azure/autorest.python/wiki/Generating-Low-Level-Client#generate-a-low-level-client). #875
578
- - With this new release, we are also dropping support for Python 3.5 + async. #875
579
- - For mgmt plan SDK, default policy changes from `BearerTokenCredentialPolicy` to `ARMChallengeAuthenticationPolicy`.
580
- - We now add tracing by default, the flag `--trace` now defaults to `True` if you have operations.
581
- - Added flag `--python3-only` for users looking to generate SDKs that only support Python 3 #1044
582
-
583
- **Bug Fixes**
584
-
585
- - Correctly pad operation groups with reserved names with `Operations` #1005
586
- - Fix the generated docstrings for input kwargs of models #1026
587
- - Pass pipeline context to `msrest` in `failsafe_deserialize` so `msrest` has access to the context #1030
588
-
589
- ### 2021-09-27 - 5.9.0
590
-
591
- YANKED
592
-
593
- ### 2021-07-13 - 5.8.4
594
-
595
- min Autorest core version: 3.4.5
596
-
597
- min Modelerfour version: 4.19.1
598
-
599
- **Bug Fixes**
600
-
601
- - Fix case where we have a grouped parameter whose name is a reserved property name #970
602
- - Remove all hosts from global parameters, regardless of how many m4 sends us #972
603
-
604
- ### 2021-07-06 - 5.8.3
605
-
606
- min Autorest core version: 3.3.0
607
-
608
- min Modelerfour version: 4.19.1
609
-
610
- **Bug Fixes**
611
-
612
- - Fix LRO path parameterization when we have a constant path parameter #968
613
-
614
- ### 2021-06-22 - 5.8.2
615
-
616
- min Autorest core version: 3.3.0
617
-
618
- min Modelerfour version: 4.19.1
619
-
620
- **Bug Fixes**
621
-
622
- - We are now more lenient with our checks for the content type parameter #956
623
-
624
- ### 2021-06-16 - 5.8.1
625
-
626
- min Autorest core version: 3.3.0
627
-
628
- min Modelerfour version: 4.19.1
629
-
630
- **Bug Fixes**
631
-
632
- - Fix optional properties with constant schemas. Now, properties that have constant schemas but are optional will not have the hardcoded constant value,
633
- but will default to its `x-ms-client-default` or `None` #952
634
-
635
- ### 2021-05-17 - 5.8.0
636
-
637
- min Autorest core version: 3.3.0
638
-
639
- min Modelerfour version: 4.19.1
640
-
641
- **New Features**
642
-
643
- - Add support for parameters and properties that can be of type "Anything". #946
644
-
645
- ### 2021-04-20 - 5.7.0
646
-
647
- min Autorest core version: 3.1.0
648
-
649
- min Modelerfour version: 4.15.456
650
-
651
- **Bug Fixes**
652
-
653
- - Fix data plane LRO operations so they poll by default. Bumping minor version because this bug fix will change some default behavior. #936
654
-
655
- ### 2021-04-07 - 5.6.6
656
-
657
- min Autorest core version: 3.1.0
658
-
659
- min Modelerfour version: 4.15.456
660
-
661
- **Bug Fixes**
662
-
663
- - Fix docstrings so they don't get split on hyphens #931
664
-
665
- ### 2021-04-07 - 5.6.5
666
-
667
- min Autorest core version: 3.1.0
668
-
669
- min Modelerfour version: 4.15.456
670
-
671
- **Bug Fixes**
672
-
673
- - Fix regression in multiapi generation for multiapi versions without mixin operations #928
674
-
675
- ### 2021-03-01 - 5.6.4
676
-
677
- min Autorest core version: 3.1.0
678
-
679
- min Modelerfour version: 4.15.456
680
-
681
- **Bug Fixes**
682
-
683
- - Bump `Autorest core` minimum version to be able to deal with indented `python` blocks in config files
684
-
685
- ### 2021-02-10 - 5.6.3
686
-
687
- min Autorest core version: 3.0.6372
688
-
689
- min Modelerfour version: 4.15.456
690
-
691
- **Bug Fixes**
692
-
693
- - Bump `Autorest core` minimum version to [correctly deal with](https://github.com/Azure/autorest/pull/3860) overriding configs. Fixes submodule-specific code in our multiapi client #880
694
-
695
- ### 2021-02-04 - 5.6.2
696
-
697
- Autorest core version: 3.0.6318
698
-
699
- Modelerfour version: 4.15.456
700
-
701
- **Bug Fixes**
702
-
703
- - Bump `Modelerfour` minimum version to [correctly deal with](https://github.com/Azure/autorest.modelerfour/pull/385) parameters specified as `'required': false` in swagger #877
704
-
705
- ### 2021-01-27 - 5.6.1
706
-
707
- Autorest core version: 3.0.6318
708
-
709
- Modelerfour version: 4.15.442
710
-
711
- **Bug Fixes**
712
-
713
- - Instead of throwing a `DeserializationError` in the case of failed error model deserialization, we swallow the error and return the `HttpResponseError` to users.
714
- WARNING: You need to make sure your `msrest` version is `0.6.21` or above, or a lot of your calls will fail with an `AttributeError` message #870
715
-
716
- ### 2021-01-15 - 5.6.0
717
-
718
- Autorest core version: 3.0.6318
719
-
720
- Modelerfour version: 4.15.442
721
-
722
- **New Features**
723
-
724
- - Add support for [`black`](https://pypi.org/project/black/) formatting of your generated files. Pass flag `--black` when generating to get this behavior. #836
725
-
726
- **Bug Fixes**
727
-
728
- - Wrap individual enum descriptions #844
729
- - Bump `Modelerfour` minimum version to `4.15.442` to fix [circular reference error](https://github.com/Azure/autorest/issues/3630). Special thanks to @amrElroumy for this PR. #866
730
-
731
- ### 2020-11-12 - 5.5.0
732
-
733
- Autorest core version: 3.0.6318
734
-
735
- Modelerfour version: 4.15.421
736
-
737
- **New Features**
738
-
739
- - Can now take in custom pollers and pagers through directives. This will override the defaults (`LROPoller` and `ItemPaged`, respectively). See [this readme](https://github.com/Azure/autorest.python/tree/autorestv3/test/azure/specification/custompollerpager) for the directive to use to override. #821
740
-
741
- ### 2020-11-11 - 5.4.3
742
-
743
- Autorest core version: 3.0.6320
744
-
745
- Modelerfour version: 4.15.421
746
-
747
- **Bug Fixes**
748
-
749
- - Correctly choose schema from response with 200 status code in the case of LRO operations with multiple responses #814
750
- - Fix conflict for model deserialization when operation has input param with name `models` #819
751
-
752
- ### 2020-11-09 - 5.4.2
753
-
754
- Autorest core version: 3.0.6320
755
-
756
- Modelerfour version: 4.15.421
757
-
758
- **Bug Fixes**
759
-
760
- - Set discriminator value in cases where discriminator is readonly #815
761
-
762
- ### 2020-11-03 - 5.4.1
763
-
764
- Autorest core version: 3.0.6318
765
-
766
- Modelerfour version: 4.15.421
767
-
768
- **Bug Fixes**
769
-
770
- - Honor default value for properties if `x-ms-client-default` value is passed #798
771
- - Can now generate services with no operations #801
772
-
773
- ### 2020-10-19 - 5.4.0
774
-
775
- Autorest core version: 3.0.6318
776
-
777
- Modelerfour version: 4.15.421
778
-
779
- **New Features**
780
-
781
- - Add support for `--python.debugger`. With this flag, you can start debugging using VS Code. Make sure to still set up your [debugging configuration](https://github.com/Azure/autorest.python/wiki/Autorest-v3-based-generator-cheatsheet#vscode-debug) #790
782
-
783
- **Bug Fixes**
784
-
785
- - Correctly handling inheritance of class properties for inheritance chains > 3 levels #795
786
-
787
- ### 2020-10-06 - 5.3.5
788
-
789
- Autorest core version: 3.0.6318
790
-
791
- Modelerfour version: 4.15.421
792
-
793
- **Bug Fixes**
794
-
795
- - Can now correctly poll in the case of parameterized endpoints with relative polling urls #784
796
-
797
- ### 2020-09-24 - 5.3.4
798
-
799
- Autorest core version: 3.0.6318
800
-
801
- Modelerfour version: 4.15.421
802
-
803
- **Bug Fixes**
804
-
805
- - Include `content_type` docstrings for LRO and paging operations in the case of multiple media types #778
806
- - Return response body if its content type is `text/plain` (taken from m4 update - m4 PR #353)
807
-
808
- ### 2020-09-17 - 5.3.3
809
-
810
- Autorest core version: 3.0.6318
811
-
812
- Modelerfour version: 4.15.419
813
-
814
- **Bug fixes**
815
-
816
- - Fix trailing comma issues in metadata.json (unblocks resource multiapi generation) #777
817
-
818
- ### 2020-09-14 - 5.3.2
819
-
820
- Autorest core version: 3.0.6318
821
-
822
- Modelerfour version: 4.15.419
823
-
824
- **Bug fixes**
825
-
826
- - Allow client side validation to be turned off for multiapi mixin operations #775
827
-
828
- ### 2020-09-14 - 5.3.1
829
-
830
- Autorest core version: 3.0.6318
831
-
832
- Modelerfour version: 4.15.419
833
-
834
- **Bug fixes**
835
-
836
- - Min autorest core is now 3.0.6318 to ensure client-side-validation is disabled by default (per track2 guidelines) #772
837
-
838
- ### 2020-09-11 - 5.3.0
839
-
840
- Autorest Core version: 3.0.6306
841
-
842
- Modelerfour version: 4.15.419
843
-
844
- GA of autorest V5!
845
-
846
- **Breaking Changes**
847
-
848
- - Raise `ValueError` instead of `NotImplementedError` if API version code doesn't exist #764
849
-
850
- ### 2020-08-31 - 5.2.0-preview.1
851
-
852
- Autorest Core version: 3.0.6306
853
-
854
- Modelerfour version: 4.15.410
855
-
856
- **Breaking Changes**
857
-
858
- - Removed the `_async` suffix from async files #759
859
-
860
- **New Features**
861
-
862
- - Add mapping of 401 to `ClientAuthenticationError` for default error map #763
863
- - Updated minimum `azure-core` version to 1.8.0 #747
864
- - Updated minimum `msrest` version to 0.6.18 #747
865
- - Support for `multipart/form-data` #746
866
-
867
- **Bug fixes**
868
-
869
- - Fix "multi" in Swagger (will generate correctly multiple query param now)
870
-
871
- ### 2020-08-07 - 5.1.0-preview.7
872
-
873
- Autorest Core version: 3.0.6302
874
- Modelerfour version: 4.15.400
875
-
876
- **New Features**
877
-
878
- - Add `azure-mgmt-core` as a dependency in the generated setup.py file #738
879
- - Correct typing for `credential` when default credential policy type is `AzureKeyCredentialPolicy` #744
880
- - Replace instead of extending `credential_scopes` if user has inputted their own #745
881
-
882
- ### 2020-08-04 - 5.1.0-preview.6
883
-
884
- Autorest Core version: 3.0.6287
885
- Modelerfour version: 4.15.378
886
-
887
- **New Features**
888
-
889
- - Add support for `x-ms-text` XML extension #722
890
- - Allow users to pass the name of the key header for `AzureKeyCredentialPolicy` during generation. To use, pass in
891
- `AzureKeyCredentialPolicy` with the `--credential-default-policy-type` flag, and pass in the key header name using
892
- the `--credential-key-header-name` flag #736
893
-
894
- **Bug Fixes**
895
-
896
- - Fix duplicate type signatures in multiapi async config file #727
897
- - Allowing single quote in regexp #726
898
-
899
- ### 2020-06-23 - 5.1.0-preview.5
900
-
901
- Autorest Core version: 3.0.6287
902
- Modelerfour version: 4.15.378
903
-
904
- **Bug Fixes**
905
-
906
- - Correctly have default behavior of csv for array query parameters when collection format is not specified in the swagger
907
- (taken from m4 update - perks PR #118)
908
- - Fix bug when generating parameters with client default value and constant schema #707
909
- - Make operation mixin signatures for multiapi default to default api version #715
910
- - Fix name in setup.py to default to `package-name` if set #721
911
- - Allow different custom base url host templates across API versions #719
912
-
913
- ### 2020-07-07 - 5.1.0-preview.4
914
-
915
- Modelerfour version: 4.15.378
916
-
917
- **New Features**
918
-
919
- - Enum values are uppercase (with an alias from the lowercase version) #692
920
- - Add `http_logging_policy` setting for config, and users can override the default by passing in the kwarg `http_logging_policy` #698
921
-
922
- ### 2020-06-24 - 5.1.0-preview.3
923
-
924
- Modelerfour version: 4.13.351
925
-
926
- **New Features**
927
-
928
- - Supports a function that is both LRO and paging #689
929
- - We have added a `--credential-default-policy-type` flag. Its default value is `BearerTokenCredentialPolicy`, but it can also accept
930
- `AzureKeyCredentialPolicy`. The value passed in will be the default authentication policy in the client's config, so users using the
931
- generated library will use that auth policy unless they pass in a separate one through kwargs #686
932
- - Added support for a data plane multiapi client #693
933
-
934
- **Bug Fixes**
935
-
936
- - Fix typing for discriminator values in models, so Python 3.5 can import py3 file for models #691
937
-
938
- **Bug Fixes**
939
-
940
- - Make enum names all upper case. This fixes issues that arise if the name of an enum is also a method that can be applied to, say, a string.
941
- For example, if an enum's name is count. Made sure this fix will not break users currently accessing with lower case enum names #692
942
-
943
- ### 2020-06-08 - 5.1.0-preview.2
944
-
945
- Modelerfour version: 4.13.351
946
-
947
- **Bug Fixes**
948
-
949
- - Fixed "Failed to install or start extension" issue arising when invoking autorest from a tar file, by correcctly calling Python 3. #678
950
- - Generating correct formatting for LRO and paging operation docstrings #652
951
- - Generating correct content and formatting for LRO and paging operations in multiapi mixin #652
952
-
953
- ### 2020-06-03 - 5.1.0-preview.1
954
-
955
- Modelerfour version: 4.13.351
956
-
957
- **Disclaimer**
958
-
959
- This version requires azure-core 1.6.0 and contains features and bugfixes 5.0.0-preview.8
960
-
961
- **Features**
962
-
963
- - Refactor async LRO poller with a AsyncLROPoller class + "begin\_" prefix
964
- - Add continuation_token kwargs to LRO methods
965
-
966
- **Bug Fixes**
967
-
968
- - Corrected generation of the item name of paging response when extracting data #648
969
- - Corrected return type typing annotation for operations that return an optional body #656
970
- - Fixed mypy issue by only setting the generated `deserialized` variable to None if the operation has an optional return type #656
971
- - Fixed generation of pkgutil init files #661
972
- - Have the next operation in a paging call use the HTTP verb GET if the next operation is not defined #664
973
-
974
- ### 2020-05-22 - 5.0.0-preview.8
975
-
976
- Modelerfour version: 4.13.351
977
-
978
- **Bug Fixes**
979
-
980
- - Corrected ordering of summary and description in generated methods #640
981
- - Have `IOSchema` call super init to get all of the properties shared in `BaseType` #642
982
-
983
- ### 2020-05-15 - 5.0.0-preview.7
984
-
985
- Modelerfour version: 4.13.351
986
-
987
- **Bug Fixes**
988
-
989
- - Adding `self` as a reserved key word for parameters to avoid "duplicate argument 'self' in function definition" error #630
990
- - Removed `self` as a reserved key word for method and model names #630
991
-
992
- ### 2020-05-13 - 5.0.0-preview.6
993
-
994
- Modelerfour version: 4.13.351
995
-
996
- **Bug Fixes**
997
-
998
- - No longer assuming that response with body from an LRO call is an ObjectSchema #623
999
- - Checking whether "protocol" entry exists in yaml in name converter to remove erroneous "KeyError: 'protocol'" #628
1000
-
1001
- ### 2020-05-08 - 5.0.0-preview.5
1002
-
1003
- Modelerfour version: 4.13.351
1004
-
1005
- **Bug Fixes**
1006
-
1007
- - Users can pass in content types with ';' inside (such as 'text/plain; encoding=UTF-8') #619
1008
- - Allowing parameters to be of type `IO` as well #618
1009
- - Can now generate without FATAL: bad indentation error (taken from m4 update - perks PR #105)
1010
-
1011
- ### 2020-05-06 - 5.0.0-preview.4
1012
-
1013
- Modelerfour version: 4.13.346
1014
-
1015
- **New Features**
1016
-
1017
- - Displaying the default and possible values for content type in the docstring for operations with multiple requests #615
1018
-
1019
- **Bug Fixes**
1020
-
1021
- - Fixing `AsyncTokenCredential` typing import and adding to service client #591
1022
- - Can now pass `content_type` and `error_map` kwargs to LRO functions without error #597
1023
- - Now making sure to include the content type of exceptions when passing content types to 'Accept' header #602
1024
- - `include_apis` in `Metrics` for tables swagger now cased correctly #603
1025
- - Corrected spacing after `if cls:` block in operations #606
1026
-
1027
- ### 2020-04-23 - 5.0.0-preview.3
1028
-
1029
- Modelerfour version: 4.12.301
1030
-
1031
- **Bug Fixes**
1032
-
1033
- - Fixed sync lro method naming in MultiAPI operation mixins #572
1034
-
1035
- ### 2020-04-22 - 5.0.0-preview.2
1036
-
1037
- Modelerfour version: 4.12.301
1038
-
1039
- **New Features**
1040
-
1041
- - User can now pass in credential scopes through kwargs #575
1042
- - Default error map always contains a mapping of 404 to `ResourceNotFoundError` and 409 to `ResourceExistsError` #580
1043
-
1044
- **Bug Fixes**
1045
-
1046
- - Not generating async multiapi client if `--no-async` flag is specified #586
1047
- - Fixes query parameter handling in paging operations #172
1048
- - Fixes losing 404/409 default is user pass a user_map #580
1049
-
1050
- ### 2020-04-16 - 5.0.0-preview.1
1051
-
1052
- Modelerfour version: 4.12.301
1053
-
1054
- **Breaking Changes**
1055
-
1056
- - If the user would like to add a patch file, they now must name the file `_patch.py` #573
1057
-
1058
- **New features**
1059
-
1060
- - Support non-ARM polling by default (azure-core 1.4.0)
1061
- - Adding multiple inheritance #567
1062
- - Accept polling_interval keyword passed to LRO operations #571
1063
-
1064
- **Bug Fixes**
1065
-
1066
- - Fixed some generated typing hints (such as LROPoller) #507
1067
-
1068
- ### 2020-04-09 - 5.0.0-dev.20200409.1
1069
-
1070
- Modelerfour version: 4.12.301
1071
-
1072
- **Bug Fixes**
1073
-
1074
- - Separating out typing imports in TYPE_CHECKING block #538
1075
- - Overriding a property inherited from a parent if they both have the same name #563
1076
-
1077
- **New Features**
1078
-
1079
- - Client side validation is now disabled by default #558
1080
- - We now also generate an async multiapi client when running multiapiscript # 480
1081
-
1082
- ### 2020-04-06 - 5.0.0-dev.20200406.1
1083
-
1084
- Modelerfour version: 4.12.294
1085
-
1086
- **New Features**
1087
-
1088
- - Can now directly patch a client by defining a `patch.py` file in the top-level of the module with a `patch_sdk` function #548
1089
- - Can now handle `time` formats #551
1090
-
1091
- ### 2020-04-03 - 5.0.0-dev.20200403.1
1092
-
1093
- Modelerfour version: 4.12.276
1094
-
1095
- **Bug Fixes**
1096
-
1097
- - Fixes parameter ordering so parameters with default values are all ordered at the end #545
1098
- - Fixes `TokenCredential` and `AsyncTokenCredential` sphinx docstring #546
1099
-
1100
- ### 2020-04-01 - 5.0.0-dev.20200401.1
1101
-
1102
- Modelerfour version: 4.12.276
1103
-
1104
- **Bug Fixes**
1105
-
1106
- - Now the generic models file and python3 models file have the same behavior in regards to required properties and their default values #532
1107
- - Can now specify non-string enums #534
1108
- - Fixes `TokenCredential` typing #535
1109
-
1110
- ### 2020-03-30 - 5.0.0-dev.20200330.1
1111
-
1112
- Modelerfour version: 4.12.276
1113
-
1114
- **Bug Fixes**
1115
-
1116
- - Fix enum default and required default #532
1117
-
1118
- ### 2020-03-26 - 5.0.0-dev.20200326.1
1119
-
1120
- Modelerfour version: 4.12.276
1121
-
1122
- **Bug Fixes**
1123
-
1124
- - Will no longer permit generated enums and models to have the same name #504
1125
- - No longer exposing models from operation groups without importing them #486
1126
- - Now correctly deserializes error's that have an empty object (AnyType) as a model #516
1127
- - Added a list of parameter names to reserved parameter words, so there won't be clashes #525
1128
- - If a property's schema is readonly, we will show that property as being readonly (taken from m4 update #234)
1129
- - Remove `"azure-"` prefix from user agent name #523
1130
- - Correcting issue in generating multiapi with submodule, where generated user agent name included the `#` #505
1131
-
1132
- ### 2020-01-17 - 4.0.74
1133
-
1134
- - Declare "self" as reserved keyword
1135
-
1136
- ### 2019-06-12 - 4.0.71
1137
-
1138
- - no-async flag to skip async code generation
1139
-
1140
- ### 2019-05-21 - 4.0.70
1141
-
1142
- - Beta version of --keep-version-file for ARM generator
1143
-
1144
- ### 2019-02-13 - 4.0.67
1145
-
1146
- - All models will now be generated in two files `_models` and `_models_py3`, and paging in a page file
1147
- - Breaking changes: Import of models and enums from package must be done from package.models
1148
-
1149
- ### 2019-02-11 - 4.0.66
1150
-
1151
- - Fix async cross-link documentation
1152
-
1153
- ### 2019-02-08 - 4.0.65
1154
-
1155
- - New version of async generation. Requires msrest 0.6.3 and msrestazure 0.6.0.
1156
-
1157
- - namespace.XXXXClientAsync is now namespace.aio.XXXClient
1158
-
1159
- - Support now MICROSOFT_MIT_SMALL and MICROSOFT_MIT_SMALL_NO_CODEGEN headers options
1160
-
1161
- ### 2019-01-08 - 4.0.64
1162
-
1163
- - New version of async generation. Requires msrest 0.6.3 and msrestazure 0.6.0.
1164
-
1165
- ### 2018-12-17 - 4.0.63
1166
-
1167
- - Autorest now generates async code.
1168
-
1169
- **This version requires EXACTLY msrest 0.6.0 to 0.6.2 and is considered deprecated. Do NOT generate with it.**
1170
-
1171
- ### 2018-07-09 - 3.0.58
1172
-
1173
- - Fix some complex XML parsing issues. Requires msrest 0.5.2
1174
-
1175
- ### 2018-07-05 - 3.0.56
1176
-
1177
- - Differentiate Default and AzureAsyncOperation LRO options
1178
- - Fix bug with operation flattenning if operation has a parameter called "foo" and model too disambiguiated as "foo1"
1179
-
1180
- ### 2018-06-13 - 3.0.54
1181
-
1182
- This version requires msrestazure 0.4.32
1183
-
1184
- - Add support for LRO options
1185
-
1186
- ### 2018-06-13 - 3.0.53
1187
-
1188
- This version requires msrest 0.5.0
1189
-
1190
- - XML support
1191
- - Big fix on headers (Accept/Content-Type) to better reflect consumes/produces of Swagger
1192
- - Refactoring of "send" to better separate request creation and request sending
1193
-
1194
- ### 2018-06-08 - 3.0.52
1195
-
1196
- - Beta version of --keep-version-file
1197
-
1198
- ### 2018-05-08 - 3.0.51
1199
-
1200
- - Py3 model files must inherit from Py3 files
1201
-
1202
- ### 2018-04-18 - 3.0.50
1203
-
1204
- - Add context manager to SDK client that keeps the same sessions across requests.
1205
-
1206
- ### 2018-04-17 - 3.0.49
1207
-
1208
- - Fix some valid discriminator + flatten scenarios #2889
1209
-
1210
- ### 2018-04-16 - 3.0.48
1211
-
1212
- - Fix bad comma on py3 models if super class has no attributes
1213
-
1214
- ### 2018-03-27 - 3.0.43
1215
-
1216
- - Add documentation to enum #49
1217
-
1218
- ### 2018-03-07 - 3.0.41
1219
-
1220
- **Breaking changes**
1221
-
1222
- - Model signatures are now using only keywords-arguments syntax. Every positional arguments are required to be rewritten as keywords-arguments.
1223
- To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the "\*" syntax for keyword-only arguments.
1224
- - Enum type are now using the "str" mixin (`class AzureEnum(str, Enum)`) to improve experiences when unkown enum are met. This is not a breaking change,
1225
- but documentation about mixin enum and some recommendations should be known:
1226
- https://docs.python.org/3/library/enum.html#others
1227
- At a glance:
1228
-
1229
- - "is" should not be used at all.
1230
- - "format" will return the string value, where "%s" string formatting will return `NameOfEnum.stringvalue`. Format syntax should be used always.
1231
-
1232
- - New Long Running Operation:
1233
-
1234
- - Return type changes from msrestazure.azure_operation.AzureOperationPoller to msrest.polling.LROPoller. External API is the same.
1235
- - Return type is now **always** a msrest.polling.LROPoller, whatever the optional parameters.
1236
- - raw=True changes behavior. Instead of not polling and returning the initial call as ClientRawResponse, now we return a LROPoller as well and the final
1237
- resource is returned as a ClientRawResponse.
1238
- - Adding "polling" parameters. Polling=True is the default and poll using ARM algorithm. Polling=False does not poll and return the initial call reponse.
1239
- - Polling accept instances of subclasses of msrest.polling.PollingMethod.
1240
- - `add_done_callback` now does not fail if poller is done, but execute the callback right away.
1241
-
1242
- ### 2018-02-16 - 2.1.38
1243
-
1244
- - Externalize Url as a metadata property on operation
1245
-
1246
- ### 2018-02-06 - 2.1.35
1247
-
1248
- - Allow "baseUrl" as a custom parameter at the client level.
1249
-
1250
- ### 2018-01-04 - 2.1.34
1251
-
1252
- - Fix inheritance and additionalProperties used together
1253
-
1254
- ### 2017-12-28 - 2.1.32
1255
-
1256
- - Refactor LRO operations with an external \_XXX_initial call
1257
-
1258
- ### 2017-12-22 - 2.1.30
1259
-
1260
- - Add "async", "await" and "mro" as Python reserved keywords.
1261
-
1262
- ### 2017-12-13 - 2.1.28
1263
-
1264
- - All Model call super(XX, self).**init**()
1265
-
1266
- ### 2017-11-27 - 2.0.25
1267
-
1268
- - Add no-namespace-folders option
1269
- - Add basic-setup-py. Change the default behavior to do NOT generate the setup.py.
1270
-
1271
- ### 2017-11-22 - 2.0.23
1272
-
1273
- - Add "models" link inside operation groups
1274
- - Add help for Python
1275
-
1276
- ### 2017-10-19 - 2.0.18
1277
-
1278
- - Fix namespace folders in Vanilla generator
1279
-
1280
- ### 2017-10-10 - 2.0.17
1281
-
1282
- - Fix paging description
1283
-
1284
- ### 2017-10-10 - 2.0.16
1285
-
1286
- - Improve polymorphic discriminator documentation (#17)
1287
- - Add deprecated support (#16)
1288
- - Fix invalid headers test (#15)
1289
- - Fix invalid python code in some scenario (#14)
1290
- - Stop checking str type for client parameter (#12)
1291
- - Add client-side-validation to Autorest.Python (#11)
1292
-
1293
- ### 2017-09-27 - 2.0.14
1294
-
1295
- - Improve documentation cross-reference (#9)
1296
-
1297
- ### 2017-09-26 - 2.0.13
1298
-
1299
- - Remove constraint on array type, if array is used in the URL (#8)