Skip to content

Commit

Permalink
API Loosen constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Mar 7, 2024
1 parent 2b7e3a5 commit ec8239e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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).

Expand All @@ -20,6 +19,18 @@ 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.*

If you wish to use a specific minor version of Silverstripe CMS, you can specify a version of `silverstripe/framework` in your project's `composer.json` file with tilde `~`. For example:

```json
// composer.json
// ...
"require": {
"silverstripe/framework": "~5.1",
// ...
```

## Installation

```sh
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ec8239e

Please sign in to comment.