Skip to content

3.21.1

Latest

Choose a tag to compare

@cardillan cardillan released this 21 Nov 09:51

3.21.1 – 2026-11-21

Fixed

  • Fixed internal error unrolling a loop (#546).

Changed

  • Breaking: changes to the logging functions.
    • The emitLog() function now generates log messages into the per-processor in-game log maintained by the Mlog Dev Tools mod. Messages generated this way may be inspected by the processor's log viewer.
    • The systemLog() function emits messages into the Mindustry log, which was previously done by the emitLog() function.
    • These instructions target Mlog Dev Tools mod version 0.12.0 and higher.
  • Changed the interpretation of the value in (min ... max) expressions: the expression is now compiled as a range membership check instead of a list membership check, producing better code. Previously, only value in min ... max (without the parentheses) was compiled as a range membership check. The semantic of both expressions is the same.
  • Changed the update detection for the command-line tool: the list of updates is read from a webapp endpoint.
  • A custom Base64 encoder/decoder is used instead of the supplied by the JDK, to avoid the Java4Shell vulnerability regardless of the JRE used to run the command-line tool.