Skip to content

Commit

Permalink
Update OpenSearch SDK to version 2.x (#3)
Browse files Browse the repository at this point in the history
* Update composer.json

* Updates readme to reflect correct supported version
  • Loading branch information
erikaraujo authored Apr 25, 2023
1 parent 8070986 commit 13acd27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.4, 8.0, 8.1]
php: [7.4, 8.0, 8.1, 8.2]
include:
- php: 7.4
testbench: 5.0
Expand All @@ -26,6 +26,10 @@ jobs:
- php: 8.1
testbench: 7.0
phpunit: 9.5

- php: 8.2
testbench: 8.5
phpunit: 10.1
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The official PHP OpenSearch client integrated with Laravel.
## Contents

* [Compatibility](#compatibility)
* [Installation](#installation)
* [Installation](#installation)
* [Configuration](#configuration)
* [Usage](#usage)

Expand All @@ -14,7 +14,7 @@ The official PHP OpenSearch client integrated with Laravel.
The current version of OpenSearch Client has been tested with the following configuration:

* PHP 7.4-8.x
* Opensearch 1.x
* Opensearch 2.x

## Installation

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"require": {
"php": "^7.4 || ^8.0",
"opensearch-project/opensearch-php": "^1.0"
"opensearch-project/opensearch-php": "^2.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down

0 comments on commit 13acd27

Please sign in to comment.