Skip to content

Releases: Azure/autorest.python

Autorest for Python v5.1.0-preview.6

05 Aug 14:42
27883b1
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

2020-08-04 - 5.1.0-preview.6

Autorest Core version: 3.0.6287
Modelerfour version: 4.15.378

New Features

  • Add support for x-ms-text XML extension #722
  • Allow users to pass the name of the key header for AzureKeyCredentialPolicy during generation. To use, pass in
    AzureKeyCredentialPolicy with the --credential-default-policy-type flag, and pass in the key header name using
    the --credential-key-header-name flag #736

Bug Fixes

  • Fix duplicate type signatures in multiapi async config file #727
  • Allowing single quote in regexp #726

Autorest for Python v5.1.0-preview.5

23 Jul 20:45
f654bdc
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

2020-06-23 - 5.1.0-preview.5

Autorest Core version: 3.0.6287
Modelerfour version: 4.15.378

Bug Fixes

  • Correctly have default behavior of csv for array query parameters when collection format is not specified in the swagger
    (taken from m4 update - perks PR #118)
  • Fix bug when generating parameters with client default value and constant schema #707
  • Make operation mixin signatures for multiapi default to default api version #715
  • Fix name in setup.py to default to package-name if set #721
  • Allow different custom base url host templates across API versions #719

Autorest for Python v5.1.0-preview.4

07 Jul 17:54
6782a88
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

2020-07-07 - 5.1.0-preview.4

Modelerfour version: 4.15.378

New Features

  • Enum values are uppercase (with an alias from the lowercase version) #692
  • Add http_logging_policy setting for config, and users can override the default by passing in the kwarg http_logging_policy #698

Autorest for Python v5.1.0-preview.3

24 Jun 16:56
0925b40
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

2020-06-24 - 5.1.0-preview.3

Modelerfour version: 4.13.351

New Features

  • Supports a function that is both LRO and paging #689
  • We have added a --credential-default-policy-type flag. Its default value is BearerTokenCredentialPolicy, but it can also accept
    AzureKeyCredentialPolicy. The value passed in will be the default authentication policy in the client's config, so users using the
    generated library will use that auth policy unless they pass in a separate one through kwargs #686
  • Added support for a data plane multiapi client #693

Bug Fixes

  • Fix typing for discriminator values in models, so Python 3.5 can import py3 file for models #691

Autorest for Python v5.1.0-preview.2

08 Jun 18:56
5e8e997
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

Autorest for Python v5.1.0-preview.1

03 Jun 23:13
f28fdc6
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

Autorest for Python v5.0.0-preview.8

22 May 19:10
35a378a
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

Autorest for Python v5.0.0-preview.7

15 May 22:28
5126579
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

2020-05-15 - 5.0.0-preview.7

Modelerfour version: 4.13.351

Bug Fixes

  • Adding self as a reserved key word for parameters to avoid "duplicate argument 'self' in function definition" error #630
  • Removed self as a reserved key word for method and model names #630

Autorest for Python v5.0.0-preview.6

13 May 22:36
fae93b0
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

2020-05-13 - 5.0.0-preview.6

Modelerfour version: 4.13.351

Bug Fixes

  • No longer assuming that response with body from an LRO call is an ObjectSchema #623
  • Checking whether "protocol" entry exists in yaml in name converter to remove erroneous "KeyError: 'protocol'" #628

Autorest for Python v5.0.0-preview.5

08 May 17:02
1db2d98
Compare
Choose a tag to compare
Pre-release

Release version of Autorest for Python v5

2020-05-08 - 5.0.0-preview.5

Modelerfour version: 4.13.351

Bug Fixes

  • Users can pass in content types with ';' inside (such as 'text/plain; encoding=UTF-8') #619
  • Allowing parameters to be of type IO as well #618
  • Can now generate without FATAL: bad indentation error (taken from m4 update - perks PR #105)