Skip to content

DevTools 1.0.14

Choose a tag to compare

@github-actions github-actions released this 14 Oct 00:14
· 17 commits to main since this release
v1.0.14
628368d

DevTools 1.0.14

DevTools loads folder plugins and shared development virions on Axolotl-PM and builds standalone plugin PHARs.

Changes

  • Allow dynamic construction from a local static class map whose values are explicit ::class references immediately selected by the factory.
  • Preserve exact __CLASS__ !== 'original\\Class' packaging sentinels used to detect namespace shading while continuing to reject unrelated identity strings.
  • Keep mutable, runtime-supplied and otherwise unproven dynamic class maps rejected.

Previous changes

  • Permit a variable operand in instanceof, whose runtime type check does not autoload a class; computed dynamic targets remain rejected.
  • Rewrite only the exact Fiber::getCurrent(), non-null guard and suspend() pattern to the native \Fiber::suspend() call.
  • Rewrite ReflectionClass($className) to reflect the bound object only when the same non-static closure immediately assigned the variable from get_called_class(). Permit ReflectionClass($this) when a non-static method or closure has a bound object.
  • Preserve fail-closed checks for other dynamic static calls, arbitrary reflection class strings and computed instanceof targets.

These narrow rules clear the relevant VAPM Fiber, reflection and instanceof patterns in libBedrock's prepared dependency sources. Its build still stops at a VAPM autoloader path stored as a string that no longer matches after namespace shading. No complete libBedrock PHAR or release eligibility is claimed.

Install

Download DevTools-1.0.14.phar and verify its SHA-256 with SHA256SUMS.txt. Stop the server, place the file at plugins/DevTools.phar, start the server, and run /devtools status.

The examples ZIP contains the HelloShared plugin and SharedGreeting library. Follow the example guide to load source and build a standalone PHAR.

Compatibility and verification

PHP 8.1 is the source and build baseline. The release candidate gate runs PHPStan max, syntax, style, unit tests, documentation checks and artifact validation on the selected commit. The runtime validation guide describes the pinned Axolotl-PM test and its limits.

DevTools 1.0.12 remains available for rollback. A successful dependency preparation or build does not prove a server boot or gameplay behavior. Runtime evidence for this release is recorded separately from candidate metadata.

Release assets

  • DevTools-1.0.14.phar contains the installable plugin.
  • DevTools-examples-1.0.14.zip contains examples, a build workflow and a coding agent template.
  • RELEASE_NOTES.md describes this release.
  • candidate.json identifies the source commit, build run and asset hashes.
  • SHA256SUMS.txt lists checksums.

Documentation