NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Last release 2 months ago
04 Aug 2026
Release timing varies
gaps range from 9 days to 4 months
Nearly every release is documented
notes for 34 of 35 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
508 releases · first in 2019
Nothing published for this version
This prerelease introduces a new typed API generated from the elasticsearch-specification. This generation from the common specification allows us to
This prerelease introduces a new typed API generated from the elasticsearch-specification. This generation from the common specification allows us to provide a complete API which uses an exhaustive hierarchy of types reflecting the possibilities given by Elasticsearch.
This new API is the next iteration of the Go client for Elasticsearch, it now lives alongside the existing API, it is in alpha state and will gain features over time and releases.
The TypedClient is built around a fluent builder for easier request creation and a collection of structures and helpers that mimics as closely as possible the Elasticsearch JSON API.
As a first example, here is a search request:
cfg := elasticsearch.Config{
// Define your configuration
}
es, _ := elasticsearch.NewTypedClient(cfg)
res, err := es.Search().
Index("index_name").
Request(&search.Request{
Query: &types.QueryContainer{
Match: map[types.Field]types.MatchQuery{
"name": {Query: "Foo"},
},
},
},
).Do(context.Background())
The Request uses the structures found in the typedapi/types package which will lead you along the possibilities. A builder for each structure that allows easier access and declaration is also provided.
More on the specifics and a few examples of standard use-cases can be found in the TypedAPI section of the documentation.
While most of the endpoints are covered, a few points are still being worked on and will be part of future releases:
bulk, msearch, msearch_template, ML.post_data, find_structure, to name a few.While being different, the new API uses all the existing layers that were built so far, elastic-transport-go remains the preferred transport and all your configuration and credentials applies, same as before.
Feedback is very welcome, play with it, use it, let us know what you think!
One column per quarter.
Nothing published for this version
Nothing published for this version
ML.InferTrainedModelDeployment renamed to InferTrainedModel
ML.InferTrainedModelDeployment renamed to InferTrainedModelML.PreviewDatafeed has two new parameters, start and end. DocumentationML.StartTrainedModelDeployment has three new parameters, number_of_allocations, threads_per_allocation and queue_capacity. DocumentationCluster.DeleteVotingConfigExclusions has a new master_timeout parameter.Cluster.PostVotingConfigExclusions has a new master_timeout parameter.Snapshot.Get has a new index_names parameters (boolean). Whether to include the name of each index in the snapshot. Defaults to true.New APIs
Security.HasPrivilegesUserProfile (Experimental API) DocumentationNothing published for this version
Fixed a serialisation error for retry_on_conflict in the BulkIndexer. Thanks to @lpflpf for the help!
retry_on_conflict in the BulkIndexer. Thanks to @lpflpf for the help!New APIs
Cat.ComponentTemplates
ML.GetMemoryStats documentation
Security.activateUserProfile (Experimental API) Documentation
Security.disableUserProfile (Experimental API) Documentation
Security.enableUserProfile (Experimental API) Documentation
Security.getUserProfile (Experimental API) Documentation
Security.suggestUserProfiles (Experimental API) Documentation
Security.updateUserProfileData (Experimental API) Documentation
Nothing published for this version
API is generated from the Elasticsearch 8.1.0 specification.
New parameters
WithWaitForCompletion for Indices.ForcemergeWithFeatures for Indices.GetWithForce for ML.DeleteTrainedModelNew APIs
OidcAuthenticate, OidcLogout and OidcPrepareAuthentication see documentationTransformResetTransformNothing published for this version
BulkIndexerItem know correctly uses the routing property instead of the deprecated _routing.
elastic-transport-go dependency which lives in its own repository.retryOnTimeout has been replaced with a retryOnError callback. This allows to select more finely which error should be retried by the client.BulkIndexerItem Body field is now an io.ReadSeeker allowing reread without increasing memory consumption.BulkIndexerItem know correctly uses the routing property instead of the deprecated _routing.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →