Skip to content
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

Swap usage of ClientInterface instead of Client #10

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

stevebauman
Copy link
Contributor

This PR swaps references to the Elasticsearch PHP package's final Client to its new v8.0 ClientInterface so that different implementations, fakes, and mocks can be returned for a bit easier testing.

This will likely require a new major version, but wanted to push it in case you're interested.

Let me know if you'd like anything changed. Thanks so much for your time! ❤️

@babenkoivan
Copy link
Owner

Hi @stevebauman, thank you for the PR. This makes total sense!

As you've mentioned, this would require a new major version for this and dependent packages. As the change is pretty small, I'd avoid releasing a major version until we have bigger changes in elastic-driver or elastic-driver-plus, which will probably happen with the release of the new Elasticsearch version.

I will keep it open for now and merge in the future, I hope this is fine 🙂

@stevebauman
Copy link
Contributor Author

Ok sounds good @babenkoivan! Thanks!

@github-actions github-actions bot added the stale Stale issue or pull request label Oct 30, 2023
Repository owner deleted a comment from github-actions bot Oct 30, 2023
@babenkoivan babenkoivan removed the stale Stale issue or pull request label Oct 30, 2023
@github-actions github-actions bot added the stale Stale issue or pull request label Nov 30, 2023
@babenkoivan babenkoivan removed the stale Stale issue or pull request label Dec 2, 2023
Repository owner deleted a comment from github-actions bot Dec 2, 2023

This comment was marked as resolved.

@github-actions github-actions bot added the stale Stale issue or pull request label Jan 2, 2024
@babenkoivan babenkoivan removed the stale Stale issue or pull request label Jan 2, 2024

This comment has been minimized.

@github-actions github-actions bot added the stale Stale issue or pull request label Feb 2, 2024
@babenkoivan babenkoivan removed the stale Stale issue or pull request label Feb 3, 2024
Copy link

github-actions bot commented Mar 5, 2024

This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issue or pull request label Mar 5, 2024
@github-actions github-actions bot closed this Mar 13, 2024
@babenkoivan babenkoivan reopened this Mar 13, 2024
@babenkoivan babenkoivan changed the base branch from master to v3 March 13, 2024 08:30
@babenkoivan babenkoivan merged commit a769cbd into babenkoivan:v3 Mar 13, 2024
8 of 10 checks passed
@babenkoivan
Copy link
Owner

Merged to the future v3 branch 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants