unstale

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

@unstale/cli on npm

@elastic/elasticsearch 912 changes

Deprecations 1

  • Marked deprecated since Elasticsearch 9.5 because Lucene 10.4 computes it automatically.

    9.5.1release notes

New APIs and options 6

  • Specification types now include the columnar_stored source field mode.

    9.5.1release notes

  • Adds the missing auto_calibrate property for bbq_disk index options.

    9.5.1release notes

  • Adds the missing bits property for bbq_disk index options.

    9.5.1release notes

  • Adds the missing cluster_size property for bbq_disk index options.

    9.5.1release notes

  • Adds the missing precondition property for bbq_disk index options.

    9.5.1release notes

  • Adds a client option to reject requests before sending them when the path and query string exceed a configurable byte length.

    9.4.3release notesrelease notes

Fixes and other changes 5

  • Adds the missing default_visit_percentage property for bbq_disk index options.

    9.5.1release notes

  • The normalizer field is now optional, so TypeScript accepts valid requests that omit it.

    9.5.1release notes

  • The weight field is now optional, so TypeScript accepts valid requests that omit it.

    9.5.1release notes

  • The num_candidates field is now optional, matching the server default introduced in Elasticsearch 9.5.

    9.5.1release notes

  • Changes and additions to Elasticsearch APIs for 9.5 are reflected in the client.

    9.5.0release notes