Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openapi-generator-version to v7.8.0 #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.openapitools:openapi-generator 7.4.0 -> 7.8.0 age adoption passing confidence
org.openapitools:openapi-generator-cli 7.4.0 -> 7.8.0 age adoption passing confidence

Release Notes

openapitools/openapi-generator (org.openapitools:openapi-generator)

v7.8.0: released

Compare Source

General

  • Added support for openapi-normalizer in the online version #​19336
  • processing schema name is added to the list with names checked at recursing processing #​19221
  • Fix mistype in InlineModelResolver leads to autogenerated class name instead of specified by title #​19173
  • Speed up docker re-builds using mvn dependency:go-offline #​19078

C#

  • [csharp][generichost] Changed default sorting of samples #​19335
  • [csharp][generichost] Support response ranges #​19256
  • [csharp] Use global keyword #​19257
  • [csharp] Add scope for oauth2 #​19234
  • [csharp] fix Task.Result directly blocks thread #​19231
  • [ASPNETCORE] Fix having two "?" when not required and nullable = true #​19062
  • Support net8 in aspnetcore #​19051
  • [csharp] Change sorting default Breaking change (with fallback) #​1894

C++

  • [C++][Pistache] Fix 'unused-parameter' warning on Helpers.h file #​19315
  • [C++][Pistache] Add error handlers overload taking the response object #​19314
  • [cpp-qt] Add option for download progress, add test #​19297

Dart

  • fix invalid syntax in gitignore #​19341
  • [dart-dio] fix JsonObject missing on a generated code #​19130

Elixir

  • [Elixir] allow custom packageVersion #​19151

Go

  • Better handling of backtick in pattern #​19358
  • [Go] Set Default Values for Required Variables when a default is defined #​19232

Haskell

  • Add bytestring package to dependencies of generated haskell code #​19101

Java

  • [JAVA] use query parameter apikey if present #​19334
  • [JAVA] okhttp-gson client codegen ambiguous references for a component schema "Type" #​19328
  • Minor change to Helidon version handling allowing snapshot versions #​19320
  • [Java] Update ApiClient.mustache for retrofit2 + rxJava3 #​19266
  • [JAVA-CAMEL] revert broken xml change #​19259
  • Support Helidon SE 4 generation (clients and servers) #​19150
  • [okhttp-gson] migrate to jakarta.ws.rs #​19113
  • Remove thread unsafe statusCode and responseHeaders instance variables from apache http ApiClient #​19054

Julia

  • [julia] Add support for style, explode in query params #​19238

k6

  • [k6] Add authentication variables in headers and cookies #​19060

Kotlin

  • [kotlin-client][jackson] Add missing @​JsonEnumDefaultValue annotation to top-level enums #​19380
  • [bugfix][kotlin-wiremock] fix problems with range responses #​19309
  • [Kotlin] Update formParams.mustache to have List of MultipartBody.Part #​19287
  • [Kotlin][Spring] fix flag appendRequestToHandler with delegatePattern #​19206
  • adds support for x-pattern-message in kotlin-spring generator #​19134

PHP

  • [BUG] PHP Client - ObjectSerializer::buildQuery flattens array params resulting invalid URL params (param=a&param=b vs param[]=a&param[]=b) #​19236
  • php: Fix typedoc comment for headers in ApiException #​19217
  • feat(php-nextgen-client): add support for streaming #​19192

PowerShell

  • [PowerShell] Fix missing Content-Type header on a 204 response #​19340
  • [PowerShell] Fix response type on deserialization #​19331
  • [PowerShell][Bug] Fix issue #​18428 - [System.IO.FileInfo] object used in multipart/form-data submission does not support relative paths #​19269
  • [PowerShell] Support ApiKeyPrefix #​19133

Python

  • python-asyncio: update retry factors for actual exponential retries 19337
  • [Python] fix object arrays giving mypy error "Incompatible types in assignment" in to_dict() #​19223
  • Adding decimal support for python client generation #​19203
  • [python-fastapi] Fix api endpoint template #​19139

Swift

  • [swift5]Add array validation rule #​19242

TypeScript

  • feat(typescript-angular): add support for Angular V18.1 #​19228
  • [typescript-fetch] Fix code generation for oneOf cases without discriminator #​19219
  • [FIX][typescript-fetch] Fix duplicate imports for models with a discriminator #​19195

Ruby

  • [Ruby] Fix Content-Transfer-Encoding binary unpacking #​19132
  • [Ruby] Allow Overriding Accept Header #​19106

Rust

  • Make the rust hyper client Send so it can be used in rust threads more easily #​19375
  • [Rust Server] Allow configuration of multipart/form attachment size limit #​19371
  • [Rust Server] Sort operations so that the ones with fewest params come first #​19368
  • [Rust Server] Improve RFC 13341 compliance for multipart/related #​19355
  • Rust: Support Integer enums using Serde_repr #​19199
  • Upgrade rust-hyper to use hyper 1.0 #​19115

v7.7.0: released

Compare Source

v7.7.0 stable release comes with 140+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.

Here are some highlights for the changes included in the release. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Fix NPE in ModelUtils getType #​19014
  • Load vendorExtensions in the operation parameter #​18962
  • Never create inline model for allOf with single $ref #​18945
  • clone Schema using AnnotationUtils.clone with WA #​18867
  • [Enhancement] [Gradle Plugin] Allow templates from classpath Enhancement: Feature OpenAPI Generator Gradle Plugin #​14909

Android

  • [android][volley] Remove unused robolectric test dependency #​19022
  • [Android][Volley] Build fixes #​18899

C#

  • [csharp] Improved apiclient.mustache #​18915
  • [csharp] Refactor anyOf model template #​18901
  • [csharp] OneOf should handle Inheritance based type #​18892
  • [csharp][generichost] Add support for primitive composed #​18825
  • [csharp][generichost] Fixed parameter ordering #​18823
  • [csharp][generichost] Added framework support #​18776
  • [REQ] [ASPNETCORE] Add value types for the ASPNETCORE generator #​18646

C++

  • [cpp-restsdk] add support for oneOf via std::variant #​18821

Clojure

  • [clojure] Apply model/param/var name mappings #​18858

Crystal

  • [crystal-lang] Update dependencies to remedy build failure #​18755
  • [crystal-lang] Resolve type check compile error in ApiError #​18759

Dart

  • [Dart] Make dependency on http, collection and meta packages less strict #​18952
  • [dart] Apply var/param/model name mappings, handle single _ #​18860

Elixir

  • [Elixir] Fix generation issues and compilation warnings in Elixir generator #​18788

Erlang

  • [erlang-client] Apply var/param name mappings #​18859

Go

  • [Go] Fix an issue causing int array reference translated to an invalid type []Integer #​19013
  • [Golang] Move utility functions from client.mustache to utils.mustache #​19001

Haskell

  • [haskell-http-client] Support --name-mappings and handle _ name #​18944

JavaScript

  • [javascript-closure-angular] Change metadata to reflect beta status and non-existing xml capability in docs #​18834

Java

  • [Bug] [Java] Remove raw type compilation warnings when generating using jersey2 or jersey3 #​19033
  • [JAVA-SPRING] Avoid broken code due to duplicate rendering of @​Deprecated annotation with generateBuilders=true #​18917
  • Remove bean validation for uuid #​18900
  • Fix javaJaxRS template: remove deprecated in JDK9 method usage #​18728
  • [Spring] replace MultipartFile by Resource #​18509
  • [JAVA] ensure codegen fields and additionalProperties are not conflicting #​18935

JetBrians HTTP client

  • JetBrains HTTP Client - Adds support for query and header params and env file #​18844

Kotlin

  • [kotlin] Fix a leak in the ApiClient #​18997
  • [Kotlin] update ApiClient to register all adapters for GsonBuilder #​18965
  • [kotlin-server][javalin6] Add Javalin 6 support #​18928
  • [kotlin-wiremock] New generator for generating WireMock stubs using Kotlin #​18705
  • [kotlin] better oneOf, anyOf support #​18382

PHP

  • [PHP-SYMFONY] Debug Symfony version 7, enums ref, array of enums $ref and date assert #​19008
  • [php-slim4-server] fix php syntax error in RegisterRoutes class (missing semicolon) #​18863

Python

  • [Python] Allow Overriding Accept Header #​19025
  • [Python] Add Flag to Allow Ignoring Operation Servers #​18981
  • avoid setting debug property if not needed #​18872

Ruby

  • [Ruby] Add Flag to Allow Ignoring Operation Servers #​18934

Rust

  • fix(rust-server): remove duplicate allow(unused_imports) directive #​18983
  • [Rust-Axum] Use x-response-id if specified #​18906

Swift

  • [swift] Rename url & path variables to avoid collision #​18969
  • [Swift5] Add model name mapping #​18780

TypeScript

  • feat(typescript-angular): add support for Angular V18 #​18916
  • [typescript-fetch] fix Type error in oneOf when legacyDiscriminatorBehavior is false #​18877

Zaiper

  • Marketplace software zapier request middleware #​18907

v7.6.0: released

Compare Source

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

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

v7.5.0: released

Compare Source

General

  • Fix method naming for openapi normalizer, openapi ignore list option #​18348
  • Update parser to 2.1.19 #​18298
  • [normalizer] fix schemas incorrectly skipped #​18297
  • Add logic to simplify any type represented with oneof/anyof #​18268
  • Fix map parameter not a container #​18220

OpenAPI 3.1 spec (beta suppport)

C

  • [C] Optimize memory usage when printing JSON #​18072

C#

  • [csharp][generichost] Fixed operation parameter handling #​18322
  • [csharp] Fixed property naming convention for composed types #​18312
  • [csharp][generichost] Fixed bad reference to client utils #​18309

C++

  • [cpp-ue4] Handled nullable by setting the required tag, effectively making nullables optionals #​18168

Clojure

  • [Clojure] Handle both types of additional properties when getting type declaration #​18201

Dart

  • [dart] fix: Bearer and Basic auth interceptors case-insensitive scheme comparison #​17074

Go

  • [Go] fix allOf with multiple ref and discriminator #​18390
  • Update go-server template to include the conventional generated code line #​18304

Haskell

  • Fix string comparison in haskell servant generator #​18410
  • Haskell: JSON Query parameters #​18047

HTML

  • [html2] Fix blank responses in html document #​18356

Kotlin

  • Add support for modelNameMappings #​18342
  • [BUG] [kotlin-spring] Fixed escaped backticks in parameters using reserved words #​18318
  • Kotlin: Do not escape/sanitize quoted enum value #​18305
  • [kotliln-spring] Update dataClass.mustache #​18205

PHP

  • [php-symfony] Allow Symfony 7 / Remove EOL PHP / Bearer Fix #​18357
  • Remove param tag for non-existent parameter in ObjectSerializer #​18347

Postman

  • [POSTMAN] Deal with boolean fields #​18294

PowerShell

  • [PowerShell] (multipart/form-data request) and proxy behaviour #​18315
  • Fix proxy type #​18166

Python

  • [python] Update docs/ Markdown files for Classes to fix form typo and correct casing for class name when calling from_dict() #​18359
  • Python: Correctly serialize enum with its value #​18328
  • [python] Fix circular imports on AllOf generation #​18272
  • Specify named param for field defaults in Python Pydantic V1 generator #​18187

Java

  • Add Mutiny support to JaxRS #​18389
  • [Java] fix beanvalidation compilation failed when items type in array is int64 #​18379
  • [java][okhttp-gson] Fix oneof, anyof for array type #​18324
  • [JAXRS-SPEC] no @​Valid annotation on simple fields #​18302
  • [spring] Delegate Incorrectly generated when useOptional True #​18278
  • Update spring-context and spring-web to newer version #​18266
  • [JAVA][NATIVE] fix implements in oneOf/anyOf #​18248
  • [Java] Update okhttp3 from 4.10.0 to 4.12.0 to fix CVE-2023-3635 #​18235
  • Fix compile error in client properties configuration #​18232

JavaScript

  • [javascript] fix docs example quoting #​18349

R

  • [R][Client] allow to initialize enum classes without parameters #​18183
  • [R][Client] fix brackets for httr2 file_params #​18142
  • [R][Client] Allow API response to be NULL #​18141

Ruby

  • [ruby] Use Marcel to detect content-type in form-data file upload using faraday #​18243

Rust

  • [RUST-AXUM] fix generator not handling application/x-www-form-urlencoded request content #​18061

Scala

  • [Scala] added new scala-cask generator for the cask framework #​18344
  • scala-sttp4: fix for missing EnumNameSerializer for inner enum definitions #​18160

Swift

  • [swift] Added solution for deprecated "UTTypeCopyPreferredTagWithClass" #​18330
  • SWIFT5: sort query items alphabetically to allow better server side caching of requests with same URL #​18239

TypeScript

  • Update versions for typescript-node and remove vulnerable test package #​18334
  • Fix: in typescript fixes additionalProperties handling when extending models #​18164
  • fix(typescript-axios): Serialize boolean to string in form-data file upload #​18084
  • Fix: Always serialise Map and Set to object and array in typescript-axios #​17790

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/openapi-generator-version branch from 7eceb0f to 3533927 Compare May 20, 2024 11:42
@renovate renovate bot changed the title Update openapi-generator-version to v7.5.0 Update openapi-generator-version to v7.6.0 May 20, 2024
@renovate renovate bot changed the title Update openapi-generator-version to v7.6.0 Update openapi-generator-version to v7.7.0 Jul 2, 2024
@renovate renovate bot force-pushed the renovate/openapi-generator-version branch from 3533927 to 7f65883 Compare July 2, 2024 08:47
@renovate renovate bot force-pushed the renovate/openapi-generator-version branch from 7f65883 to a7f47da Compare August 19, 2024 11:21
@renovate renovate bot changed the title Update openapi-generator-version to v7.7.0 Update openapi-generator-version to v7.8.0 Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants