Respect disablePrototypePoisoningProtection option (#2380)

This commit is contained in:
Josh Mock
2024-10-16 14:19:44 -05:00
committed by GitHub
parent 661caf8422
commit 82acfc33a9
4 changed files with 83 additions and 3 deletions

View File

@ -1,6 +1,26 @@
[[changelog-client]]
== Release notes
[discrete]
=== 8.16.0
[discrete]
==== Features
[discrete]
===== Support for Elasticsearch `v8.16`
You can find all the API changes
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/release-notes-8.16.0.html[here].
[discrete]
==== Fixes
[discrete]
===== Pass prototype poisoning options to serializer correctly
The client's `disablePrototypePoisoningProtection` option was set to `true` by default, but when it was set to any other value it was ignored, making it impossible to enable prototype poisoning protection without providing a custom serializer implementation.
[discrete]
=== 8.15.1