v5.1.1 is a patch release with enhancements, bug fixes covering 15+ programming languages. As always, we appreciate the contributions from the awesome OpenAPI Generator community. In this release, we've added a new go-echo-server
generator.
For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.
General
- [Enhancement] added support for custom type & format mapping #9285
- [Docker] support multi-arch build #9246
- Gradle plugin -
@Input
and@Internal
should not be apply on the same property #9059 - [core] Allow using lists as globalProperty in config files #8339
- Add executionId to filehash in OpenAPI Generator Maven Plugin #7848
Bash
- [bash] Update Bash Client Dockerfile.mustache #9310
- [Bash] escape tabs properly #8970
C#
- [csharp-netcore][httpclient] Issues managing error statuses #9389
- [csharp][netcore-httpclient] Refactor of constructors: removed obsolete attribute #9373
- [C#][netcore] Add multiple frameworks support #9196
- [C#] fix integer enum without format #9136
- [csharp][netcore-httpclient] Reuse HttpClient, Allow use of external HttpClient, Fix Socket Exhaustion, Alternative With Constructor Injection #9085
- [csharp][aspnetcore] Fix FileUpload Parameter Generation for aspnetcore #9000
C++
- [cpp-ue4] Improved retry system to use Unreal's FHttpRetrySystem #9382
- UE4 - Support FGuid with in/out Helpers #9291
- C++ Qt5 support date format enum #9283
- Include QVariant helpers header #9161
- [C++] remove pthread from CMakeLists.txt #9130
Dart
- [dart][dart-dio] Add built_value date support w/o timemachine #9180
- [dart] Improve types & imports #9167
- [Dart2] Add initial support to use an isolate to offload JSON serialization/deserialization #9100
- [Dart] Use interrupted exception instead of just exception #9092
Go
- Add Go echo server codegen #9224
- [Go][server] parse bool in query parameter #9171
- [Go] Parse int arrays and respect the 'required' property #9120
- [go] Add constructor and IsValid method to enum types #8224
Java
- [java][okhttp] Default Java client to Java 8 instead of Java 7 #9344
- [Java][Spring] Different in-parameter types generated for api and delegate for binary (application/octet-stream) #9331
- [Java][JavaJaxRS] Respect readOnly/writeOnly attribute markers #9276
- [Java] [Native] Add response body to exception message #9169
- [BUG] Java (jersey2) ApiClient debug cannot be enabled #8756
- [JAVA][jaxrs-spec] Added custom methods to add/remove elements from java collections #6468
Javascript
- Use prepare script instead of prepack in Javascript package.json #7807
Kotlin
- [Kotlin] Make ApiClient in jvm-retrofit2 be able to add additional retrofit Converter Factory #9316
- Kotlin jvm-retrofit2: Add missing ResponseBody import for binary responses #9239
- [Kotlin] add BigDecimal, BigInteger support #8880
Nim
- [nim] camelize names #9255
PHP
- [php-symfony] remove nested Valid constrain #8994
- [PHP] Fix parentSchema conditional causing parent call when parent isn't present #8705
PowerShell
- [PS] minor improvements to the auto-generated appveyor.yml #9300
- [PowerShell] improve return type documentation #9295
Python
- [Python] Fix exclusive min and max #9340
- Fixes serialization of array items in model_to_dict [python] #9153
Ruby
- Dockerfile for the Ruby-Sinatra generator #9299
- [Ruby] postpone require models with parent #9103
Rust
- [Rust] Add enum suffix support #9107
- [rust-server] Update templating docs to correct the name of x-response-id #7839
Scala
- [Scala][Akka] Use Files.createTempFile to address security concerns #9348
- [scala-akka-http-server] allows generation of managed sources only #9012
Swift
- Swift5 models improvements #9205
- Add Hashable for Struct #9166
- [swift5] Add useSPMFileStructure #9074
TypeScript
- [typescript-axios] add missing baseName for array params #9273
- typescript-angular: Fix Cannot read property 'apiKey' of undefined #9260
- Resolve response type name conflict in angular typescript lib #9216
- Resolve responseType name conflict in Angular Typescript lib #9202
- [typescript-angular] Provide return value for all code paths #9176
- [typescript-axios] handle uniqueItems in query and header parameters #8965