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 dependency org.openapitools:openapi-generator-maven-plugin to v6 #8

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 3, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.openapitools:openapi-generator-maven-plugin 5.3.0 -> 6.2.1 age adoption passing confidence

Release Notes

openapitools/openapi-generator

v6.2.1

Compare Source

v6.2.1 is a patch release with 140+ commits including bug fixes and enhancements for 10+ programming languages. kotlin client generator now also supports Vert.x library. As always we appreciate the contributions from the community.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General
C#
  • [csharp-netcore] Allowing user to set client package #​13785
  • [csharp] Fixed data type for maps of maps #​13701
Crystal
  • [Crystal] Map AnyType to Object #​13737
  • [Crystal] Allow double colons in model name #​13736
Elixir
  • Elixir: Improve generated API options docs #​13478
Elm
  • [elm] add function to allow more fine grained error handling #​13773
Go
JavaScript
Java
Kotlin
PHP
Python
  • [python] fixes required prop in composed schema, prop not in properties, addProps unset #​13819
  • [python] Fixes endpoint overload type hint + required property not in properties #​13790
  • [python] Fixes bugs #​13581
  • [python] fix for issue #​13722: send body for application/x-www-form-urlencoded data #​13723
R
  • Better error handling in the R client #​13800
Rust
  • [rust] [rust-server] More abstract functions including integer fitting #​13503
  • [rust] Fix generation for optional and nullable fields (double option pattern) #​13177
Swift
  • [swift5] update new minimum OS supported versions #​13667
  • [swift5] fix generation of multiple security definitions #​13617

v6.2.0

Compare Source

v6.2.0 is a minor release with one important breaking change (with fallback). The python generator has been refactored (replaced with python-experimental) with breaking changes. Please give it a try and let us know if you've any feedback.

Given that python-experimental contains breaking changes, users can fallback to python-prior after this PR if they prefer not to upgrade at the moment for whatever reasons.

After the PR, the future development of python (which follows a JSON schema focused design) will be moved to a new project named "openapi-json-schema-generator" under https://github.com/openapi-json-schema-tools. If you've any questions, feedback or issues, please open a ticket. Anyone wants to contribute a client/server generator with a focus on JSON schema should contribute to "openapi-json-schema-generator".

At the same time, @​wing328 is leading an effort to create a new Python client generator based on the design of other popular clients in this project such as Java, C#, PHP, Ruby and more to make the overall developer experience more consistent. The goal is to have the new Python client generator replacing/sunsetting all existing python client generators in the openapi-generator project at the moment for easier maintenance.

Python

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

v6.1.0

Compare Source

v6.1.0, which contains breaking changes with fallback, includes 280+ PRs covering 20+ programming languages from the community.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Update jackson-databind to newer version #​13391
  • Adds $ref data to schema classes #​13163
  • Allow override CodegenConfigurator in GenerateTask in OpenAPI Generator Gradle Plugin #​13140
  • Fixes fromProperty so it retrieves the correct instance depending upon if the property is required or not 12858
  • Adds getIsBooleanSchemaTrue/getIsBooleanSchemaFalse to store is a schema was defined as boolean schema true or false 13341
  • Adds requiredVarsMap to store required vars even if those variables do not exist in properties or if additionalProperties is false 13117

Avro

  • Avro fix arrays with items as a ref to defined enum #​13162

C

  • [C][Client] Treat "null" as a valid value for a field of a JSON map #​13352

C#

  • [csharp-netcore] To support Secret API key input as string #​13276
  • Added support for inheritance in Swashbuckle in ASP.NET Core #​12856

C++

  • [cpp-ue4] Support UE5 version of FTickerObjectBase #​13304
  • [cpp-pistache-server] Fix enum generation for mode useStructModel=true #​13249

Dart

  • Make "applyToParams" a Future + add "this." when decoding JSON #​13120

Go

  • [Go] Fix missing import for array/map of file #​13143

HTML

  • Fix syntax error in generated html #​13293

Java

  • fix: ensure Resteasy JAX-RS Response object closed #​13333
  • [jaxrs-spec] fix default values for array #​13076
  • [Java] apache-httpclient serialize support custom contentType #​13058

JavaScript

  • Combine javascript and javascript-apollo generators #​13270

k6

  • Better handling of NPE in k6 client generator #​13236

Kotlin

  • Fix generation of default array values for kotlin client #​13243

Perl

  • Fix Perl cannot string bind undef #​13114

PHP

  • [PHP] double curly braces bugfix #​12999
  • [PHP] Add support for server variables in operations #​12982

PowerShell

  • [powershell] cache model name for faster lookup #​12917

ProtoBuf

Python

  • [python-experimental] adds and uses regex patterns for json + filename detection 13357
  • [python-experimental] refactoring and type hint additions/improvements. instance["someProp"] type hints added
  • [python-experimental] verifies 11434 was fixed with test 13358
  • [python-experimental] improves json content-type detection 13356
  • [python-experimental] improves additionalProperties processing 13347
  • [python-experimental] adds endpoint generation by paths, eliminates duplicate endpoint generation 13007
  • [python-experimental] adds auto generated endpoint tests of serialization/deserialization 12875 13323 12988
  • [python-experimental] handles use case where tag exists on endpoint but does not exist in the spec tags section 13054
  • [python-experimental] improves docs, adds migration guide 13210
  • fix deepcopy for allOf schemas 13130

R

  • [R] support explode (true/false) in query array parameters #​13364
  • [R] Add httr2 support #​13005

Ruby

  • [Ruby] add useAutoload option to use autoload instead of require #​13153

Rust

  • [rust] [rust-server] Add AbstractRustCodegen (breaking changes with fallback) #​13231
  • Cleaned up cargo clippy warnings #​13011

Scala

  • [scala][sttp] fix enum generation for inline-enum of array #​13250

Swift

  • [swift5] distinguish (un-)authenticated requests #​13321

TypeScript

  • [typescript-nestjs] Upgrade to NestJS v8 (Breaking change with fallback) #​12937

v6.0.1

Compare Source

v6.0.1 is a patch release with enhancements, bug fixes covering 20 programming languages. As always, we appreciate the contributions from the awesome OpenAPI Generator community.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Idea plugin for marking source directories, and omitting gradle wrapper #​12711
  • Fix bugs in camelcase lambda, add tests for pascalcase #​12639
  • Add new option to customize inline model naming convention #​12562
  • Adds the ability to process and use model test cases, uses it in a new v3.0.3 unit test spec #​12619

C

  • [C][Client] Set the default value for the null json #​12620
  • [C][Client] Support free-form objects #​12557

C#

  • [csharp-netcore] fix: url escaping #​12739
  • [csharp-netcore] Add support for ComVisible, CLSCompliant attributes #​12733
  • Fix NPE when generating examples for parameter (object) #​12538

C++

  • [BUG] [CPP-UE4] Fix codegen for nested container types #​12747
  • [cpp-qt-client] Add support for AnyType objects #​12642

Crystal

  • [crystal][client] Skip generating operation examples when flag is set #​12539

Dart

  • [Dart][Client] Support parsing DateTime #​12433

Documentation

  • [html2] added recursion for nested objects #​12428

Elixir

Elm

  • Fix for invalid elm code for paths containing UUIDs #​12506

Go

  • [Go] use EqualFold instead instead of comparing strings in lower case #​12741

GraphQL

  • Graphql nodejs express server lists fixup #​12476

Haskell

  • [haskell-http-client] relax Aeson constraint to allow Aeson 1 #​12486

Java

  • Update jackson databind to 2.12.6.1 #​12698
  • [Java] Update jackson-databind-nullable to 0.2.3 #​12693
  • [Java] Update RESTEasy lib to newer version #​12688
  • Fix HTML-escaped token and authorization URLs in Java libraries #​12677
  • [java][okhttp-gson] Keep AST small when using builder #​12610
  • [Spring] Fix cookies in parameters are always generated as required #​12599

Kotlin

  • [Kotlin][Client] replace java.nio.* to avoid crash on Android API 25 and bellow #​12529
  • [Kotlin] fix invalid code when allOf is used #​12594

OCaml

PHP

PowerShel

  • [PowerShell] support enum integers #​12752

Python

  • Fixes double serialization bug in python-experimental #​12561
  • Adds sample client for v3.0.3 unit test spec including autogenerated model tests, test run in CI #​12619
  • Fixes GetItem not working for Client generated allOf model and broken since 5.2.0 #​12239
  • Use print() function in both Python 2 and Python 3 #​12467

Rust

  • Fixes double 'String' on string & UUID type #​12409

R

  • [R] Add toString method to oneOf/anyOf objects #​12727
  • [R] Fix nested oneOf/anyOf #​12723
  • [R] fix deserialization for models with special item names #​12658

Swift

  • [swift5] Make it possible to opt out of JSONEncodable conformance #​12664

TypeScript

  • [typescript-fetch] Support error handler in middleware #​12716
  • fix typescript node default enum #​12633

v6.0.0

Compare Source

We're happy to announce the release of v6.0.0 - a major release with lots of enhancements and bug fixes. More than 400 PRs contributed by the awesome OpenAPI Generator community have been included in this release.

For a list of breaking changes, please refer to the following:

For a list of generators/frameworks that have been deprecated/decommission, please refer to this list

General

  • [Inline model resolver] Better support for inline schemas in parameters #​12369
  • [Inline model resolver] better handling of inline responses and bug fixes #​12353
  • [Inline model resolver] Fix inline allOf in request body #​12348
  • [Inline model resolver] various improvements #​12293
  • [Inline model resolver] Better inline model resolver to handle inline schema in array item #​12104
  • Use LinkedHashMap for deterministic iteration order #​12230
  • Configure apiNameSuffix via maven/gradle plugins #​12062
  • fix: respect configured generator URL in swagger config #​12064
  • Process additionalProperties: true as arbitrary type instead of object #​11802

Ada

  • [Ada] Fix typo in final Info message #​11914

Android

C

  • [C][Client] Eliminate compiler warnings #​12260
  • [C][Client] Free list or map memory when json parsing fails #​11866

C#

  • [aspnetcore] Include appsettings.Development.json #​12217
  • [csharp-netcore] Add support for byte[] response deserialization #​12188
  • [csharp-netcore] Composed primitives support in generichost #​11924
  • [csharp-netcore] Fix incorrect FileParameter deserialization #​11850

C++

  • [cpp-qt][client] add support for primitives types body #​12301
  • [cpp-rest] better handling of property name with special characters #​12288
  • [C++][Pistache] Add support for validating arrays, use full namespace type with custom types #​12221
  • [cpp-restsdk] Change build folder structure to match include folder structure in installed client #​11487

Documentation

  • Add - Status colors in Wiki, Example per parameter #​12394
  • Confluence Wiki - Escape special characters #​11786

Dart

  • [dart] Bump min dio version to prevent unused import #​12354
  • [Dart] jaguar remove in 6.x #​10534

Elixir

  • Allow the baseUrl of elixir APIs to be overridden #​12268

Go

  • [GO] Fix exception in constructExampleCode with oneOf primitive type #​12362
  • [Go] fix oneOf naming #​11863

Haskell

  • [haskell-http-client] Update haskell-http-client generator to Aeson 2.x #​12309
  • Upgrade haskell-servant to latest LTS #​12092

Java

  • [java-micronaut] Allow default implementation to return HTTP 501 #​12365
  • Playframework oauth small upgrade #​12332
  • [java][resttemplate] avoid StringIndexOutOfBoundsException on empty HttpHeaders #​12327
  • [Micronaut] Improvements for Server and Client #​12297
  • [java] Add jersey3 support to the Java client #​12046
  • Upgrade to Spring Boot 2.6.6/2.5.12 and Spring Cloud 2021.0.1 #​12027
  • [java][jersey2] update junit from 4.x to 5.x (major upgrade) #​11898
  • [java native] Support arrays in QueryParameters deepObject style #​11699
  • Remove JDK7 support from Java Spring generators #​11561

JavaScript

Kotlin

  • [BUG][Kotlin-client] Handling default values of parameters #​12255
  • [kotlin-server][jaxrs-spec] Remove obsolete imports from API template #​11899
  • [kotlin][spring] Rename extension to conform to kebab-case #​1189
  • Remove JDK 6, 7 supports in kotlin templates #​11560

Perl

PHP

  • [php] Bump required PHP version to 7.4 #​12359
  • [php-slim4] Add minimal GitHub Action config #​11874
  • [PHP] Fix deprecations in PHP 8.1 #​11743
  • [php-slim4] Add lazy CORS implementation #​11941

Python

  • [python-experimental] fixes delete endpoint with no body use case #​12287
  • [python-flask] Fix mypy error type annotation needed #​12272
  • Fix issue with fastapi generator converting all fields to snake_case #​12261

PowerShell

  • [PowerShell] better enum model support #​12082

Protobuf

  • [Protobuf-Schema] Add enum prefix #​11548

R

  • [R] Use snake_case in method parameter names #​12390 Breaking change (without fallback)
  • [R] update .Rbuildignore with more files/directories #​12383
  • [R] fix warnings in DESCRIPTION #​12380

Ruby

  • [Ruby] Add support for faraday 2.x #​12112

Rust

  • Better handling of version in Rust client #​12284
  • [Rust][Server] Upgrade to tokio v1 #​11873

Scala

  • [Scala][sttp] various bug fixes #​12254
  • [scala-akka-http-server] model default value when field is not required #​12068

Swift

  • [swift5] Abstract away URLSession #​12110

TypeScript

  • [typescript-fetch] Support Sets in query parameters (when uniqueItems=true) #​12318
  • [typescript*] drop support typescript below 4.0 #​12123

wsdl

  • [Wsdl] Adding cli-option for generating different versions of WSDL-files regarding Media type versioning (content negotiation) #​12206

v5.4.0

Compare Source

v5.4.0 is the last stable release before next major release v6.0.0 scheduled in 2022 Q1/Q2. It comes many enhancements/bug fixes and 5 new generators/libraries:

Thanks for all the contributions from the OpenAPI Generator community.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Migrate to official Apache Maven Wrapper #​11381
  • Adds generator default template engine #​11366
  • Recursively search for types during import type collection in deeply nested schemas #​11221

Avro

  • Avro schema generation fix for properties with type ref to an enum #​11201

C

  • keyword conflict with zebos list_creat(), list_free() #​11190

C++

  • [CPP-QT-QHTTPENGINE Server] various bug fixes #​11177

C#

  • Improve example value handling in C# generators #​11355
  • [csharp-netcore] Fix: Add only first Authorization header #​11325
  • [BUG][csharp-netcore] Fix Multi Files for the same FormField #​11259
  • [csharp-netcore] Adding generic host library #​10627

Go

  • Handling golang client generation for oneOf with no discriminator and useOneOfDiscriminatorLookup is true #​11178

Java

  • [JAVA] new Feature interface: Documentation Provider and Annotation Library #​11258
  • Avoid using import mapping in model generation #​11217
  • [Java Spring OAS3] Fix numerous OAS3 related Bugs #​11181
  • Apache Camel Server Generator #​11162 (New Generator)
  • Change Helidon MP release in generated project from 1.x to 2.x #​11076
  • Add Micronaut server generator Enhancement: New generator #​10270

JavaScript

  • [JS][flow] update node-fetch to newer version #​11378

Kotlin

  • [KOTLIN][CLIENT] fix unused library additional properties on kotlin generator #​11328
  • [kotlin] Added fix for wrongly encoded backticks for reserved words when generating kotlin client #​11310
  • [kotlin-server][jax-rs] Added support for JAX-RS library into Kotlin Server generator #​10830

PHP

  • [PHP] Allow guzzlehttp/psr7 ^1.7 or ^2.0 #​11240
  • [php][bug] Fix DateTime microseconds bug in ObjectSerializer #​11213

Python

  • [Python] fix model to dict #​11234
  • feat(python-asyncio): add support for proxy config using system env vars #​11171
  • Adds python-experimental which uses dynamic base classes #​8325

Rust

  • Rust Client: Add support for collectionFormat="multi" #​11169

Scala

  • [scala-gatling] use the official Gradle plugin #​11208

Swift

  • Make moduleObject.mustache confirms to JSONEncodable #​11202
  • [swift5] Add property x-null-encodable extension for full control over encoding value/nil or nothing #​11141

TypeScript

  • [TypeScript Fetch] Default TypeScript fetch configuration to 3.6+ true #​11331
  • [typescript-angular] Support blob response types #​11085

v5.3.1

Compare Source

v5.3.1 is the last stable release in 2021. It comes many enhancements/bug fixes and 2 new generators/libraries:

Thanks for all the contributions from the OpenAPI Generator community. We would like to take this opportunity to wish everyone Happy Holdiays!

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Fixes paramName and dataType for request body anyType parameters #​11075
  • Compare HTTP auth security schema names case-insensitive #​10989
  • Better handling of NPE in parser when referencing invalid schema #​10882

Bash

C

  • [C][Client] Support a custom data type (IntOrString) #​11074
  • [C][Client] Use cpack to build deb package #​10935

C#

  • [C#] new Azure functions generator #​11020
  • [C#] Update C# dependencies to newer version #​10761
  • [csharp-netcore] Support Net 6.0 #​10634

C++

  • [cpp-pistache-server]: Fix build with pistache #​10829
  • [cpprestsdk] CMake build system improvements #​10660
  • [Qt][C++] Oauth2 Authorization Code Flow and Implicit Flow Support #​10183

Crystal

  • [crystal][client] Update crystal client gitignore.mustache with shards related files #​10698

Dart

  • [dart][dio][built_value] Fix missing serializer factory builders for additionalProperties #​11011
  • [dart-dio-next] Removes dioLibrary option #​10931

Go

Groovy

  • Fix build-info-extractor-gradle in groovy build.gradle #​10760

Kotlin

  • [kotlin][client] update request exceptions #​11065
  • [Kotlin] Fully qualified "Any" for enums in encode and decode function #​10985
  • [Kotlin][Multiplatform] Support custom Ktor HTTP client configuration #​10968
  • [kotlin][spring] Add validation to headers #​10703

Java

  • [java][okhttp-gson-nextgen] Better null handling in oneOf, anyOf model #​11056
  • Add operation level servers support for java okhttp-gson client #​10925
  • [Java][okhttp-gson] Support text/plain body #​10885
  • Fix library generation compatibility with Gradle 7.2 #​10716
  • [java][microprofile] update dependency to newer version #​10714
  • Allow Spring generated code to use new OAS 3 annotations #​9775

K6

  • [K6 Generator] various enhancements (request body example data extraction, support for generating scenario tests and load tests out of the box, and much more) #​11106

Php

  • [php-slim4] Bump required PHP version to 7.4 #​11039
  • [php-slim4] Switch to Packaged Body Parsing Middleware #​9562

PowerShell

  • [powershell] add file upload support #​10735

Protobuf

  • [Protobuf-Schema] Add numbered field number list switch #​10893
  • [Protobuf-Schema] Add enum as model support #​10868

Python

  • [Python] fix model.mustache import #​10988
  • [Python] Add option to select/detect content-type #​10978

Rust

  • [rust][client] fix breaking regression introduced by #​10432
  • [rust] Update to modern hyper and futures crates #​9919

Scala

  • [scala-akka-http-server] Fix array optional parameter invalid default value #​10676

Swift

  • [swift5][client] allow request cancellation and authentication flow to work together #​11019
  • [swift5] Refactor encodeToJSON #​10961

TypeScript

  • Fixed http errors deserialization #​10940
  • Support Angular 13 #​10877
  • Typescript saga immutablejs enhancements and small fixes #​10444

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 this update 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.

@ncovercash ncovercash merged commit 3ef3fdf into main Nov 3, 2022
@renovate renovate bot deleted the renovate/org.openapitools-openapi-generator-maven-plugin-6.x branch June 1, 2023 23:33
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.

1 participant