From e55d5582b87ccd372b2870374836ac925eb92f44 Mon Sep 17 00:00:00 2001 From: James Cocker Date: Fri, 16 Jul 2021 12:41:03 +0100 Subject: [PATCH] Seperate version for polyporphic extension --- README.md | 8 +++++++- composer.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0df358f..bab4918 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,10 @@ HomePage: - PurpleSpider\BasicGalleries\PhotoGalleryExtension gallery-title: Image Gallery gallery-cms-tab: Main -```` \ No newline at end of file +```` + +## Version Details + +* 0.* = Silverstripe 3 +* 1.* = Silverstripe 4 +* 2.* = Silverstripe 4 (Uses newer version of `PhotoGalleryExtension` with a polymorphic relation, so upgrading from 1 to 2 will break existing galleries.) \ No newline at end of file diff --git a/composer.json b/composer.json index d0a0092..1201f73 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "require": { "silverstripe/framework": "^4.4", "silverstripe/cms": "^4.4", - "purplespider/silverstripe-basic-gallery-extension": "^1" + "purplespider/silverstripe-basic-gallery-extension": "^3" }, "extra": { "expose": [