chore(deps): require stable z-engine releases instead of dev branches - #30
Merged
Merged
Conversation
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013foRd1XwLwqjUSkSWeWrMe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
z-engine now ships stable tags for both supported PHP minors —
8.4.2on the 8.4 line and8.5.0on the 8.5 line — so this package no longer has to consume development branches."lisachenko/z-engine": "8.4.x-dev || 8.5.x-dev"→"~8.4.2 || ~8.5.0""minimum-stability": "dev"/"prefer-stable": truedroppedrepositoriesVCS entry pointing at the z-engine GitHub repo dropped — it existed to reach the development branches directly, and every version this package now accepts is on Packagist (verified by installing with the entry removed on both minors)Why the tilde and not a caret
One z-engine release line per supported PHP minor:
~8.4.2admits patch releases inside the 8.4 line but never the 8.5 line, and~8.5.0does the same for 8.5. A caret would span both lines and any future one, so a z-engine built for PHP 8.6 could be installed here before this package claims to support 8.6.Resolution stays automatic: each z-engine tag declares its own platform requirement (
~8.4.0for 8.4.x,~8.5.0for 8.5.x), so only one line can satisfy a given runtime, andCore::init()still enforces the exact match at boot.Downstream note
native-php-coroutinesconsumes this package asdev-mainand cannot reach a stable z-engine until this lands: its own~8.4.2 || ~8.5.0constraint is currently intersected with the dev-only requirement published here, which forcesdev-master. Once this is merged, the coroutines PR resolves the real tags with no further change (verified locally against this branch through a path repository).Testing
The full suite on both minors, including the forked IPC, arena and registry tests:
No segfaults, bus errors or hung children on either minor.
Generated by Claude Code