# What changed in @elastic/elasticsearch

> 12 changes in @elastic/elasticsearch 9 from its official release notes, upgrade guides and advisories: 1 deprecations, 6 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@elastic/elasticsearch/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @elastic/elasticsearch 9

### Deprecations

- Marked deprecated since Elasticsearch 9.5 because Lucene 10.4 computes it automatically. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)

### New APIs and options

- Specification types now include the columnar_stored source field mode. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- Adds the missing auto_calibrate property for bbq_disk index options. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- Adds the missing bits property for bbq_disk index options. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- Adds the missing cluster_size property for bbq_disk index options. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- Adds the missing precondition property for bbq_disk index options. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- Adds a client option to reject requests before sending them when the path and query string exceed a configurable byte length. (9.4.3) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.0), [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.4.3)

### Fixes and other changes

- Adds the missing default_visit_percentage property for bbq_disk index options. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- The normalizer field is now optional, so TypeScript accepts valid requests that omit it. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- The weight field is now optional, so TypeScript accepts valid requests that omit it. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- The num_candidates field is now optional, matching the server default introduced in Elasticsearch 9.5. (9.5.1) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.1)
- Changes and additions to Elasticsearch APIs for 9.5 are reflected in the client. (9.5.0) — [release notes](https://github.com/elastic/elasticsearch-js/releases/tag/v9.5.0)
