Skip to content

v1.5.0: Java 11 Migration & Security Improvements

Choose a tag to compare

@mdw19873 mdw19873 released this 31 Oct 22:03
· 94 commits to master since this release

πŸ”’ Security & Breaking Changes

⚠️ BREAKING CHANGE

Java 11+ is now required (previously Java 8+). This allows us to use modern security features and updated dependencies.

πŸ›‘οΈ Security Fixes

  • Fixed log injection vulnerabilities (3 instances) - CWE-117
    • Implemented input validation for version parsing
    • Added comprehensive control character sanitization
  • Fixed uncaught NumberFormatException in version comparison
  • Addressed all CodeQL security alerts

πŸ“¦ Dependency Upgrades

Major Updates

  • H2 Database: 2.2.224 β†’ 2.4.240

    • Performance improvements
    • New features (DATETIMEOFFSET, JSON enhancements, IPv6 support)
    • Bug fixes and optimizer improvements
  • Mockito: 4.11.0 β†’ 5.15.2

    • Can now mock final classes/static methods by default
    • Better Java 11+ support
  • JaCoCo: 0.8.13 β†’ 0.8.14

    • Enhanced Kotlin support
    • Java 25/26 support

Build Tools

  • Maven Compiler Plugin updated to use <release> parameter for better API compatibility

πŸ” CI/CD & Quality Improvements

  • CodeQL Security Scanning: Automated security analysis on every commit

    • Using security-extended query suite (131 additional security queries)
    • Covers 32 additional CWE types
  • CodeQL Action: Upgraded v3 β†’ v4

    • Latest CodeQL bundle (2.23.3)
    • Node.js v24 runtime
  • Test Coverage: 55 tests (was 54)

    • Added test for integer overflow handling
    • Maintained 100% pass rate

🧹 Code Quality

  • Removed unused method parameters (cleaner API)
  • Improved error handling and logging
  • Enhanced test coverage for edge cases

πŸ“‹ What's Changed

Full Changelog: v1.4.0...v1.5.0

πŸ“₯ Installation

  1. Requirements:

    • Minecraft 1.13 - 1.21.x
    • Spigot/Paper/Purpur server
    • Java 11 or higher (Java 21 recommended)
  2. Download StormtrooperX-1.5.0.jar

  3. Place in your server's plugins/ folder

  4. Restart your server

⚠️ Upgrading from 1.4.x

  • Ensure your server is running Java 11 or higher
  • Configuration files are compatible (no changes needed)
  • Database will migrate automatically

πŸ” Security

For supported versions and security updates, see SECURITY.md