Skip to content

Conversation

@huangdijia
Copy link
Member

  • Add compatibility with both elasticsearch 7.x and 8.x client libraries
  • Update composer.json to allow elasticsearch/elasticsearch ^8.0
  • Improve client builder factory with better dependency injection
  • Add proper error handling when elasticsearch package is missing

@huangdijia huangdijia added this to the v3.2 milestone Dec 13, 2024
- Add compatibility with both elasticsearch 7.x and 8.x client libraries
- Update composer.json to allow elasticsearch/elasticsearch ^8.0
- Improve client builder factory with better dependency injection
- Add proper error handling when elasticsearch package is missing
… dependency

- Updated constructor to accept a nullable ClientFactory instance.
- Enhanced client builder logic to conditionally set the HTTP client based on the presence of the Guzzle client factory.

This change improves dependency injection and maintains compatibility with existing functionality.
@huangdijia huangdijia changed the base branch from master to 3.2 February 5, 2025 12:39
@huangdijia huangdijia marked this pull request as ready for review February 5, 2025 12:39
@limingxinleo limingxinleo merged commit b661f95 into hyperf:3.2 Feb 28, 2025
67 checks passed
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