Skip to content

chore: keep leafs/http, anchor and exception below v5 on v4.x - #337

Merged
mychidarko merged 2 commits into
v4.xfrom
chore/pin-pre-v5-deps-v4.x
Oct 17, 2026
Merged

mychidarko merged 2 commits into
v4.xfrom
chore/pin-pre-v5-deps-v4.x

Conversation

@mychidarko

@mychidarko mychidarko commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #335 / #336, approved by Michael on 17 Oct.

composer.json on v4.x required leafs/http, leafs/anchor and leafs/exception as "*", so a fresh install (and CI's composer update) now pulls the v5 packages. leafs/exception 5.x no longer ships Leaf\Exception\Run, so the suite fails with "class not found" before any test runs.

This constrains all three to <5.0. Nothing else changes.

Resolved locally with composer update -W:

  • leafs/alchemy 4.0
  • leafs/anchor 1.6.2
  • leafs/exception 3.7
  • leafs/form 3.2
  • leafs/fs 4.2
  • leafs/http 4.2

Full suite: 11 passed (incl. the #327 regression tests).

Second commit (CI only): on PHP 8.4+ CI's composer update picks symfony/console 8.x, which removed Application::add(). The branch's alchemy (bin/alchemy line 22) still calls it, so composer run test dies with "Call to undefined method ...Application::add()" before any test runs. require-dev now has "symfony/console": "<8.0" (resolves to 7.4 on 8.4). Dev-only; no effect on anyone installing leafs/leaf. (The commit message says "alchemy 4"; on v3.x it's alchemy 2, same cause.)

@mychidarko
mychidarko merged commit dc487c6 into v4.x Oct 17, 2026
37 checks passed
@mychidarko
mychidarko deleted the chore/pin-pre-v5-deps-v4.x branch October 17, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant