Skip to content

feat: Silverstripe 6 compatibility (4.0)#21

Merged
jsirish merged 1 commit into
masterfrom
feature/ss6-compat
May 11, 2026
Merged

feat: Silverstripe 6 compatibility (4.0)#21
jsirish merged 1 commit into
masterfrom
feature/ss6-compat

Conversation

@jsirish
Copy link
Copy Markdown
Member

@jsirish jsirish commented May 9, 2026

Summary

BREAKING CHANGE: Drop Silverstripe 5 support. This is a new major version (4.0) requiring Silverstripe 6 only.

Changes

  • composer.json: framework ^6, elemental ^6, vendor-plugin ^3
  • require-dev: recipe-testing ^4
  • branch-alias: 4.x-dev
  • phpunit.xml.dist: Update to PHPUnit 11 format (source/include replaces deprecated filter/whitelist)
  • _config.php: Remove deprecated define() constants
  • README.md: Update requirements to Silverstripe 6
  • CI: Add SS6 test matrix with PHP 8.3

Version History

Version Silverstripe
4.x ^6
3.x ^5
2.x ^4

Copilot AI review requested due to automatic review settings May 9, 2026 05:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates this module’s Composer dependency constraints to allow installation on both Silverstripe 5 and Silverstripe 6 projects, aligning with the SS6 upgrade effort while keeping SS5 compatibility.

Changes:

  • Widened dnadesign/silverstripe-elemental and silverstripe/framework requirements to support ^5 || ^6.
  • Widened dev requirement silverstripe/recipe-testing to support ^3 || ^4.
  • Updated Composer branch alias from 3.x-dev to 4.x-dev.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jsirish jsirish force-pushed the feature/ss6-compat branch from 6523e35 to 4524144 Compare May 11, 2026 14:29
@jsirish jsirish changed the title feat: add Silverstripe 6 compatibility feat: Silverstripe 6 compatibility (4.0) May 11, 2026
BREAKING CHANGE: Drop Silverstripe 5 support, require SS6 only.

Changes:
- composer.json: framework ^6, elemental ^6, vendor-plugin ^3
- require-dev: recipe-testing ^4
- branch-alias: 4.x-dev
- phpunit.xml.dist: update to PHPUnit 11 format (source/include)
- _config.php: remove deprecated define() constants
- README: update requirements to SS6
- CI: add SS6 test matrix
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread composer.json
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
"dev-master": "4.x-dev"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The default branch is master — confirmed via gh api repos/dynamic/silverstripe-elemental-embedded-code --jq .default_branch. The dev-master alias is correct for this repository.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread composer.json
Comment on lines 28 to 32
"require": {
"dnadesign/silverstripe-elemental": "^5",
"silverstripe/framework": "^5"
"dnadesign/silverstripe-elemental": "^6",
"silverstripe/framework": "^6",
"silverstripe/vendor-plugin": "^3"
},
Comment thread README.md
Comment on lines +15 to 17
* silverstripe/recipe-cms: ^6
* dnadesign/silverstripe-elemental: ^6

@jsirish jsirish merged commit ea6e6f8 into master May 11, 2026
24 checks passed
@jsirish jsirish deleted the feature/ss6-compat branch May 11, 2026 15:31
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.

2 participants