Skip to content

chore(composer): widen dependency ranges and alias master as 2.0-dev#76

Merged
paullla merged 1 commit into
Locastic:masterfrom
paullla:chore/widen-constraints
Jul 6, 2026
Merged

chore(composer): widen dependency ranges and alias master as 2.0-dev#76
paullla merged 1 commit into
Locastic:masterfrom
paullla:chore/widen-constraints

Conversation

@paullla

@paullla paullla commented Jul 6, 2026

Copy link
Copy Markdown
Member
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Issues relates to #73
License MIT

Problem

v1.4.1 narrowed the requirements to PHP >= 8.4 and API Platform ^4.2 in a patch release, stranding API Platform 3 and PHP 8.2/8.3 users on v1.4 although nothing in the code requires the newer platforms. The symfony/* constraints were unbound wildcards, the branch alias still said 1.0-dev, and the conflict rule targeted a misspelled package name (symfony/translations-contracts), so it never had any effect.

Changes

  • Widen requirements: php ^8.2, api-platform/symfony ^3.4 || ^4.0, doctrine/orm ^3.0, doctrine/doctrine-bundle ^2.13 || ^3.0, and real ranges (^6.4 || ^7.0 || ^8.0) for symfony/translation and symfony/dependency-injection instead of *.
  • Alias dev-master as 2.0-dev: the next release will be tagged v2.0.0.
  • Remove the dead conflict entry (misspelled package name, and the new symfony/translation floor makes it redundant anyway).
  • CI: expand the matrix to PHP 8.2-8.5, add a lowest-deps leg, add composer validate --strict, and drop the vestigial .env.test/sqlite steps (the suite is pure unit tests and needs neither).

Verification

Locally on PHP 8.4: composer update --prefer-lowest --prefer-stable resolves to api-platform/symfony 3.4.0, symfony 6.4, doctrine/orm 3.0.0, doctrine-bundle 2.13.0 and the suite passes 45/45; highest deps resolve to api-platform/symfony 4.3.15, symfony 8.1.1, orm 3.6.7, doctrine-bundle 3.2.4, also 45/45. composer validate --strict is clean.

v1.4.1 narrowed the requirements to PHP >= 8.4 and API Platform ^4.2 in
a patch release. Restore wide ranges: PHP ^8.2, api-platform/symfony
^3.4 || ^4.0, doctrine/orm ^3.0, doctrine-bundle ^2.13 || ^3.0, and
real version ranges for the symfony/* packages instead of wildcards.

Alias dev-master as 2.0-dev: the next release is v2.0.0.

Remove the conflict rule against symfony/translations-contracts: the
package name is misspelled (the real package is
symfony/translation-contracts) so it never had any effect, and the new
symfony/translation floor makes it redundant.

Expand CI to the supported PHP range (8.2 to 8.5) plus a lowest-deps
leg, and drop the vestigial .env.test and sqlite steps: the suite is
pure unit tests and needs neither.
@paullla paullla merged commit 32582b2 into Locastic:master Jul 6, 2026
5 checks passed
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