Skip to content

chore(deps): update openapi-generator to v7.6.0 #3148

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

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 9, 2024

Mend Renovate

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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 - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner June 9, 2024 06:35
@renovate renovate bot requested review from morganleroi and millotp and removed request for a team June 9, 2024 06:35
@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 9, 2024

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@renovate renovate bot force-pushed the renovate/openapi-generator branch 6 times, most recently from 84eebb8 to 0b82c0b Compare June 10, 2024 06:45
Base automatically changed from chore/renovateBaseBranch to main June 10, 2024 08:48
@renovate renovate bot changed the title chore(deps): update openapi-generator to v7.6.0 chore(deps): update openapi-generator to v7.6.0 - autoclosed Jun 10, 2024
@renovate renovate bot closed this Jun 10, 2024
@renovate renovate bot deleted the renovate/openapi-generator branch June 10, 2024 08:49
@renovate renovate bot changed the title chore(deps): update openapi-generator to v7.6.0 - autoclosed chore(deps): update openapi-generator to v7.6.0 Jun 14, 2024
@renovate renovate bot reopened this Jun 14, 2024
@renovate renovate bot restored the renovate/openapi-generator branch June 14, 2024 14:06
@renovate renovate bot force-pushed the renovate/openapi-generator branch from 0b82c0b to a874ffe Compare June 14, 2024 14:07
@renovate renovate bot changed the base branch from main to chore/renovateBaseBranch June 14, 2024 14:07
@renovate renovate bot force-pushed the renovate/openapi-generator branch 7 times, most recently from 3af738e to 4787731 Compare June 15, 2024 17:58
Copy link
Contributor Author

renovate bot commented Jun 16, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@millotp millotp force-pushed the renovate/openapi-generator branch from 6ccd09b to 098838c Compare June 17, 2024 12:16
Copy link

@millotp millotp merged commit 0c5cd26 into chore/renovateBaseBranch Jun 17, 2024
17 of 18 checks passed
@millotp millotp deleted the renovate/openapi-generator branch June 17, 2024 12:29
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.

2 participants