Skip to content

build(deps): use CubeConverter 1.3.1 ViaVersion module - #492

Merged
RaphiMC merged 1 commit into
ViaVersionAddons:mainfrom
StackAnvil:stackanvil/0114-use-tagged-cubeconverter-viaversion-module
Nov 11, 2026
Merged

RaphiMC merged 1 commit into
ViaVersionAddons:mainfrom
StackAnvil:stackanvil/0114-use-tagged-cubeconverter-viaversion-module

Conversation

@AlexProgrammerDE

@AlexProgrammerDE AlexProgrammerDE commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

ViaBedrock currently pins a commit from CubeConverter's separate vv-json branch. Switch to the tagged ViaVersion Gson module built from shared sources on master.

Use com.github.oryxel1.CubeConverter:vv-json:1.3.1 instead of com.github.oryxel1:CubeConverter:8a7b73a8ed.
The named module preserves the ViaVersion Gson API and avoids the repository aggregate, which can include both Gson variants.
Keep transitive = false so ViaBedrock retains its dependency choices. No Java source changes are required.

CubeConverter 1.3.1 includes the merged null-parent fix from CubeConverter PR #8, alongside the geometry and rendering fixes already used by ViaBedrock.
Geometry with parent: null now retains its root and named child hierarchy instead of failing in JsonNull.getAsString().

Validation:

  • CubeConverter's tagged commit passes 23 tests per Gson backend on Java 17.
  • JitPack successfully builds and publishes the tagged modules.
  • Separate consumers compile and run against both public JitPack artifacts. Both preserve absent and null root parents and named child relationships through their public Gson APIs.
  • The standalone PR applies to current ViaBedrock main without StackAnvil setup. ./gradlew clean build passes on Java 25, including Checkstyle and tool compilation, against the public tagged JitPack artifact.
  • The full local stack compiles main, tool, and test sources and passes 20 focused model-resource, entity-binding, plane-geometry, and skin-provider tests.
  • The local published POM selects the matching StackAnvil ViaVersion module. StackAnvil setup and local tests are excluded from this PR.

Created with GPT-6.1 Sol in T3 Code through the Codex harness.

Replace the vv-json branch commit dependency with the named ViaVersion
Gson module from CubeConverter 1.3.1. Both Gson variants now build from
master, so ViaBedrock no longer relies on a separate converter branch.

Include the merged optional null-parent fix. Player geometry that encodes
an unparented root as parent:null now retains its model and child hierarchy
instead of failing in JsonNull.getAsString().

Keep transitive dependencies disabled to retain the host ViaVersion
dependency choices. The named vv-json module preserves the
com.viaversion.viaversion.libs.gson API and avoids the repository aggregate
that can include both conflicting CubeConverter variants.
https://github.com/oryxel1/CubeConverter/tree/1.3.1
@AlexProgrammerDE
AlexProgrammerDE force-pushed the stackanvil/0114-use-tagged-cubeconverter-viaversion-module branch from 85dd02d to 711036e Compare November 11, 2026 13:30
@AlexProgrammerDE AlexProgrammerDE changed the title build(deps): use the tagged CubeConverter ViaVersion module build(deps): use CubeConverter 1.3.1 ViaVersion module Nov 11, 2026
AlexProgrammerDE added a commit to StackAnvil/patches that referenced this pull request Nov 11, 2026
Save the standalone dependency update to com.github.oryxel1.CubeConverter:vv-json:1.3.0 and retain non-transitive resolution. Publish the CubeConverter master tag after verifying both Gson builds, then validate the public JitPack artifact through the upstream ViaBedrock build.

Advance ViaBedrock to current main and refresh affected patch context. Route both legacy and named CubeConverter declarations to the local ViaVersion module in StackAnvil setup. Keep that routing and the local regressions outside the upstream PR.

Verify full 111-patch replay, standalone build with Checkstyle and tool compilation, 20 focused local resource and skin regressions, and matching local POM coordinates. Upstream PR: ViaVersionAddons/ViaBedrock#492.
AlexProgrammerDE added a commit to StackAnvil/patches that referenced this pull request Nov 11, 2026
Advance CubeConverter to the merged null-parent fix and retire its local patch and sidecar. Tag the verified upstream commit as 1.3.1 and update the existing ViaBedrock dependency patch and PR to that public ViaVersion Gson module.

Verify 23 tests per Gson backend on the merged source, run null-parent consumers against both published JitPack modules, pass the standalone ViaBedrock build and 20 focused local regressions, and replay the complete local stack. Refresh the existing MoLang patch context for the dependency version change.

Upstream PR: ViaVersionAddons/ViaBedrock#492
@RaphiMC
RaphiMC merged commit 3b27966 into ViaVersionAddons:main Nov 11, 2026
1 check 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.

3 participants