v7.6.0 released
v7.6.0 stable release comes with 120+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.
Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.
General
- Skip setting output folder in online service #18652
- fix: Upgrade testng to avoid CVE-2022-4065 #18635
- [refactor] Use getType in ModelUtils to better support OpenAPI v3.1.0 spec #18577
- Fix null type check when simplifying any type #18504
- fix: ExampleGenerator for composed child schemas and array schemas #18479
C#
- [csharp] Fixed nullability of composed schemas #18408
- [C#] made the HttpSigning method public to get the signed header #18496
C++
- [[BUG][C][cpp-restsdk] fix missing Set.h #18631
- [C++][Pistache] Compile error when nesting component/schema reference objects #18586
Dart
- [dart-dio] Incorrect hashCode and == overide for fields withList #18198
- [dart] [dart-dio] Support Dart3 #18001
Go
- [GO][Client] Generated GO Client Time Query Param Millisecond Resolution Fix #18673
- Add an option to skip unmarshall json in Go client generator #18448
- [GO] Add assert constraints checks for complex types in the model template #18654
- [Go] uses sanitized model name instead of the name #18644
- [go-server] Fix: error handling and linting #18550
HTML
- [html2] Fix incorrectly sanitizesd response headers #18685
- [html2] Add oneOf support #18642
- [html2] Support alias types #18579
- [html2] Fix rendering of arrays of objects in html2 docs #18561
Java
- upgrade microprofile to junit5 #18669
- upgrade okhttp-gson and google-api-client to junit5 #18668
- [BUG][JAVA] Prevent generating "pattern" and "size" to ENUM #18658
- [BUG][JAVA] oneOf/anyOf multiple constructors with same erasure #18645
- Add support for Helidon 4 MP client and server generation #18627
- upgrade java native to junit5 #18617
- upgrade apache-httpclient to junit5 #18616
- upgrade resteasy to junit5 #18615
- [jaxrs-spec] fix nullable import, migrate tests to 3.0 spec #18606
- [BUG] [Java] Invalid code generation for oneof types #18544
- Add new option allArgConstructor for java client, spring generators #18538
- [Java][Client] Add support for the new Spring RestClient #18522
- Fixes incorrect Jackson imports in Java templates used in ApiClient.java when useJakartaEe=true #18507
- [java] implement #18032 add builder pattern to java client and spring generator #18650
Kotlin
- [KOTLIN] Kotlinx serialization, use first party retrofit converter factory #18656
- [kotlin-client] Update Gradle and dependencies #18571
PHP
- [php-flight] fix: always set http status in streaming response #18604
- [php-flight] fix: parsing class/enum models #18528
- feat(php): allow to pass raw boolean to api #18520
Python
- [python-flask] deference parameter schemas before further processing #18605
- [Python] Fix the post processing of enums #18566
- [PYTHON] Fix for failing to lookup discriminator value using AllOf and discriminator #18498
Ruby
- Ruby: Fixed CodeQL polynomial regexp Client: Ruby Issue: Bug #1869
Rust
- Use Display instead of ToString in Rust generators #18633
- [rust-axum] Split up api trait per tag #18621
- Bump Rust edition to 2021 and a few crates #18608
- [Rust-Axum] Fix uuid in header params causing compilation errors #18563
Scala
- scala-sttp: fix api returns unit #18537
- scala-sttp4: fix api returns unit #18536
- Cask version fix #18486
- Taught Scala-cask to publish JS model files #18413
Swift
- [swift] support content type application json variants #18539
- Add ResumableTask to URLSessionImplementations.mustache #18438
TypeScript
- [typescript-fetch] Improve code generation for oneOf cases without discriminator #18702
- [typescript-fetch] Make instanceOf infer type and check for undefineds #1869
- Add typescript 5.x as an allowed version #18674
- fix(typescript-axios): Correct the content type for a list of objects in form-data when contentType is present #18505
- Support optional singleRequestParameter #18467