Skip to content

v3.3.0 - a minor release with 4 new generators

Compare
Choose a tag to compare
@wing328 wing328 released this 01 Oct 16:01
· 9162 commits to master since this release
e22c7c1

Thanks for all the awesome contributions by the community, we've released the minor version v3.3.0 with 4 new generators: Dart Jaguar client, Go Gin server, MySQL schema, TypeScript Axios client, and many enhancements to various generators. This release contains breaking changes with fallbacks so please refer to the pull request list for more information.

❗️= Breaking change (with fallback)

General

  • Fix top-level enum class checking #1120
  • Update openapi-generator-cli dependency #1116
  • Fix alias to map response #1067
  • [All] Add leading slash in path if missing #1034
  • [gradle plugin] Support Gradle 4.10 #1011
  • Add a CLI option to control logging level #1000
  • Ignore modules/openapi-generator-gradle-plugin/bin/ #983
  • Trim trailing '/' from basePathWithoutHost #967
  • [docs] publish documentation for the generators #932
  • Refactor StringUtils functions #859
  • Set swagger-parser to version 2.0.4 #787

Ada

  • [Ada] Operation security scopes are ignored when generating the server #1044

C#

  • Update the Asp.Net core server generator to support Asp.net Core 2.1 #1008 ❗️

C++

  • [C++] [cpp-rest-sdk] Avoid use of an empty key value #991
  • [C++] [cpp-rest-sdk] Check for null values #990
  • [C++ Pistache server] Support basic query handling #943
  • [C++ Qt5 server] Improvements for Qt5 server #942
  • [C++][Restbed] Fix default values for Restbed Server generator #761

Dart

  • Rename Dart env variable for post processing file #1101
  • Fix model generator for snake case open api definition on dart-jaguar #1076
  • Minor improvement to Dart generators #1042
  • Minor fixes (dependency update, etc) for Jaguar Dart client #1016
  • Fix generation of jaguar api with auth #1009
  • [Dart2] bug fix: maps could not be deserialized #1007
  • [Dart2] improved error reporting #1006
  • New Generator: Dart (Jaguar) client generator #998
  • [Dart2] Fix petstore tests #954
  • Set Dart2 as default, better format Dart code with dartfmt #949 ❗️
  • [Dart 2] Add support for Dart 2 #754

Elm

  • [elm] Fix Byte encoder/decoder names #1151
  • [elm] Major refactoring; add discriminator support #1104 ❗️
  • Better handling of different types in Elm generator #1100
  • Rename environment variable for Elm to post-process file #1094
  • Add logic to handle uuid in Elm generator (0.19) #1075
  • Use elm-format to format Elm API client #959
  • [elm] Add support for Elm 0.19 #937 ❗️

Go

  • [Go][go-gin-server] Fix path parameter naming #1141
  • Rename environment variable for Go to post-process file #1091
  • [Go][client] fix go import issue #1083
  • [Go][server] Add a generator for the gin framework #1048
  • Better process handling in Go postProcessFile #950
  • Add postProcessFile, implement in Go generators to run gofmt #929 ❗️

Haskell

  • Add post processing to files generated by Haskell generators #968

Java

  • [Java][okhttp-gson] Add support for OAuth access token retry #1058
  • [JaxRS-Spec] Fixes in generated pom #1035
  • [Java][Retrofit2] The part name is not added to the annotation #1029
  • [Java][Jersey] add @Valid when bean validation is enabled #1019
  • [Java][Feign] Add option to set Feign version #1005
  • [Java][Feign] Add support for Feign 10 #988
  • [Java][Spring] Fix reactive + delegatePattern option #978
  • Better code format for Java (okhttp-gson) client #971
  • [Java][Webclient ]Avoid double encoding on query params #924
  • [Java][Spring] Use better return types for the reactive option #913 ❗️
  • [Java][Spring] Service Virtualization Feature enhancement #196

JavaScript/NodeJS

  • Add js-beautify support to JS generator #961
  • [JS] Fix cookie support in Node.js client #895

Kotlin

  • [KOTLIN][SPRING] Bug fix for optional / default types #1107
  • Kotlin Spring server codegen improvements #1070
  • Bug fix: Kotlin generator doesn't support inheritance #1026
  • [KOTLIN][SPRING] Minor bug fixes to generator #1001

MySQl

  • Minor enhancements to the MySQL generator #1148
  • New Generator: MySQL Schema Generator #1055

Perl

  • Add perltidy to format Perl code #970

PHP

  • Fix error when giving an array as parameter to an endpoint body request #1037
  • [PHP] Drop support for PHP5.5 on php-client #993
  • [PHP]Generated lumen code can contain dots in routes #985
  • [PHP] Add interface/abstract/trait helpers #906
  • [Slim] Add PHPLint tool to check syntax #898❗️
  • [PHP] Upgrade php-cs-fixer to 2.12, enables PHP >= 7.2 support #769 ❗️
  • [PHP] Fix deserialize ApiException as a Model #757

Python

  • Add nullable support to Python client #1073
  • Add post processing to files generated by Python generators #1072
  • Fix Python Flask connexion support #1066
  • Fix circular import issue in Python Flask #946
  • [PYTHON] Api doc python with multiple authentications #928

Ruby

  • Add file post processing to Ruby generators #1062
  • Add nullable support to Ruby client #1059
  • Add pry-byebug to make it easier to debug the Ruby client during development #979
  • Generate a Gemfile.lock for the Ruby client #966
  • Update Ruby Petstore client's Gemfile #948

Rust

  • [rust-server] Restore support for nullable #936

Scala

  • Rename Scala post processing env variable to SCALA_POST_PROCESS_FILE #1143
  • [Scala-Akka] Generate default values for optional model fields #1119
  • Add option to enable scalafmt for code formatting #1032

Swift

  • Add file post-processing to Swift 3.x, 4.x generators #1069
  • [Swift4] Use CodeableHelper's dateformatter in encode() if configured #984
  • [Swift] add default value to Swift 3.x, 4.x podspec #921
  • [Swift4] Fix default value for enums (#652) #656

TypeScript

  • Add post processing to files generated by TS generators #1063
  • [Typescript] add missing type mapping #973
  • [TypeScript] add new generator for Axios #892
  • [typescript-angular] Add fileNaming configuration property #767