v5.0.0-beta release
Pre-release
Pre-release
5.0.0-beta is a pre-release before the v5.0.0 major stable release scheduled in Q3/Q4 this year. Thanks again for all the awesome contributions from the openapi-generator community.
Below are the highlights of the changes.
General
- Fix for operation defination containing ref schema #6676
- [docker] Tag latest-release for stable latest tagging #6573
- Copy vendor extensions from request body #6766
- Fix default response #6625
- Remove localVariablePrefix #6588 (Decommission)
- Remove deprecations 5.0 #6060 (Breaking change (with fallback))
- [core] Refactor templating management #6357 (Breaking change (without fallback))
- [core][general] Add metadata file tracking to aid in "Golden Tests" regeneration #6325
- Update swagger parser to 2.0.20 #6372
- [core] Move overwrite ownership to SupportingFile #5036 (Breaking change (with fallback))
C
- [C][Client] Convert integer/boolean to string for query parameter in request url #6652
C#
- [csharp] Rename v5.0 to netstandard1.3 #6460 (Breaking change (with fallback))
- [c-sharp] generator added CancellationToken to async api calls #6243
- [aspnetcore] Remove web.config #6214 (Breaking change (without fallback))
- [csharp-netcore] Remove support for old .net core project type #3937 (Breaking change (without fallback))
C++
- [C++] [restsdk]Update CMakeLists.txt for seamless building on Windows and Linux #6658
- [C++][Pistache] Catch HttpError from user-provided handler #6520
- [cpp][Qt5] Add the ability to pass QNetworkAccessManager as a parameter #6053
- [C++]Enable forward declaration for C++ #6654
- Add C++ UE4 client generator #6399
Dart
- Dart - generate constructor with named params #6751
- [dart-dio][client] Allow passing progress callbacks through client methods #6261
- Dart enum toJson method #6111
- [dart-dio] Adds support for generating inline enums #5668 (Breaking change (without fallback))
Documentation
- Fix Basic Bearer auth examples for HTML2 Docs #6579
- Add some AsciiDoc tweaks #6436
- [cwiki] Show enum values for URI parameters #6174
Elm
- [elm] Add bearer, task, and sendWithCustomError #5146
- Elm client generator refactoring #4891 (Breaking change (without fallback))
Erlang
- Use supplied packageName instead of hardcoded #6561
Go
- [go] Required fields are not pointers #6698
- [go-experimental] Fix error message when unmarshaling wrong enum value #6663
- go: use PathEscape instead of QueryEscape to escape path params #6618
- [Go][Experimental] add oneOf discrimistrator lookup #6517
- [Go][Experimental] Add discriminator support to anyOf #6511
- [go-experimental] Fix marshalling of of go oneOf structures to work on non-pointer receivers #6314
- [go-experimental] Ensure enum deserialization checks enum values #6315
- [Go][Experimental] better oneOf and anyOf implementation #6166
Java
- [Java][Microprofile] JSON enum processing fix #6700
- Decommission Retrofit play24, play25 #6665 (Decommission) Breaking change (without fallback)
- [Java] Add add constructor to BYO OkHttpClient #6401
- [Java][Retrofit2] deprecate RxJava 1.x #6641 (Decommission)
- [JAVA] RxJava3 support #6622
- [Java][Native]Add option to use the builder pattern for API parameters #5961
- Jersey2 supports additional properties with composed schema #6523
- [Java] Decommission Retrofit 1.x support #6447 (Decommission)(Breaking change (without fallback))
- [Java][Feign] decommission 9.x support #6445 (Decommission)
- [JAVA] Generate arrays with "uniqueItems" true as Sets rather than Lists #5466 (Breaking change (without fallback))
- Set java8 to true by default #6278 (Breaking change (without fallback))
- [Java][jersey2] replace jersey2 with jersey2-experimental #6251 (Breaking change (without fallback))
- [Java] Enable discriminator recursive lookup #5895
- Add full OAuth2 support to jersey2-experimental codegen #6183
JavaScript/Nodejs
K6
- [fix] Fix delete http verb (the k6 equivalent is del) #6624
Kotlin
- Add use-site target field for JsonProperty annotation in kotlin data classes #6186
- Support the use of tags in the delegated Spring Kotlin generator #5499 (Breaking change (without fallback))
- #5476 [kotlin] [spring] fix swagger and spring annotation for defaultValue #6101
- [kotlin][client] add support for coroutines with OkHttp #6362
Lua
- Minor improvements to the Lua client generator #6219
PlantUML
- Add new Plantuml generator for creating a schema diagram #6255
ObjC
- [Objective-C] Fix thread-safety in template #6725
- Added basic bearer authentication to objc template #6640
PHP
- [php-slim4] Move Data Mocker to external repo #5930
- [php-slim4] Set required PHP version to 7.2 #6530
- [php] Set required PHP version to 7.2 #6603
- [php-lumen] Show required PHP version in docs #6501
- [php-laravel] Show required PHP version in docs #6502
- [php-symfony] Set required PHP version ^7.1.3 #6181 (Decommission)
- Mark Silex server generator as deprecated #6220 (decommission)
- [php] Set required PHP 7.1 in code comments and readme #6188
PowerShell
- [PS] Add additional properties support #6528
- [PowerShell] Add useOneOfDiscriminatorLookup option #6516
- Add oneof/anyof support to PowerShell client generator #6361
- Replace powershell generator with powershell-experimental generator #6213 (Breaking change (without fallback))
- [powershell-experimental] http signature authentication implementation #6176
Python
- [Python] Additional properties with array types #6594
- [python] Fix date-time parsing #6458
- [Python][Client] Fix delimiter collision issue #6451
- [python-experimental] Quicken package loading #6437
- python-experimental updates ancestor + adds descendant discriminator tests #6417
- [codegen][python-experimental] Composed schema with additionalProperties #6290
- [Python-experimental] Fix type error if oneof/anyof child schema is null type #6387
- [codegen][python-experimental] Add configuration knob to disable JSON schema validation #6227
- [Python-experimental] JSON schema 'null' type should be modeled as 'none_type' #6121
- [codegen][Python-experimental] Discriminator NPE fix, handle 'null' type #5809
R
- Replacing caTools dependency with base64enc #6349
Ruby
- Remove the json dependency #6580
Rust
- [Rust][Client] Multiple returns becomes optional #6673
- [Core, Rust Server] Support JSON query parameters #6577
- [Core, Rust Server] Support optional headers #6575 (Breaking change (without fallback))
- [Rust Server] Pass context to client middleware #6574 (Breaking change (without fallback))
- [Rust][Client][Reqwest] Better http error handling #6481
- [Rust][reqwest] add async support #6464
- Add "useSingleRequestParameter" option to Rust client generator #6230
- [Rust Server] Support boolean headers, and fix panic handling headers #6056
- [Rust Server] Support complex query parameters #5831
- [Rust Server] Don't use structs in models #5557
- [Rust Server] Hyper 0.12 Support #4519 (Breaking change (without fallback))
Swift
- [SWIFT5] Add the ability to turn uniqueItems array into Set in swift #6773
- [Swift] fix GET request with array parameter #6549
- Mark swift4 generator as deprecated #6311 (Decommission)
TypeScript
- Mark
typescript-angularjs
as deprecated #6723 (Decommission) - [typescript-angular] support for object query parameters as nested key/json string #5790
- [TypeScript] Rewritten TypeScript client generator supporting fetch & jquery #6341
- Fix typescript generator for parameter collectionFormat for pipes ssv #6553
- [typescript-angular] drop support of angular below 6.0.0 #6360 (Breaking change (without fallback))(Decommission)
- [typescript-axios] Implement useSingleRequestParameter option #6288