Skip to content

Release 6.5.2: fix Maven Central publish + Gradle JDK 21 + OpenAPI 3.1 refinements - #383

Merged
jemacineiras merged 1 commit into
sngular:mainfrom
joseegman-idoneea:fix/release-6.5.1
Jul 24, 2026
Merged

Release 6.5.2: fix Maven Central publish + Gradle JDK 21 + OpenAPI 3.1 refinements#383
jemacineiras merged 1 commit into
sngular:mainfrom
joseegman-idoneea:fix/release-6.5.1

Conversation

@joseegman-idoneea

@joseegman-idoneea joseegman-idoneea commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Release-enabling fixes after the 6.5.0 publish failure, plus small OpenAPI 3.1 refinements. Cuts version 6.5.2 (Maven Central versions are immutable, so the failed 6.5.0 deployment cannot be re-published under the same number).

Build / release fixes

  • Maven Central publish: central-publishing-maven-plugin 0.6.00.11.0. 0.6.0 fails deserializing the Central API response (UnrecognizedPropertyException on the new warnings field); the bundle uploaded fine, only the post-upload status poll failed.
  • Gradle release CI: gradle-portal-push workflow now sets up JDK 21 (was 17). It runs mvn install on the engine, which compiles with release 21 → previously failed with "release version 21 not supported".

OpenAPI 3.1 refinements (deferred items)

  • prefixItems tuples generate List<T> when all positions share one type (else List<Object>).
  • description/example/examples now propagate to enum fields too (they previously bypassed the metadata step), matching every other property.

Version

6.5.06.5.2 across engine, Maven plugin and Gradle plugin.

Verification

Full multiapi-engine suite: 110/110 (mvn clean test).

🤖 Generated with Claude Code

Release fix:
- Bump central-publishing-maven-plugin 0.6.0 -> 0.11.0. Version 0.6.0 fails
  deserializing the Sonatype Central API response with
  UnrecognizedPropertyException on the new `warnings` field (the client lacks
  @JsonIgnoreProperties(ignoreUnknown=true)); newer versions tolerate it. The
  bundle uploaded fine — only the post-upload status parse failed.

Minor improvement (deferred OpenAPI 3.1 item):
- prefixItems tuples now generate List<T> when every position shares one type,
  instead of always List<Object> (mixed/untypable still degrade to Object).

Bumps version 6.5.0 -> 6.5.1 (Maven Central versions are immutable, so the
failed 6.5.0 publish requires a fresh version).

Full multiapi-engine suite: 110/110 (mvn clean test).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 13 complexity · 0 duplication

Metric Results
Complexity 13
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@jemacineiras jemacineiras added bug Something isn't working enhancement New feature or request release Adding this tag to a PR will cause a release on merge labels Jul 24, 2026
@jemacineiras jemacineiras self-assigned this Jul 24, 2026
@jemacineiras
jemacineiras self-requested a review July 24, 2026 06:45
@jemacineiras
jemacineiras merged commit 4261296 into sngular:main Jul 24, 2026
6 of 7 checks passed
@joseegman-idoneea joseegman-idoneea changed the title Fix Maven Central publish (central-publishing 0.11.0) + prefixItems element type (6.5.1) Release 6.5.2: fix Maven Central publish + Gradle JDK 21 + OpenAPI 3.1 refinements Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request release Adding this tag to a PR will cause a release on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants