From f1ad5bd9cf4ecaac86495ff4a629fe2e1a80fcdd Mon Sep 17 00:00:00 2001 From: Alexander Lisachenko Date: Tue, 18 Aug 2026 12:45:48 +0000 Subject: [PATCH] chore(deps): require stable z-engine releases instead of dev branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit z-engine now ships stable tags for both supported PHP minors (8.4.2 on the 8.4 line, 8.5.0 on the 8.5 line), so the development-branch constraint is no longer needed. - require "lisachenko/z-engine": "~8.4.2 || ~8.5.0" — one stable release line per supported PHP minor. The tilde admits patch releases inside a line but never the next minor line, which would be built for a PHP this package does not claim to support; each z-engine tag also declares its own ~8.4.0/~8.5.0 platform requirement, so only one line can ever satisfy a given runtime. - drop the root "minimum-stability": "dev" / "prefer-stable": true pair — nothing in require is a development branch any more. - drop the "repositories" VCS entry for z-engine: it was there to reach the development branches directly, and every version this package accepts is published on Packagist. - README and AGENTS.md updated to describe release lines rather than branches. Verified on both minors: PHP 8.4.19 resolves z-engine 8.4.2 and PHP 8.5.9 resolves 8.5.0, 190/190 tests pass on each (including the forked IPC, arena and registry suites). Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_013foRd1XwLwqjUSkSWeWrMe --- AGENTS.md | 2 +- README.md | 6 +++--- composer.json | 12 ++---------- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3f9a978..629d5cd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -191,7 +191,7 @@ makes one of them "need updating", the change is wrong until proven otherwise. values that must travel do so as arena words or fixed-size socket records. One arena, one store and one notification plane per process — the plane must exist before any fork. - **Both minors, every time.** PHP 8.4 and 8.5 are supported in parallel, each with its own - z-engine line (`8.4.x-dev || 8.5.x-dev`, resolved by Composer against the running PHP). + z-engine line (`~8.4.2 || ~8.5.0`, resolved by Composer against the running PHP). Run the suite on both before proposing a change: ```bash diff --git a/README.md b/README.md index dfed027..742d02c 100644 --- a/README.md +++ b/README.md @@ -541,6 +541,6 @@ rests on; [AGENTS.md](AGENTS.md) states the rules a change has to keep. ## Requirements - PHP 8.4 or 8.5 (NTS) with `ext-ffi` -- `lisachenko/z-engine` — required as `8.4.x-dev || 8.5.x-dev`; z-engine tracks - one PHP minor per line, and Composer resolves the line matching the running - PHP (the `8.4` branch on PHP 8.4, `master` — aliased `8.5.x-dev` — on PHP 8.5) +- `lisachenko/z-engine` — required as `~8.4.2 || ~8.5.0`; z-engine tracks + one PHP minor per release line, and Composer resolves the stable line matching + the running PHP (`8.4.x` on PHP 8.4, `8.5.x` on PHP 8.5) diff --git a/composer.json b/composer.json index 67df89f..01e6a0a 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Shared data extension for PHP: persistent memory and request-surviving objects", "type": "library", "require": { - "lisachenko/z-engine": "8.4.x-dev || 8.5.x-dev", + "lisachenko/z-engine": "~8.4.2 || ~8.5.0", "php": "^8.4", "ext-ffi": "*" }, @@ -29,13 +29,5 @@ }, "scripts": { "test": "phpunit" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/lisachenko/z-engine" - } - ] + } }