chore(deps): require stable z-engine releases instead of dev branches - #17
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. - README, AGENTS.md, CONTRIBUTING.md and the CI comment now describe release lines rather than the 8.4 branch and master. This package never carried root stability flags — the explicit dev constraint supplied its own — so nothing else changes; installing it no longer pulls a moving branch, and the "PHP 8.6 nightly installs but cannot touch the engine" rule is unaffected. Verified on both minors: PHP 8.4.19 resolves z-engine 8.4.2 and PHP 8.5.9 resolves 8.5.0, 164/164 engine-suite tests pass on each. 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", with README,AGENTS.md,CONTRIBUTING.mdand the CI comment updated to describe release lines rather than "the8.4branch andmaster".Why the tilde and not a caret
Rule 1 in
AGENTS.mdis unchanged: 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 — which would quietly turn "8.6 nightly installs but cannot touch the engine" into "8.6 nightly installs an engine binding that does not match the runtime".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.This package never carried root
minimum-stability/prefer-stable— an explicit dev constraint inrequiresupplies its own stability flag — so nothing else in the manifest changes. What does change for consumers:composer require --dev lisachenko/userland-php-genericsno longer drags a moving branch into their tree.Testing
Engine suite (
tests/, minustests/PHPStan/), both minors:No segfaults or bus errors on either minor.
Generated by Claude Code