Skip to content

Migrate ServerFeatures to Adventure 5#69

Merged
remdui merged 11 commits into
mainfrom
adventure-5-compatibility
Jul 24, 2026
Merged

Migrate ServerFeatures to Adventure 5#69
remdui merged 11 commits into
mainfrom
adventure-5-compatibility

Conversation

@remdui

@remdui remdui commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

Migrates ServerFeatures from Adventure 4.26.1 to Adventure 5.2.0 and moves the platform target from Paper 26.1.2 to Paper 26.2, the first Paper release line that natively ships Adventure 5.

Changes

  • import net.kyori:adventure-bom:5.2.0
  • align Adventure API, MiniMessage, Gson, legacy and plain serializers through the BOM
  • target paper-api:26.2.build.65-beta
  • update NBTComponent inspection for the Adventure 5 generic signature
  • exclude EssentialsX's legacy Adventure platform bridge and obsolete serializer transitives
  • enforce that no Adventure 4.x core modules resolve transitively
  • add an explicit CI dependency-tree check and persistent Maven diagnostics

Root cause

Paper 26.1.2 is compiled for Adventure 4. Forcing Adventure 5 into that dependency graph removes MessageType while inherited Paper API signatures still reference it, which caused widespread proxy-based test failures. Paper 26.2 natively ships Adventure 5 and removes that binary mismatch.

Compatibility impact

This changes the minimum supported Paper line to 26.2. Adventure remains provided and is supplied by Paper at runtime.

Validation

  • mvn -U -B -ntp verify
  • 391 tests passed, 5 skipped
  • CI lint passed
  • resolved Adventure dependency graph contains only Adventure 5.2.0 core modules

@remdui
remdui marked this pull request as ready for review July 24, 2026 19:30
Removed verification step for Adventure dependency alignment from CI workflow.

Signed-off-by: Remy Duijsens <remyduijsens@gmail.com>
@remdui
remdui merged commit f90c406 into main Jul 24, 2026
6 checks passed
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