github locutusjs/locutus v3.0.15

7 hours ago

Released: 2026-03-13. Diff.
Version rationale: patch for a scoped PHP runtime-correctness fix plus parity-surface inventory hardening without import-model or runtime floor changes.

Infrastructure

  • Added a parity-adjacent runtime-surface guardrail that discovers callable functions from the target PHP 8.3 Docker image, compares them against Locutus' shipped PHP surface, hard-fails on unclassified Locutus-only extras, and reports runtime-only functions as inspiration rather than CI failures.
  • Added a shared runtime-surface policy inventory in docs/runtime-surface-policy.yml so intentional shipped extras, wanted runtime-only functions, and explicitly out-of-scope runtime functions are tracked separately from the CI hard-fail rules.

Fixes

  • Fixed php/array/asort and php/array/arsort for real JavaScript arrays by degrading preserved-key sorts to reindexed array output where JS cannot represent PHP's numeric-key iteration order, and corrected arsort(..., 'SORT_NUMERIC') to actually sort descending.

Don't miss a new locutus release

NewReleases is sending notifications on new releases.