Skip to content

Commit

Permalink
Reinstate support for Scout 7 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatseykanets authored Sep 24, 2020
1 parent 9e3995e commit 12b1ff5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
matrix:
php: [7.2, 7.3, 7.4]
laravel: [^6.0, ^7.0, ^8.0]
scout: [^7.0, ^8.0]
exclude:
- php: 7.2
laravel: ^8.0
- laravel: ^8.0
scout: ^7.0

name: Test with PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
name: Test PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Scout ${{ matrix.scout }}

steps:
- name: Checkout code
Expand All @@ -38,6 +41,7 @@ jobs:
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
composer require "illuminate/database=${{ matrix.laravel }}" --no-update
composer require "illuminate/support=${{ matrix.laravel }}" --no-update
composer require "laravel/scout=${{ matrix.scout }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Run tests
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [7.2.0](https://github.com/pmatseykanets/laravel-scout-postgres/releases/tag/v7.2.0) - 2020-09-24

### Changed

- Reinstated support for Scout 7

## [7.1.0](https://github.com/pmatseykanets/laravel-scout-postgres/releases/tag/v7.1.0) - 2020-09-14

### Added
Expand Down
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,8 @@ This package makes it easy to use native PostgreSQL Full Text Search capabilitie

You can install the package via composer:

**Scout 8**

``` bash
composer require pmatseykanets/laravel-scout-postgres:7
```

For Laravel 8 support use `7.1` an up.

``` bash
composer require pmatseykanets/laravel-scout-postgres:7.1
```

**Scout 7**

``` bash
composer require pmatseykanets/laravel-scout-postgres:5
composer require pmatseykanets/laravel-scout-postgres
```

### Laravel
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"illuminate/contracts": "~6.0|~7.0|~8.0",
"illuminate/database": "~6.0|~7.0|~8.0",
"illuminate/support": "~6.0|~7.0|~8.0",
"laravel/scout": "~8.0"
"laravel/scout": "~7.0|~8.0"
},
"require-dev": {
"phpunit/phpunit": "^8.3",
Expand Down

0 comments on commit 12b1ff5

Please sign in to comment.