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

chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v7.11.0 #361

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 22, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
org.openapitools:openapi-generator-maven-plugin build minor 7.10.0 -> 7.11.0 OpenSSF Scorecard

Release Notes

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

v7.11.0: released

Compare Source

v7.11.0 stable release (breaking changes with fallbacks) comes with 150+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.

This release comes with 3 breaking changes (with fallback).

This release comes with 1 new generator:

  • Added PostgreSQL schema generator (BETA) (New generator) #​20255

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

General

  • [normalizer] Better handling of schema with just description (any type) #​20461
  • Set removeEnumValuePrefix to false by default (Breaking change (with fallback)) #​20452
  • On enum name sanitize, convert colon to underscore (Breaking change (with fallback)) #​20391
  • Various enhancements, bug fixes to default codegen and maven plugin #​20388
  • fix (DefaultGenerator): Handle "$ref" parameter reference to identify parameter ID #​20240
  • Trim the input of operationId filter in OpenAPINormalizer #​20189
  • Resolve inline schemas in webhooks #​20165

C

  • [C][Client] Make custom CMAKE_C_FLAGS work #​20432
  • C overhead fixes #​20402
  • [C][Client] Remove broken intToStr() macro, update samples #​20383
  • Fix a few issues with the C generator (part 8) #​20378
  • Fix a few issues with the C generator (part 7) #​20366
  • Fix a few issues with the C generator (part 6) #​20332
  • Fix a few issues with the C generator (part 5) #​20313
  • Fix a few issues with the C generator (part 4) #​20289
  • Fix a few issues with the C generator (part 3) #​20269
  • Fix a few issues with the C generator (part 2) #​20227
  • Fix a few issues with the C generator (part 1 version 2) #​14434

C#

  • [csharp] Removed .net6 and .net7 (Decommission) #​20449
  • [C#] avoid duplicated header in csharp client (restsharp) #​20421
  • [ASPNETCORE] Add support for central package version management #​20403
  • [csharp] bump version to .net8 #​20384
  • Fixes body of FormParameters in multipart/form-data requests without files sent by generated C# (RestSharp) #​20351
  • [csharp] add .net9 support #​20270

C++

  • [cpprestsdk] Implement Enum inside Objects #​19919

Elixir

Elm

  • [Elm] Fix not compiling all elm files in test suite #​20191
  • [Elm] Fix not sanitizing param name #​20171
  • [Elm] Add missing operation summary #​20147

Erlang

  • Erlang server – minor fix to return type and generated doc #​20197
  • Updated README.mustache template for the Erlang server generator #​20138

Go

  • [BUG] [Go-server] invalid composite literal type string #​20467
  • Update crypto dependencies to newer versions in go-gin-server #​20326
  • [BUG][GO] use value receiver for JSON marshal #​19962

Java

  • [JAVA] Address rawtypes and this-escape warnings in generated API clients #​20466
  • Adds @​Nullable annotation to Spring Boot generator #​20345
  • Depend on jackson-jakarta-rs-json-provider when useJakartaEe is true in build.gradle for Java resttemplate generator #​20322
  • Fix bug in common path prefix calculation in Helidon generators #​20310
  • [Java] Add option to fallback to legacy enum naming #​20172
  • [Java] [Microprofile] Add Json-B polymorphism type info annotations #​20164
  • Deprecate micronaut openapi generator (Decommission) #​20107
  • [Java] Remove bean validation annotations on builder #​19580

JavaScript

  • Add option skipDefaultUserAgent to skip setting user agent in JS client #​20367

Julia

  • Fix Julia template for binary string #​20355

Kotlin

  • Bump Ktor to 3.0.3 for Kotlin client #​20410
  • [kotlin-spring] Adds useFlowForArrayReturnType option for reactive mode #​20409
  • Add gradle wrapper v8.1.1 to kotlin-spring #​20341
  • [kotlin][client] add option to support non-ascii headers in okhttp #​20331
  • [kotlin][client] support text/plain in okhttp #​20250
  • [Kotlin Server] Update Ktor to the next major version 3 #​20245
  • fix: register gson CustomTypeAdapterFactory in kotlin-client if generateOneOfAnyOfWrappers enabled #​20217

PHP

  • [php-nextgen] Use conditional access for enumref query params #​20418
  • [PHP][php-nextgen] Improve method parameter typing #​20361
  • [FIX][PHP-NEXTGEN] Missing tagged union discriminator literal #​20356
  • [PHP][php-nextgen] List all possible return types #​20335
  • [PHP][php-nextgen] Fix usage of enums in parameters #​20294
  • [php] Follow PHP8.4 update: declared nullable parameters explicitly #​20243
  • PHP8.4 comptible, php-symfony resources #​20162

PostgreSQL

  • Added PostgreSQL schema generator (BETA) (New generator) #​20255

Python

  • [Python] adjust multi-constraint dependency syntax to comply with PEP 508 #​20458
  • Fix package name in FastAPI README template #​20371
  • [python,aiohttp] Don't create persistent aiohttp.ClientSession in init #​20292
  • [Python] Bug Fix - model_generic templates to have valid imports for polymorphism #​20273
  • Fix(Python): Add custom exceptions for HTTP status codes 409 (Conflict) and 422 (Unprocessable Entity) #​20251
  • [python-flask] Change requestBody argument name to 'body' in controllers #​20207
  • [python] Encode list query params #​20148
  • [BUG][PYTHON] fix setup.py when no paths are specified #​20098

R

  • [R] fix to-list and to-json functionality #​20132
  • [R] improve binary/text response handling #​20131

Rust

  • [Rust] harden against name collisions while generate cleaner rust code #​20396
  • [Rust-Axum][Breaking Change] Improve the oneOf model generator (Breaking change (with fallback)) #​20336
  • [Rust] Fixed rust keyword params in reqwest-trait library #​20333
  • [Rust] Added path param normalization for kebab case path params #​20309
  • [Rust-Axum] Fix: handling non-lowercase Header in Request/Response #​20178
  • [Rust-Axum] Support quotes in string literals #​20176
  • [Rust-Axum] Dynamically set the types of integer literals #​20133
  • [rust][reqwest] support binary type for download #​20031

Swift

  • [swift] fix: URLSession template correctly percent-encodes http body for application/x-www-form-urlencoded #​20381
  • [swift5] Add access control to the properties of validation rules #​20380
  • [swift6] Change Response to struct #​20185
  • [swift5] Add Identifiable conformance to supported models #​20179
  • [swift6] Add checked Sendable conformance to Validation structs #​20150
  • [swift6] Add conditional Hashable conformance to NullEncodable #​20149

TypeScript

  • [typescript-fetch] fix API signature return type for empty 20x responses #​20249
  • fix(typescript-angular): fix new angular dependency cli option usage #​20247
  • feat(typescript-angular): add support for Angular V19 #​20205
  • Fix dangerous destructuration in typescript-nestjs services #​20157
  • [typescript-axios] Add User-Agent Header to Default Axios #​20067

Scala

  • Improve handling of pekko versions in scala-akka-http-server generator #​20277

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update 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 requested a review from a team as a code owner January 22, 2025 09:30
@renovate renovate bot added the Type: Dependency The issue is a dependency update. label Jan 22, 2025
Copy link
Contributor

coderabbitai bot commented Jan 22, 2025

Walkthrough

This pull request involves a minor version update of the openapi-generator-maven-plugin from version 7.10.0 to 7.11.0 in the project's pom.xml file. The change is a straightforward dependency version bump within the project's Maven configuration, targeting the OpenAPI Generator Maven Plugin.

Changes

File Change Summary
refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/pom.xml Updated openapi-generator-maven-plugin version from 7.10.0 to 7.11.0

Possibly related issues

  • #Dependency Dashboard #2: This issue specifically mentions scheduling updates for the org.openapitools:openapi-generator-maven-plugin to version 7.11.0, which directly aligns with the current PR's changes.

Possibly related PRs

Suggested labels

Component: Integrations

Suggested reviewers

  • devtobi

Poem

🐰 A Maven update hops along,
OpenAPI Generator's version song,
From 7.10 to 7.11 we leap,
Dependencies dancing, no time to sleep!
Renovate's bot gives a cheerful wink,
Code evolves faster than you can think! 🚀


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the Component: Integrations Issues regarding the Integrations label Jan 22, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/pom.xml (1)

Line range hint 59-62: Consider enabling API tests and documentation generation.

While not directly related to this version update, consider enabling generateApiTests and generateApiDocumentation. The OpenAPI generator can automatically generate:

  • Integration tests to verify API client behavior
  • Documentation to improve maintainability

This would help catch any breaking changes in future updates early in the development cycle.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 348552f and 3ee7963.

📒 Files selected for processing (1)
  • refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/pom.xml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build-maven
🔇 Additional comments (1)
refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/pom.xml (1)

13-13: LGTM! Verify generated code after update.

The version update from 7.10.0 to 7.11.0 looks good. However, since this release includes breaking changes, please ensure to:

  1. Test the generated client code thoroughly
  2. Verify that the Jakarta EE integration still works as expected
  3. Check if any of the Java-specific improvements in this release require configuration adjustments

Run this script to verify the current OpenAPI spec and configuration:

✅ Verification successful

Version 7.11.0 update is safe to proceed

The version update is verified as safe based on:

  • Identical version already working in address-integration-client with similar configuration
  • All used configuration options are compatible with 7.11.0
  • No deprecated features or breaking changes affect the current setup
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify OpenAPI spec and configuration compatibility

# Check if the OpenAPI spec exists
if [ -f "refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/src/main/api/api-docs.json" ]; then
    echo "Found OpenAPI spec file"
    
    # Check for potential breaking changes in the configuration
    rg -A 5 "useJakartaEe|supportingFiles|webclient" refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/src/main/api/api-docs.json
else
    echo "OpenAPI spec file not found"
fi

# Look for any existing workarounds or custom configurations
rg -A 5 "openapi-generator-maven-plugin" --type xml

Length of output: 8476


Script:

#!/bin/bash
# Compare plugin configurations between modules using 7.11.0

echo "=== cosys-integration-client configuration ==="
rg -A 20 "<plugin>.*openapi-generator-maven-plugin" refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/pom.xml

echo -e "\n=== address-integration-client configuration ==="
rg -A 20 "<plugin>.*openapi-generator-maven-plugin" refarch-integrations/refarch-address-integration/refarch-address-integration-client/pom.xml

Length of output: 503


Script:

#!/bin/bash
# Search for plugin configurations with broader pattern

echo "=== cosys-integration-client configuration ==="
rg -B 2 -A 30 "<plugins>" refarch-integrations/refarch-cosys-integration/refarch-cosys-integration-client/pom.xml

echo -e "\n=== address-integration-client configuration ==="
rg -B 2 -A 30 "<plugins>" refarch-integrations/refarch-address-integration/refarch-address-integration-client/pom.xml

Length of output: 4021

Copy link
Member

@devtobi devtobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devtobi devtobi merged commit aaa5996 into main Jan 22, 2025
11 checks passed
@devtobi devtobi deleted the renovate/refarch-cosys-integration-client-openapi-generator-maven-plugin.version branch January 22, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Integrations Issues regarding the Integrations Type: Dependency The issue is a dependency update.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant