Skip to content

Lenga 0.9.2

Choose a tag to compare

@amasiye amasiye released this 16 Nov 22:53

Lenga Engine v0.9.2

Release date: 2026-11-16

Lenga v0.9.2 is a security release. It changes the PHP that the editor and
runtime embed and nothing else. The work listed for v0.9.2 in the v0.9.1
notes ships in v0.10.0.

PHP 8.5.12

The editor and runtime embed PHP 8.5.12 on macOS and Windows. Lenga v0.9.1
embedded PHP 8.5.0 on macOS and a development build of PHP 8.6.0 from
December 2025 on Windows. Neither has the security fixes PHP released in
2026, among them CVE-2026-109618 and CVE-2026-109619 (PHP2Shell), fixed in
8.5.12. php.net rates PHP2Shell critical for PHP that serves web requests;
Lenga's embedded PHP serves none. Other fixes in 8.5.1 to 8.5.12 cover code a
game can reach when it fetches or reads outside data, such as OpenSSL host
name checks and HTTP redirects.

The release is recorded once, in tools/php/php.version, with the SHA-256
of its source archive in tools/php/php-source.sha256. The build stops when
it is given any other PHP, and a test checks the PHP library the programs
load. tools/php/build-macos-embed.sh builds the macOS library.

Removed: tools/web-spike/php.version, whose version the Web build now takes
from tools/php/php.version.

Windows

  • PHP 8.5.12 replaces the 8.6.0 development build. It is built from the same
    php.net source archive as the macOS library, with the same extensions.
  • fileinfo loads from ext\php_fileinfo.dll, which the editor, the runtime,
    the SDK and exported games now carry. PHP's Windows build makes it a
    separate library, and 0.9.1 never loaded that folder.
  • Removed: curl and sodium, which the 0.9.1 development build held on
    Windows and which macOS never had.
  • Removed: the fixed list of php8.dll, libssh2.dll and nghttp2.dll that
    export, packaging and SDK validation required. They now take the libraries
    the PHP install itself holds.

No Build Machine Paths

The editor and the runtime no longer find anything through paths of the
machine that built them. 0.9.1 held the build checkout's path and the build
tree's runtime and player launcher paths, and found its interface fonts
through them. 0.9.2 finds its fonts, runtime and player launcher beside
itself. Source paths of Lenga, PHP, Jolt and Box2D are recorded relative to
their own folders.

Known limit on macOS: the editor and the runtime in the macOS package still
carry a linker debug map that names folders of the build machine, among them
the folder the PHP library was built in. The programs never read it. The
Windows SDK holds no such path.

Upgrade Guidance

Install v0.9.2 over v0.9.1. Projects open and run unchanged.

Known Limit On macOS

The macOS package needs macOS 26 or later. The OpenSSL, libxml2 and libiconv
libraries it carries come from Homebrew, which builds them for macOS 26, so
the package raises its minimum from 11.0 to 26.0. The editor, the runtime and
the PHP library are built for macOS 11.

Known Limit In Exports

An export copies the project's own composer.json as it stands. When that
file names a Composer path repository, the exported build holds that folder's
path. 0.9.1 exports did the same.

Verification

  • macOS, arm64: editor, runtime and tests build; 22 of 22 C++ tests pass,
    among them the check of the PHP library the programs load; the SDK and
    Lenga-macos-arm64.pkg build. The package was checked for build-machine
    paths with a text scan, which does not read the linker debug map; that map
    names build-machine folders (see No Build Machine Paths). The runtime from the package ran a 0.9 copy of the
    Pong sample; the editor from the package started on it and recorded it as
    the open project, with no window capture.
  • Windows, x64: 22 of 22 C++ tests pass; SDK validation passes and none of
    its 772 files holds a path of the build machine; the installer builds and
    holds none either. From the staged SDK, the editor shows "Lenga | 0.9.2",
    Play starts the runtime beside it, and an export runs at 60 FPS with PHP
    8.5.12 from its own folder.
  • Not run: installing either package, and an export on macOS.