From f4655b41866802f727cec38fbcd3932f54da819f Mon Sep 17 00:00:00 2001 From: Jason Irish Date: Tue, 2 Dec 2025 00:51:43 -0600 Subject: [PATCH] feat: Silverstripe 6 compatibility (major version 4.0) 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 --- README.md | 4 ++-- _config.php | 3 +-- composer.json | 9 +++++---- phpunit.xml.dist | 16 ++++++++-------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1cbf64f..9e2ecca 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ A block to embed code like iFrames or Javascript on a page ## Requirements -* silverstripe/recipe-cms: ^5 -* dnadesign/silverstripe-elemental: ^5 +* silverstripe/recipe-cms: ^6 +* dnadesign/silverstripe-elemental: ^6 ## Installation diff --git a/_config.php b/_config.php index ddfee33..20cd56e 100644 --- a/_config.php +++ b/_config.php @@ -1,4 +1,3 @@ - + tests/ - - + + src/ - - tests/ - - - + +