v4.1.1 released
v4.1.1 (patch release) comes with 90+ PRs from the community. Thank you.
For a full list of changes, please refer to the Pull Request page. Below are the highlights:
General
- [core] Set isMultipart=true for multipart operations, fix possible NPE #3750
- Better support for multipart #3736
- [core] process TRACE operation #3648
- Fix imports and property name when using anyof/oneof in services #3639
- autoupdating generator script: userdef cache dir #3631
- Fix composed properties missing from allVars #3616
- Fix callback request and response not being flattened to InlineObjects #3398
- [CLI][GENERATOR] NullPointer when not setting outputDir (updated) #3752
- [maven] Support user overrides for serverVariables (carryover from #3363) #3609
- [cli][gradle] filter deprecated generators by default when listing available generators #3612
- [core][maven][gradle] User-defined server variable substitutions #3363
- Update to swagger-parser to 2.0.14-OpenAPITools.org-1 #3737
- Update Mockito to the latest stable version 3.0.0 #3732
Avro Schema
C++
- cpp-qt5-client: Improve tests #3667
- cpp-qt5-client: add valgrind memory test #3663
- cpp-qt5-client: fix memory leak in api-body #3661
C#
- [csharp] Update UserAgent in the async version of ClientAPI execute method #3723
- [csharp-netcore] Making HTTP response headers dictionary case-insensitive #3707
- [aspnetcore] Fix nullable enum and duplicate model #3622
- [aspnetcore] Add max/min length attributes for models #3588
- [aspnetcore] Add TypeConverter for enum string conversion #3557
Dart
- [Dart] Avoid redundant null checking in fromJson #3632
- [Dart] Make clients crossplatform #3608
- [Dart Jaguar] manage nullable definition #3599
Go
- [Go] add option to use class as enum prefix #3675
- Guarantee a unique name for the constants that represent enum values #3644
- [Go] URLEncode path parameters #3643
- Import Go package with leading underscore #3634
- [Golang][Client] Fix collectionFormat=multi request bug #3390
Java
- [java][client][java11-native] Https protocol schema is not handled correctly in java 11 native code #3730
- [java][client][resteasy] support bearer authentication #3706
- [java][client][resteasy][jersey2][google-api-client][okhttp-json] several fixes to make sent requests more accurate #3703
- [java][client][vertx] Two tiny fixes for Java Vertx client #3683
- [java][client][java11-native] Use javax.annotation.processing.Generated for Java 11 native client #3637
- [java][client] set collection to null when not required #3615
- [java][client] make it possible to send explicit nulls for nullable fields #3474
JavaScript
- Use the latest version of superagent #3579
Kotlin
- [Kotlin-client] Fix null assignation to header/query param map #3749
- [Kotlin-client] Authentication support #3722
- [kotlin] Change Kotlin client exceptions to expose lack of support as UnsupportedOperationException rather than NotImplementedException #3611
- Various fix for Kotlin templates #3504
PHP
- [Slim] Distinction between basicBasic and basicBearer authentication #3621
Python
- [BUG][Python-Flask] Primitive type bytearray deserialization missing in util.py #3642
- [Python] support api key refresh in configuration module #3594
- [Python] avoid unnecessary dictionary lookup in get_api_key method #3592
R
- [R] Updating api docs to include HTTP response codes and their corresponding headers #3699
- [R] feat(r): handling error response for 3xx cases #3571
Ruby
- Fix runtime error in the model's
valid?
of Ruby client #3671 - [Ruby][faraday] Properly pass verify_mode to faraday #3652
Rust
- [Rust Server] Support Bearer based Authentication #3606
- [Rust Server] Frunk - LabelledGeneric - support #3552
TypeScript
- [typescript-fetch] prefix request interface #3740
- [typescript-angular] Encode objects for multipart/form-data with JSON #3738
- [typescript-fetch] namespacing the generated request object types #3695
- [typescript-fetch] Add nullable support #3645
- typescript-angular: Add correct library versions for Angular 8.0.0 #3619
- typescript-axios: If the return type is empty, it should be void instead of Response #3617
- [Typescript] Fix typescript-inversify compiler errors #3607
- typescript-fetch: Fix type errors in generated code #3605