Skip to content

v6.0.0

Latest

Choose a tag to compare

@nvuillam nvuillam released this 09 Aug 15:28
6535a70

What's Changed

  • Breaking: Debug traces are now activated with NODE_DEBUG=java-caller instead of DEBUG=java-caller. The debug package has been replaced by Node's built-in util.debuglog, which only reads NODE_DEBUG from the environment the process is launched with (setting process.env.NODE_DEBUG at runtime no longer enables traces). The output format changes accordingly, from java-caller <message> +1ms to JAVA-CALLER <pid>: <message>.
  • Breaking: Minimum supported Node.js version is now 18 (engines previously declared >=12, while njre v3 already required >=18)
  • Reduce runtime dependencies from 17 packages to 10: remove fs-extra (replaced by node:fs) and debug (replaced by node:util), and upgrade yauzl so it no longer pulls buffer-crc32. Only njre and semver remain as direct dependencies.
  • Remove the which dev dependency, whose engines excluded the Node versions tested in CI
  • Fix npm run lint, broken since the ESLint v10 upgrade: @eslint/js and globals are required by eslint.config.js but were no longer installed transitively. They are now explicit dev dependencies, and CI runs npm run lint so the script cannot silently break again.

Pull Requests

  • Upgrade MegaLinter to v10 and install MegaLinter agent skills by @nvuillam in #183
  • Update all non-major dependencies by @renovate[bot] in #185
  • Update dependency njre to v3 by @renovate[bot] in #184
  • Update actions/setup-node action to v7 by @renovate[bot] in #180
  • Update dependency typescript to v7 by @renovate[bot] in #178
  • Update dependency eslint to v10 by @renovate[bot] in #150
  • Reduce runtime dependencies from 17 packages to 10 by @nvuillam in #186

Full Changelog: v5.0.0...v6.0.0