v4.2.2 released
v4.2.2, which is a backward-compatible release covering 20 languages, is the last release in 2019. It comes with 1 new generator: typescript-redux-query
. We appreciate all the contributions from the community and look forward to more contributions from the awesome community in 2020.
For a full list of changes, please refer to the list below:
Here are the highlights:
General
- Add net.java.dev.jna to resolve "Unable to load JNA library" #4634
- Add openapi-generator executable to docker container #4610
- Update kotlin version to 1.3.60 in modules/openapi-generator/pom.xml #4598
- Maintains state of hasMore when security is filtered #4585
- Fix isNullable in the toString method #4554
- Update swagger parser to the latest stable version v2.0.16 #4550
- Fix: prevent ClassCastException when handling options of #4495
- [default codegen] Correct parent variables being duplicated in child #4253
AsciiDoctor
- [asciidoctor] javadoc: add missing tag for declared exception #4630
- [asciidoc] add form params and authorization headers #4505
C
- [C] better support for additional properties #4349
C#
- [csharp-netcore][documentation]: Adding model summary to model documentation files #4309
C++
- [C++][Pistache] Add comparison operators #4619
- cpp-qt5-client: fix warning reordering member initialization #4526
- [C++] [Qt5] Clang format Code #4444
Dart
- Add HEAD method to ApiClient of dart codegen #4504
- [dart-dio] correctly handle
Map<String, Object>
,List<Object>
using JsonObject #4401
Elm
- [elm] Add support for oneOf #4434
Go
- Add go.mod as supporting files to go-server #4592
- Add support for dumping request and response in Go generated clients #4566
- Add an option to prefix Go struct with the classname #4564
- [Go] Bypass object decode in case of empty body #4546
- [Java][Go] Unalias schema in getTypeDeclaration when not generating model for alias #4527
Haskell
- [FIX][Haskell-servant] missing indent on the new feature pull request #4490
- [FEATURE][Haskell] Haskell-Servant serves static files #4058
- [FEATURE][Haskell] Add Middleware support for the haskell servant generator #4056
Kotlin
- [Kotlin-spring] add kotlin runtime compiler #4544
- Fixes Kotlin client property names that include a dollar sign for template overrides #4351
- Add mutable model option to kotlin generators #4115
- [kotlin-spring] add support for the delegate pattern #3925
Java
- [java][client][restassured] add getAllOperations() #4631
- [jaxrs-spec][quarkus] update to 1.0.0.FINAL #4609
- [Java][Spring] minor bug fix on unhandledException flag #4543
- [JAVA] Update Gradle in generated Java projects from 2.14.1 to 6.0.1 #4536
- [Java][Go] Unalias schema in getTypeDeclaration when not generating model for alias #4527
- [java] Fix java version defaulting #4520
- [BUG] [Java] Client resttemplate and webclient. Form Params are badly added when they are lists #4461
- Avoid generating uncompilable response body in Spring's API template #2903
JavaScript
- [JS] Update package.json #4261
OCaml
- [OCAML] Fixes cloud.drone.io ocaml-test #4501
PHP
- [BUG][PHP] Parameter property style not fully implemented #4640
- [PHP] Include microseconds in serialized date-time #4542
Python
- [Python] each Configuration instance now has its own dicts #4485
R
- [BUG][R] use loadNamespace instead of package:pkgName string #4614
- [BUG][R] Fix documentation in R package #4580
Ruby
Rust
- [Rust] Derive more traits #4142
- [Core, Rust Server, ASP.NET Core] Fix Codegen Operation Scope Consistency #3495
Scala
- Fixes issues with Scalaz outputs #4508
Swift
- [Swift] Fix enum encodable #4594
- [Swift] Add option parameter to select response queue #4591
- [CI][Swift4] improve swift ci integration #4571
- [swift 4] improve test suite #4561
- [swift] add option for non public api #4556
- [Swift] Enhancements to iOS tests #4521
- [swift] Introduce result type #4511
- [Swift] Convert default value of enum with not string type to string #4481