From 17a7fe1d16395ffadedb5160cce1d73ef9b98216 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 8 Mar 2024 17:32:26 +1300 Subject: [PATCH] API Loosen constraints --- README.md | 3 ++- composer.json | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 17575ea..729d127 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ ## Silverstripe Recipe Solr search [![CI](https://github.com/silverstripe/recipe-solr-search/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/recipe-solr-search/actions/workflows/ci.yml) -[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) This Silverstripe CMS Recipe is designed to enable Solr-based fulltext search. It's specifically designed to work with Silverstripe Cloud Platforms, but may be functional in other environments as well. It's the successor of [`cwp/cwp-recipe-search`](https://github.com/silverstripe/cwp-recipe-search). @@ -20,6 +19,8 @@ You can also opt in to install the following suggested (not required) modules: This can be either added to an existing project or used as a project base for creating a Silverstripe CMS install. +*Unlike other Silverstripe recipes, this recipe does not constrain Silverstripe core dependencies to a particular minor version line.* + ## Installation ```sh diff --git a/composer.json b/composer.json index 720077a..0348060 100644 --- a/composer.json +++ b/composer.json @@ -6,11 +6,11 @@ "license": "BSD-3-Clause", "require": { "php": "^8.1", - "silverstripe/framework": "5.x-dev", - "silverstripe/recipe-plugin": "2.x-dev", - "cwp/cwp-search": "2.x-dev", - "silverstripe/fulltextsearch": "4.x-dev", - "symbiote/silverstripe-queuedjobs": "5.x-dev" + "silverstripe/framework": "^5", + "silverstripe/recipe-plugin": "^2", + "cwp/cwp-search": "^2", + "silverstripe/fulltextsearch": "^4", + "symbiote/silverstripe-queuedjobs": "^5" }, "require-dev": { "phpunit/phpunit": "^9.5",