Skip to content

Widen composer/installers to 2.x and correct the demo plugin's requirements - #1565

Open
matteotrubini wants to merge 2 commits into
wintercms:developfrom
matteotrubini:fix/composer-requirements
Open

matteotrubini wants to merge 2 commits into
wintercms:developfrom
matteotrubini:fix/composer-requirements

Conversation

@matteotrubini

@matteotrubini matteotrubini commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Allows composer/installers 2.x: the three core modules move from ~1.11.0 to ^1.11 || ^2.0.

Also corrects plugins/winter/demo/composer.json.

Summary by CodeRabbit

  • Compatibility
    • Backend, CMS, and System modules now support compatible composer/installers 1.11 and 2.x releases.
    • The Demo plugin now requires PHP 8.1 or later and Winter CMS and System 1.2.8 or later (or development builds). It also supports compatible composer/installers 1.11 and 2.x releases.

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 43b498b0-6764-4261-9a6d-16c5ca2bfee2
📥 Commits

Reviewing files that changed from the base of the PR and between 394ce2d and 3ce34e3.

📒 Files selected for processing (4)
  • modules/backend/composer.json
  • modules/cms/composer.json
  • modules/system/composer.json
  • plugins/winter/demo/composer.json

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.


Walkthrough

The backend, CMS, and system module manifests now allow composer/installers versions matching ^1.11 or ^2.0. The demo plugin manifest raises its PHP minimum to >=8.1, adds minimum requirements for the Winter CMS and System modules, and updates its composer/installers constraint to ^1.11 || ^2.0.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 3ce34

The manifests now allow installer v2 while retaining v1, and the demo's PHP and module requirements align with the root project. Available evidence shows v2.0.0 supports the Winter package types and paths used here, with no concrete merge-blocking conflict identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes both main changes: allowing composer/installers 2.x and correcting the demo plugin requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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