Skip to content

Updated Upstream (BungeeCord) - #883

Merged
electronicboy merged 4 commits into
PaperMC:masterfrom
electronicboy:update-upstream-17d5d8cd
Nov 14, 2026
Merged

electronicboy merged 4 commits into
PaperMC:masterfrom
electronicboy:update-upstream-17d5d8cd

Conversation

@electronicboy

Copy link
Copy Markdown
Member

Updates BungeeCord to 17d5d8cd, which includes 26.3 release support and upstream's new bundler bootstrap. That bootstrap no longer ships one shaded jar: libraries and modules go into the jar as separate jars and are unpacked at startup.

Patch changes

  • POM Changes: adapted to the bundler bootstrap. Upstream hard-codes the bungeecord-module- prefix in the assembly descriptor, Bootstrap and BootstrapModuleSource; these are renamed to waterfall-module-, otherwise the modules would be unpacked as libraries and never loaded. The Java version check upstream removed is dropped too.
  • Better Decompression Sanity: moved onto the JDK Inflater, now that upstream has removed native zlib (#3962/#3981).
  • Use Log4j2 / TerminalConsoleAppender:
    • Dropped the shade plugin-cache transformer and the Multi-Release manifest entry. Both only existed to make shading work, and libraries are no longer shaded.
    • Aligned JLine on upstream's 4.4.8. TerminalConsoleAppender was pulling in jline-reader 3.20.0 beside jline-terminal 4.4.0.
    • Removed the redundant slf4j-jdk14 binding. Unshaded, both it and log4j-slf4j-impl are visible and SLF4J logged a multiple-bindings error on every start; Log4j's binding was already the one in use.

Dropped patches

  • Fetch modules from the Waterfall API endpoint: upstream deleted JenkinsModuleSource. Modules are now bundled and extracted from the jar, and existing jenkins:// entries in modules.yml are migrated to bootstrap://.
  • Use the protocol-exact game mode encoding in Login and Respawn: superseded by upstream #4033. The proxy only copies previousGameMode between packets on the same connection, so upstream's raw var int is byte-exact.
  • Temp: Enable release protocol: upstream now enables 26.3 (777) itself.

Patches after 0005 are renumbered as a result.

Fill publishing

  • Builds publish under version family 26, version 26.1. That version may need creating on the Fill side before the first publish.
  • Per-module downloads are removed. The module jars no longer exist at the configured paths, and the modules ship inside the server jar.

Testing

  • mvn clean package, including tests, passes.
  • In a real terminal the bundled jar unpacks its libraries, extracts and loads all seven modules, binds the listener and shuts down cleanly. No terminal-fallback warning or SLF4J error appears.
  • publishToFill registers under JDK 21, but no publish was run.
  • Console tab-completion with JLine 4.4.8 still needs a manual check.

Upstream has released updates that appear to apply and compile correctly

BungeeCord Changes:
17d5d8cd #3886, #4046: Fix score component serialization for 1.21.5+
fc101fe7 Bump the maven group across 1 directory with 3 updates (#4045)
8bc44e29 Move weekly releases earlier to account for GitHub delays
8334c929 Add archive of historic build numbers
2cd8859f Don't also upload artifact for release builds
7721a5c6 Don't duplicate Maven build for internal PRs
3fe097fd Allow updates to gson and guava
a10faa05 Bump GitHub workflows to ubuntu-26.04
e113fe02 Allow updates to maven-resolver-provider
ef1d1c9c Update LibraryLoader URLClassLoader constructor
02b96fe6 Create release jars via GitHub Actions
55e1b0bb Remove deprecated method call in LibraryLoader
25fe2754 #4043: Set parent classloader for LibraryLoader
81157ea0 Bump the maven group with 2 updates (#4041)
75bb0301 Include all bootstrap files
17d3a254 Implement bootstrap system
da0a6e8a Add try ... finally
e5491d31 Bump the maven group across 1 directory with 4 updates (#4039)
55ac3718 #3962, #3981: Remove zlib in favour of Java 11+ ByteBuffer methods
c2f28c75 Bump the maven group across 1 directory with 3 updates (#4037)
5ac14b3d Restore asm dependency convergence exclusion
acc3dbd6 Use Maven SessionBuilderSupplier
6a540a1a Update to maven-resolver 2
5caaf4cd Update Scriptus to 0.5.1 for better Maven 3.10 support
5430e4a1 #4016: Improve cookie and login payload API
df0dc41d Bump org.jline:jline in the maven group across 1 directory
199d3923 Bump org.slf4j:slf4j-api from 2.0.19 to 2.0.20
e632baad Bump org.jline:jline from 4.4.3 to 4.4.5
15e5a5fd Bump org.apache.maven.plugins:maven-install-plugin from 3.1.4 to 3.2.0
2c330ff8 Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.4 to 3.2.0
1277e14f Update dependabot.yml to group PRs
c73f5ce7 #4033: Encode gamemode type as varint for 26.3+
502ca712 #4025: Bump org.slf4j:slf4j-api from 2.0.18 to 2.0.19
bd052fbb #3990: Bump org.ow2.asm:asm-commons from 9.9.1 to 9.10.1
feaf9875 Minecraft 26.3 support

Waterfall Changes:
- POM Changes: adapt to the new bundler bootstrap; rename the hard-coded
  bungeecord-module- prefixes to waterfall-module- so modules are bundled
  and extracted correctly; drop the Java version check removed upstream
- Better Decompression Sanity: rebase onto the JDK Inflater
- Log4j2/TCA: drop the shade transformer and Multi-Release manifest entry,
  no longer needed now that libraries are not shaded
- Drop "Fetch modules from the Waterfall API endpoint": upstream removed
  JenkinsModuleSource; modules now ship inside the jar
- Drop "Use the protocol-exact game mode encoding in Login and Respawn":
  superseded by upstream #4033
- Drop "Temp: Enable release protocol": upstream enables 26.3 itself
Modules are now bundled inside the server jar and extracted at startup,
and upstream dropped the module finalName, so the per-module downloads
pointed at files that no longer exist. Stop publishing them.

Publish under version family 26 / version 26.1 to match the proxy.
TerminalConsoleAppender 1.3.0 pulls in jline-reader 3.20.0 while the
terminal implementations were pinned to 4.4.0 and upstream's log module
uses 4.4.8. Exclude TCA's jline-reader and pin jline-reader,
jline-terminal-ffm and jline-terminal-jni to 4.4.8.
log4j-slf4j-impl already binds SLF4J to Log4j. With libraries no longer
shaded, both bindings are visible and SLF4J logs a multiple-bindings
error on every startup; Log4j's binding was winning anyway.
@electronicboy
electronicboy merged commit 5dbc635 into PaperMC:master Nov 14, 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.

1 participant