Skip to content

Paper E2E v1.2.0

Choose a tag to compare

@Drownek Drownek released this 15 Feb 12:31

This release focuses on runner reliability, environment validation improvements, and Gradle plugin enhancements.

Bug Fixes

  • Runner stability: Added a server process check before sending the stop command, preventing errors when the process is already gone
  • Environment validation: JAVA_PATH is now validated alongside SERVER_JAR and SERVER_DIR during startup checks, catching misconfigurations early
  • Error output capture: Added a stderr handler to the server process so error output is now captured and logged instead of silently dropped
  • Safe shutdown: Removed a redundant process.exit(1) call and corrected the exit code used in the safety-net shutdown path
  • Bot version: The Mineflayer bot now reads the Minecraft version from MC_VERSION environment variable instead of the hardcoded '1.19.4'
  • GuiItemLocator: Fixed internal calls to deprecated GuiWrapper methods

Features

  • Plugin download support: Gradle plugin E2E tasks (TestE2ETask) can now download plugins as part of the task setup
  • MC_VERSION env var: MC_VERSION is now passed through as an environment variable in TestE2ETask, enabling version-aware test runs

Refactoring

  • Replaced waitAbit with pollForAbsence for error validation in the runner, making error-state detection more reliable and deterministic
  • Renamed test file extensions for consistency across the project

Chore

  • Added a version bump script and aligned project versioning