v8.1.1
Tested versions of Ruby: (MRI) 2.7, 3.0, 3.1, 3.2, JRuby 9.3 and JRuby 9.4
Backports the following fixes from 8.2
:
- Refactors
apply_headers
in base and manticore implementation: When passing in an object to the initializer,apply_headers
would mutate this object and in certain conditions, this would raiseRuntimeError
in JRuby 9.3 andConcurrencyError
in JRuby 9.4. This update clones the options object instead. - Fixes issue #44, raising
Elastic::Transport::Transport::Error
instead ofFaraday::ConnectionFailed
(or any other Faraday error class) when a host is unreachable. - Fixes parsing ipv4 addresses like
inet[/127.0.0.1:9200]
in sniffer, issue #48. Pull Request by @robbat2, thank you!