Skip to content

v1.8.6

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 16:43
ba1635b

jdx v1.8.6 — Quilt and nested-jar fixes in resources --check, Spring Boot class names

Patch release. resources --check now checks quilt.mod.json as deeply as fabric.mod.json and stops flagging dependencies that ship inside a nested jar. Spring Boot fat jars and WARs index the app's own classes by their real name. Exit codes and listing shapes are unchanged.

Install

curl -fsSL https://raw.githubusercontent.com/MohammadMD1383/jdx/main/install-release.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/MohammadMD1383/jdx/main/install-release.ps1 | iex

Or download jdx-1.8.6-windows.zip from the assets below and run
install-release.ps1 / sh install-release.sh --tarball jdx-1.8.6-windows.zip.
Release installs self-update with jdx upgrade.

Releases are unsigned: expect a first-run warning — Unblock-File on
Windows (PowerShell), xattr -d com.apple.quarantine <install-dir>/jdx on
macOS.

Quilt metadata checked as deeply as Fabric (#200, #206)

resources --check now reports a missing schema_version or quilt_loader.group, an invalid quilt_loader.id, nested jars listed in quilt_loader.jars that are not in the jar, and mixin, jars, depends or quilt_loader of the wrong shape. A depends entry written as group:id is matched by its mod id, so org.quiltmc:quilt_loader is no longer flagged. Mixin plugins and refmaps in the configs mixin names were already checked and now have tests.

Dependencies inside nested jars count (#201, #203)

Fabric META-INF/jars, Forge META-INF/jarjar, Spring Boot BOOT-INF/lib and WAR WEB-INF/lib were already opened as their own roots; --check now reads their mod ids and provides when matching a declared dependency, so a library bundled with the mod is not flagged as missing. A dependency that is still absent, or whose nested jar could not be opened, keeps the warning.

Spring Boot / WAR classes by their real name (#204, #205)

Classes under BOOT-INF/classes/ (or WEB-INF/classes/) read as com.acme.App, not BOOT-INF.classes.com.acme.App, so jdx show com.acme.App --jars app.jar works. The prefix is stripped only when the jar has the layout (BOOT-INF/lib/, a Spring-Boot-Classes manifest attribute, or WEB-INF/lib/). Resource paths are listed as stored.

jdx does not remap: pass the Loom-mapped Minecraft jar with --jars.