Skip to content

v7.26.0 released

Latest

Choose a tag to compare

@wing328 wing328 released this 06 Oct 09:33
· 28 commits to master since this release
fba9e36

v7.26.0 stable release comes with 240+ enhancements and bug fixes.

Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Fix property handling in OpenAPINormalizer #25104
  • Fix all ofs with nullable properties in OpenAPI 3.1 specs #25064
  • [core] - [GRADLE-PLUGIN] Add schemaLocations (ConfigurableFileCollection) and expose schema tracking via extension DSL #24979
  • fix(core) handle mismatching discriminatorType in oneOf interfaces #24812

C#

  • [aspnetcore] Add .NET 10 support for aspnetcore #25124
  • [csharp] Serialize header parameters with content: application/json as JSON #25083
  • [csharp] Fix oneOf/anyOf response deserialization in httpclient library #25080
  • [csharp][generichost] Add support for IHostApplicationBuilder #24952
  • [csharp][generichost] Correct error message on serialization #24933
  • fix(csharp): throw JsonException from generated converters on invalid JSON #24820

C++

  • fix(cpp-httplib-server): generate top-level enum models #24795
  • feat(cpp-boost-beast-server): add HTTP/1.1 server generator #24783
  • feat(cpp-boost-beast): add OAS 3.1 schema validation #24760

Dart

  • [dart] fix: handle multiline x-enum-descriptions #24881
  • [dart] fix: explode object query parameters #24868
  • [dart-dio][json_serializable] fix unknownEnumValue for collection-typed enum properties #24673

Elixir

  • [elixir] Fix cookie parameters, header serialization, optional body comma, and undeclared 2xx responses #24841
  • [elixir] Add library option with Req-based client (tesla remains default) #24840

Go

  • fix(go): validate string enum exclusions #25089
  • [go] fix: explode object query parameters #24797

Java

  • feat(java): support useJackson3 for rest-assured library #25077
  • fix(java): validate string enum values excluded by not #25066
  • [Java] Annotation on List items, @NotNull for example #25049
  • [BUG][JAVA] Fix generation of complex default values #25001
  • [Java] fix: map the OAS 3.1 null type to Object, not a never-generated ModelNull 24935
  • [Java][jaxrs-spec] - Add JSpecify support #24885
  • [Java][microprofile] - Add JSpecify support #24884

Julia

  • [julia] Emit Project.toml, track OpenAPI.jl release-0.2, fix exportOperations #24789

Kotlin

  • fix(kotlin-misk): remove nonexistent models project #25026
  • [kotlin-spring] Add clientRegistrationId option for declarative HTTP interface #25013
  • [kotlin] add additionalEnumTypeAnnotations option #24987
  • [kotlin] Fix inline enum array parameter default values #24940
  • [kotlin] fix: enumUnknownDefaultCase's moshi fallback adapters break nullable enum fields #24894
  • [kotlin-spring] seal allOf discriminator parent interfaces by default#23953

PHP

  • [php-symfony] add compatibility with Symfony 8 #25111
  • [php-nextgen] Respect composerPackageName Config Option #24943
  • [php] fix: enumUnknownDefaultCase declares the unknown-default member but never deserializes to it #24878

Python

  • fix(python): validate string enum values excluded by not #25070
  • Add source folder variable to Python Client #24980
  • [Python] Add HTTPX2 client library support #24966
  • [python-fastapi] add useExternalImplementationPackage to reference an external absolue impl package #24955
  • [python] fix: explode object query parameters #24802

R

  • [R] fix: use correct 5xx error message variable in rlang::abort #24818

Ruby

  • Set minimum required Ruby version to 2.7 #24992
  • [ruby] fix: build_from_hash drops every attribute inherited from an allOf parent #24892
  • [ruby] fix: enumUnknownDefaultCase declares the unknown-default member but never deserializes to it #24879
  • [ruby] fix: explode object query parameters #24869

Rust

  • [rust] Name a oneOf member without a title or type after its base type #25017
  • fix(rust-server): Pass content-type when returning any response with content #24963
  • feat(rust-client): Export Client for easier use #24922
  • [rust] fix: map-typed query parameters do not compile (.to_string() on a HashMap #24896

Swift

  • [swift5][swift6] fix: recursive schemas generate structs of infinite size #24898
  • [swift5] fix: make the urlsession client compile on Linux #24872
  • [swift5] fix: reserve type names the generated client declares or uses from Foundation #24870
  • fix: add support for nullable arrays in Swift 5,6 #24770

TypeScript

  • [typescript-fetch] Preserve nullable primitive oneOf branches #25100
  • fix(typescript-fetch): enforce not enum in type guards #25095
  • feat(typescript-angular): add opt-in form object dot notation #24984