npm / @elastic/elasticsearch
@elastic/elasticsearch
What changed in @elastic/elasticsearch 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 deprecations6 new APIs and options5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@elastic/elasticsearch 912 changes
Deprecations 1
Marked deprecated since Elasticsearch 9.5 because Lucene 10.4 computes it automatically.
New APIs and options 6
Specification types now include the columnar_stored source field mode.
Adds the missing auto_calibrate property for bbq_disk index options.
Adds the missing bits property for bbq_disk index options.
Adds the missing cluster_size property for bbq_disk index options.
Adds the missing precondition property for bbq_disk index options.
Adds a client option to reject requests before sending them when the path and query string exceed a configurable byte length.
Fixes and other changes 5
Adds the missing default_visit_percentage property for bbq_disk index options.
The normalizer field is now optional, so TypeScript accepts valid requests that omit it.
The weight field is now optional, so TypeScript accepts valid requests that omit it.
The num_candidates field is now optional, matching the server default introduced in Elasticsearch 9.5.
Changes and additions to Elasticsearch APIs for 9.5 are reflected in the client.