Skip to content

Upgrading opensearch-project/opensearch-php to ^2.4 in composer.json #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: v3.x
Choose a base branch
from

Conversation

nitish-deckspire
Copy link

No description provided.

@nitish-deckspire nitish-deckspire requested a review from pdphilip as a code owner May 1, 2025 18:04
@pdphilip
Copy link
Owner

pdphilip commented Jun 4, 2025

Hey @nitish-deckspire - to upgrade to 2.4, the Client Builder will need to be replaced in the Connection.php file.

It's been deprecated for later removal, see: https://github.com/opensearch-project/opensearch-php/blob/main/src/OpenSearch/ClientBuilder.php#L52

Feel free to update this PR with the replacement. If you're not up for it then I'll close this off. Let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants