v7.10.0 stable release (breaking changes with fallbacks) comes with 100+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.
This release comes with 4 breaking changes (with fallback) listed below.
3 new generators are included in this release:
- Added support for a trait based reqwest Rust client #19788
-g rust --library reqwest-trait
- [csharp] Add a server generator for FastEndpoints #19690
aspnet-fastendpoints
- [GdScript] Templates for GdScript (Godot 4) #19267
gdscript
Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.
General
- Fix allOf with properties for the REF_AS_PARENT_IN_ALLOF rule #20083
- Update inline model resolver to flatten responses #19992
- Fix $ref to allOf in properties #19986
- Better handling of allOf with unsupported schemas #19964
- Add logic in normalizer to auto fix self-reference schemas #19849
C
- [C][Client] Add gcc predefined macros to reserved keywords #19791
C#
- fix(csharp): Fixed JsonConverter for discriminators only appearing on base classes #19972
- [csharp][generichost] Better handling of duplicate operation ids #19913
- [csharp] Address MaxTimeout obsolete build warning #19875 (Breaking change (with fallback))
- [csharp] Add a server generator for FastEndpoints #19690
- [csharp] Mustache fully qualify namespace for Path #19349
C++
- feat cpp-qt-client: fix cast primitive to string #20000
- Remove further Qt support before Qt 5.15.2 #19824
Dart
- [PHP/Dart/Python] Correctly escape strings in single quotes #19529
- [dart2] [client] Added better double handling to 'mapValueOfType' #17808
Erlang
- erlang-server: add jesse to app.up release #20120
GdScript
- [GdScript] Templates for GdScript (Godot 4) #19267
Go
- [BUG][GO] only import reflect when using it #19967
Java
- Adding support for @ResponseStatus annotation into spring-http-interface java spring generator #20071
- Add equals and hashCode methods to Microprofile #20011
- [java] [restclient] Add support for a token supplier to OAuth based RestClient clients #19944
- [JAVA] fix several anyOf/oneOf problems #19817
- [Java Spring] Fix copyOf inheritance using empty object instead of passed value #19426
JavaScript
- [JS] set useURLSearchParams option to true by default, update samples #20003
- [JS] add parameter 'useURLSearchParams' to use JS build-in UrlSearchParams, instead of deprecated npm lib 'querystring' #19949 (Breaking change (with fallback))
Julia
- [julia] improve enum support #20016
K6
- Remove calculateRequestOrder Function and fix bug #19685
Kotlin
- Bump libraries for Kotlin client #20053
- kotlin-server: Fix required + nullable combination for properties #20054
- [BUG][KOTLIN] Fix the path variable escaping in kotlin client generators #19937
- [REQ] Add x-field-extra-annotation and x-class-extra-annotation for kotlin generator #19899
- [Kotlin Server] Update Ktor to latest version; move config to kts #19727
- Fix explicit KSerializer's name & generation when used in container #20093
- [kotlin][client] do not generate Serializable(forClass) annotation as the serializer is already defined #20092
- [kotlin-spring] fix Api Interface for kotlin-spring with spring-cloud library #19877
- [kotlin] Map file and binary to ByteArray #19840
- [Kotlin] Allow other content-types when only interested in status-code / Unit #19801
PHP
- [PHP/Dart/Python] Correctly escape strings in single quotes #19529
Python
- [python-pydantic-v1] Fix bug in serialization for SecretStr #20102
- python: stronger typing for the "configuration" module #20014
- [python] Check if the given input is a container (Array or Map) when validating enum values #19316
Rust
- [Rust-Axum] Fix compilation error when validate is used on Nullable values #20100
- [Rust-Axum] Extracting Claims in Cookie/Header #20097 (Breaking change (with fallback))
- [Rust-Axum] Prevent Operation response with internal Error #20047 (Breaking change (with fallback))
- [Rust-Axum] Support Authentication (Cookie, API Key In Header) #20017
- Fix Rust generation for versions without minor or patch parts #19946
- Added support for a trait based reqwest Rust client #19788
Scala
- Scala Cask oneOf support #20051
- [scala][client] scala-http4s minor improvement (enum companion method, remove implicit, error handling) #19901
- scala-cask fix: Added support for 'additionalProperties:true' #19767
Swift
- [swift6] promote to beta and improve documentation #19856
- [swift][client] rename api client to api configuration #20103
- [swift6] Add Sendable conformance to request parameter enums #20023
- [swift6] improve retry interceptor #19988
- [swift5] fix compile error from Alamofire 5.10 - cast Parameter type to avoid recursion #19908