Skip to content

Allow service-api-components-bundle v2 - #23

Merged
diego1auto merged 1 commit into
auto1-oss:masterfrom
i-pidhorodetskyi:PUR1-3530-allow-components-bundle-v2
Sep 18, 2026
Merged

diego1auto merged 1 commit into
auto1-oss:masterfrom
i-pidhorodetskyi:PUR1-3530-allow-components-bundle-v2

Conversation

@i-pidhorodetskyi

Copy link
Copy Markdown
Contributor

What

Allow this bundle to be installed with auto1-oss/service-api-components-bundle v2.

Changes

  • Widen the auto1-oss/service-api-components-bundle constraint from ^1.0 to ^1.0|^2.0.

Tests

No code change, so no test change. composer validate passes; the remaining warnings are pre-existing unbound >= constraints on symfony packages.

Out of scope

  • Any code change for the components-bundle v2 API.
  • The ^1.0 pins in the other consumers of this package.

🤖 Generated with Claude Code

- Widen the auto1-oss/service-api-components-bundle constraint to ^1.0|^2.0

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

@dmitry-auto1 dmitry-auto1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Checked that components-bundle v2.0.0 (PR #20 — drop PHP 7.4/Symfony 4 to unblock monolog 3) is API-compatible with this bundle: the only BC breaks in v2 are LoggerAwareTrait::setLogger() becoming : void and the NameConverter/Encoder signature updates. This repo has no fluent setLogger() calls (all call sites are DI calls: entries or tests that ignore the return value) and does not extend the changed NameConverter/Encoder classes. Keeping ^1.0 in the union preserves PHP 7 resolvability.

@diego1auto diego1auto changed the title PUR1-3530: Allow service-api-components-bundle v2 Allow service-api-components-bundle v2 Sep 18, 2026
@diego1auto
diego1auto merged commit bd63d2a into auto1-oss:master Sep 18, 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.

4 participants