v5.0.0-beta3 released
Pre-release
Pre-release
spacether
released this
20 Nov 09:02
·
5846 commits
to master
since this release
5.0.0-beta3 is the last beta release before the v5.0.0 major stable release scheduled next month (Dec 2020). Thanks again for all the awesome contributions from the openapi-generator community.
Full list of changes (including breaking changes with or without fallback)
Below are the highlights of the changes.
General
- Add "decimal" support #7808 Breaking change (with fallback)
- Adds additionalProperties to core schema classes #7761
- Changes lingering isMapContainer to isMap #7747 Breaking change (without fallback)
- Unifies naming for isArray in Schema class properties #7691 Breaking change (without fallback)
- Adds isDateTime to CodegenModel #7657 Breaking change (without fallback)
- Adds isDate to CodegenModel #7652 Breaking change (without fallback)
- Unifies naming for isMap in Schema class properties #7640 Breaking change (without fallback)
- Fix scopes generation for multiple oauth flows #7615
- Expose batch subcommand #7608
- Replace deprecated methods #7600 Breaking change (with fallback)
- [bug][maven] Fix custom windows classpaths in maven plugin #7587
- [core] Enable multiple oauth2 flows #7570 Breaking change (with fallback)
- [maven] environmentVariables -> globalProperties #7559
- [batch] Option to clean files before generation #7465
- [core][feature] User custom added templates #7366 Breaking change (with fallback)
- [core] Add model cache to speed up code generation #7250
- Removes secondaryParam and hasMore #7882 Breaking change (without fallback)
Ada
- [BUG][Ada] Incorrect client Ada code generated #7719
Apex
- Updated keywords to be aligned with the official ones #7522
- [Apex] better handling of different content-type in the response #7515
C
- [C][Client]Fix coredump in multi-thread environment #7835
- [C][Client]Support data callback function #7467
C++
- [cpp-restbed-server] make the restbed SERVER generator more extensible #7679
- [cpp-ue4] add support for Content-Type containing charset #7379
C#
- [C#] support .NET framework 4.7 #7833
- [C#][netcore] Add anyOf support #7801
- [C#][netcore] Rename HTTPSigningConfiguration.cs to HttpSigningConfiguration.cs #7630
- [C#][netcore] Add discriminator support to oneOf lookup #7626
- [C#][netcore] Add oneOf support to C# .NET Core client #7607
- [C#][netcore] Default OverrideSpecifiedNames to false #7583 Breaking change (with fallback)
- [Aspnetcore] use the term
openapi
#7540 Breaking change (without fallback) - [C#][NetCore] add multi-server support #7433
- [C#][netcore] better support for additional properties in the payload #7396
- [C#][Nancyfx] fix incorrect import #7907
Dart
- [Dart] map AnyType to Object #7822
- Upgrade Dart2 template to advertised best-practices, plenty of additions too #7585
- [Dart][Client] Fix default value of enum variables #7496
- Adds cookie auth support to ApiKeyAuth in dart2 templates #7346
Documentation
- [Core, HTML2] Rendered docs are incomplete #7510
- [cwiki] Path parameter generation fix for split rows #6894
Elixir
- [Elixir] Fixes optional body mapping #7606
- [Elixir] Fixes Typespec for multiple return definitions #7604
Go
- [go] Improve examples generation #7576
- [GO][SERVER] Implement response code #7397 Breaking change (without fallback)
- [Go] minor format change, deprecate "withGoCodegenComment" option #7375 Breaking change (without fallback)
Haskell
- [haskell-http-client] have applyOptionalParemeter (-&-) append values in headers or querystrings instead of replacing values #7805
Java
- [JAXRS-CXF] Improve handling of additional properties #7866
- [Play Framework] Update Play Framework Generator to latest version #7860 Breaking change (without fallback)
- [java][jersey2] add proxy support #7752 Breaking change (without fallback)
- [java][groovy] Fix mangled src paths in some outputs on Windows #7487
- [Java][vertx] Use typeMapping instead of postProcessParameter #7457
- [Play Framework] Fix the configuration package #7391
- Update Vert.x Web template to Vert.x 4 #7364
- Fix multi-part binary form parameters for jaxrs-jersey templates #7363
- [Java][Native] Support oneOf/anyOf schemas #7263
- [Java][Spring] Add Spring pagination with vendor extension x-spring-paginated #5022
- [bug][Java] Honor instantiationMap for default values for array, map, set #4982
JS/NodeJS
- [javascript-flowtyped] Fix Flow error #7786
- [JS] Allow auth.accessToken to be either function or string #7484
Kotlin
- [Kotlin] Fix Spring Kotlin generation of array/map models #7829
- [kotlin] Fix optional header params in openhttp client #7341
- [kotlin] Fix imports of generated class #7314
ObjC
- Update of Objective-C model-body.mustache to support discriminator.mappedModels #7471
OCaml
- Replace '.' characters by '_' in enum type names since OCaml doesn't allow to use '.' in any kind of identifiers #7767
- [Ocaml] Fix missing space on models #7742
PHP
- [php] Implement JsonSerializable in php Model class #7768
- Small tweaks for php generator, PHPStan level 3, Psalm level 7 #7616
- [PHP] Small tweaks for php generator, PHPStan level 1 #7528
- Tweaks for php generator, based on issues reported by PHP static analysis tools (PHPStan) #7376
PowerShell
- [PS] Add proxy support #7739
- [PowerShell] Fixed the empty string issue when server returns null #7633
- [PowerShell] Fixed the maximum minimum range check condition #7482
- Fix the ECDSA signature issue for PowerShellSDK #7386
Protobuf
- [Protobuf] Fix support for AllOf in protobuf-schema #7813
Python
- [python] Renames python generators #7965 Breaking change (with fallback)
- [python] add socket_options to configuration for the rest client #7795
- [python] Add option to return None instead of raising exception when accessing unset attribute #7784
- [python-experimental] implement
in
operator for model classes #7637 - Add option to set recursion limit #7491
- [Python] correct return types if multiple responses are defined #7427 Breaking change (with fallback)
- Adds free form model generation in python-experimental #7373
- Subclass Python exceptions #7321
R
- feat(r): retry configuration for status codes #5925
Ruby
- [Ruby][faraday] fix response streaming #7734
- [Ruby] Replace DateTime with Time #7656 Breaking change (without fallback)
- Update default ruby, faraday versions #7538
- [ruby] Support for per-operation servers #7415
Rust
- Add impls for Error trait for Rust reqwest #7462
- Fix Rust codegen for AnyType #7461
- [rust-server] Fix server example on non-Linux #7399
- [Rust][reqwest] Fixed parameters of Array type #7049
Scala
- Better decimal support in Scala generators #7876
- Update junit to newer version (4.13.1) #7690
- Fix scala-sttp enum generation #7432
Swift
- Add AnyType support to Swift generators #7644
- [Swift5][URLSession] Fix handling of customHeaders between retries #7527
- [Swift5] fix issues causing stack overflow #7301
TypeScript
- typescript-angular: Angular 11 support #7937 Breaking change (with fallback)
- [typescript-rxjs] Added support for servers #7771
- [TYPESCRIPT-ANGULAR] Add configurationPrefix option #7731
- [typescript-inversify] bug fix for array type #7636
- [typescript-axios]: Only call
JSON.stringify
on JSON request bodies #7580 - [typescript] Fix generation of enum models #7529
- [typescript-axios] replace optional-chaining #7476
- [typescript] Fix incorrect enum literal case #7378 (Breaking change (with fallback)