Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Oct 14, 2025

Q A
Branch? 4.x
Bug fix? yes
New feature? yes
Deprecations? no
Issues Fix #499
License MIT

Elastica 8+ client has an option hosts instead of host (ruflin/Elastica#2188).

Adding a new monolog.handlers.(elastica|elastic_search).elasticsearch.hosts setting that is a list of strings.

This way, we don't try to detect which version of elastica is used, an let the developers set the correct configuration depending on the version they have installed.

@GromNaN GromNaN merged commit b3b0cad into symfony:4.x Oct 17, 2025
7 checks passed
@GromNaN GromNaN deleted the elastica-8 branch October 17, 2025 17:54
@GromNaN GromNaN restored the elastica-8 branch October 17, 2025 17:57
GromNaN added a commit that referenced this pull request Oct 17, 2025
This PR was merged into the 3.x branch.

Discussion
----------

Fix 'hosts' key in Elastica 8 configuration

| Q             | A
| ------------- | ---
| Branch?       | 3.x
| Bug fix?      | yes
| New feature?  | yes
| Deprecations? | no
| Issues        | Fix #499
| License       | MIT

Backport #547 that was merged into 4.x instead of 3.x. Adding tests.

Commits
-------

2a6d971 Fix 'hosts' key in Elastic 8 configuration
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.

Elastica v8 Compatibility

2 participants