Skip to content

Commit 408217b

Browse files
chore(9.1): release 9.1.1
1 parent 10500c7 commit 408217b

File tree

3 files changed

+71
-60
lines changed

3 files changed

+71
-60
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "9.1.0"
2+
".": "9.1.1"
33
}

CHANGELOG.md

Lines changed: 69 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,51 @@
1-
# 9.1.0
1+
# Changelog
22

3-
# API
3+
## [9.1.1](https://github.com/elastic/go-elasticsearch/compare/v9.1.0...v9.1.1) (2025-11-26)
4+
5+
6+
### Features
7+
8+
* Add Close method to BaseClient ([#1056](https://github.com/elastic/go-elasticsearch/issues/1056)) ([#1074](https://github.com/elastic/go-elasticsearch/issues/1074)) ([10500c7](https://github.com/elastic/go-elasticsearch/commit/10500c7115664038b8129cffc53589837cefb6a9))
9+
* Add queue size multiplier config to BulkIndexer ([#1029](https://github.com/elastic/go-elasticsearch/issues/1029)) ([#1054](https://github.com/elastic/go-elasticsearch/issues/1054)) ([4abd799](https://github.com/elastic/go-elasticsearch/commit/4abd799f95d424c8dc4f9df931ead4f6c8641541))
10+
11+
12+
### Bug Fixes
13+
14+
* Notify items if an error occurs in bulk indexer ([#615](https://github.com/elastic/go-elasticsearch/issues/615)) ([#1058](https://github.com/elastic/go-elasticsearch/issues/1058)) ([22d2e7c](https://github.com/elastic/go-elasticsearch/commit/22d2e7c6f36b6453a6c566020d38d69c2d4f10a4))
15+
16+
## 9.1.0
17+
18+
## API
419

520
* Updated APIs to 9.1.0
621

7-
# Typed API
22+
## Typed API
823

924
* Update TypedAPI to latest [elasticsearch-specification 9.1](https://github.com/elastic/elasticsearch-specification/commit/907d11a)
1025
* This release introduces a new `MethodAPI` used by the `TypedClient` which makes the client friendlier for dead code elimination.
1126
Reducing the size of the client when only a subset of the APIs are used. The old `API` structure remains available for backward compatibility, but it is now deprecated.
1227

13-
# 8.19.0
28+
## 8.19.0
1429

15-
# API
30+
## API
1631

1732
* Updated APIs to 8.19.0
1833

19-
# Typed API
34+
## Typed API
2035

2136
* Update TypedAPI to latest [elasticsearch-specification 8.19](https://github.com/elastic/elasticsearch-specification/commit/470b4b9)
2237

23-
# 9.0.1
38+
## 9.0.1
2439

25-
# API
40+
## API
2641

2742
* Updated APIs to 9.0.4
2843

29-
# Typed API
44+
## Typed API
3045

3146
* Update TypedAPI to latest [elasticsearch-specification 9.0](https://github.com/elastic/elasticsearch-specification/commit/e585438)
3247

33-
# 9.0.0
48+
## 9.0.0
3449

3550
* The client now requires **Go 1.23** or later.
3651

@@ -161,21 +176,21 @@
161176
}
162177
```
163178

164-
# API
179+
## API
165180

166181
* Updated APIs to 9.0.0
167182

168-
# Typed API
183+
## Typed API
169184

170185
* Update APIs to 9.0.0 ([52c473e](https://github.com/elastic/elasticsearch-specification/tree/52c473efb1fb5320a5bac12572d0b285882862fb))
171186

172187

173-
# 8.18.0
188+
## 8.18.0
174189

175190
* Update `elastictransport` to `8.7.0`.
176191
* Thanks to @zaneli, the `TypedClient` can now be used in the `BulkIndexer`.
177192

178-
# New
193+
## New
179194

180195
* This release adds a `BaseClient` constructor with no attached APIs, allowing it to be used purely as a transport layer instead of a full-featured API client.
181196

@@ -224,59 +239,59 @@ if err != nil {
224239
log.Printf("Elasticsearch version typedapi: %s\n", typedRes.Version.Int)
225240
```
226241

227-
# API
242+
## API
228243

229244
* Updated APIs to 8.18.0
230245

231-
# Typed API
246+
## Typed API
232247

233248
* Update APIs to 8.18.0 ([f6a370d](https://github.com/elastic/elasticsearch-specification/tree/f6a370d0fba975752c644fc730f7c45610e28f36))
234249

235-
# 8.17.1
250+
## 8.17.1
236251

237252
* Update elastictransport to 8.6.1
238253

239254
Thanks to @AkisAya and @jmfrees for their contributions!
240255

241-
# 8.17.0
256+
## 8.17.0
242257

243258
* Expose BulkIndexer total flushed bytes metric [#914](https://github.com/elastic/go-elasticsearch/pull/914) thanks to @aureleoules
244259

245-
# API
260+
## API
246261

247262
Updated APIs to 8.17.0
248263

249-
# Typed API
264+
## Typed API
250265

251266
Update APIs to latest [elasticsearch-specification 8.17](https://github.com/elastic/elasticsearch-specification/tree/2f823ff6fcaa7f3f0f9b990dc90512d8901e5d64)
252267

253-
# 8.16.0
268+
## 8.16.0
254269

255-
# API
270+
## API
256271

257272
* `InferenceStreamInference` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/stream-inference-api.html)
258273
* `QueryRulesTest` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/test-query-ruleset.html)
259274
* `Ingest.DeleteIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-ip-location-database-api.html)
260275
* `Ingest.GetIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ip-location-database-api.html)
261276
* `Ingest.PutIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-ip-location-database-api.html)
262277

263-
# Typed API
278+
## Typed API
264279

265280
Update APIs to latest [elasticsearch-specification 8.16](https://github.com/elastic/elasticsearch-specification/tree/4fcf747dfafc951e1dcf3077327e3dcee9107db3)
266281

267-
# 8.15.0
282+
## 8.15.0
268283

269-
# API
284+
## API
270285

271286
* API is generated from the Elasticsearch 8.15.0 specification.
272287

273-
# Typed API
288+
## Typed API
274289

275290
Update APIs to latest [elasticsearch-specification 8.15](https://github.com/elastic/elasticsearch-specification/tree/19027dbdd366978ccae41842a040a636730e7c10)
276291

277-
# 8.14.0
292+
## 8.14.0
278293

279-
# API
294+
## API
280295

281296
New APIs:
282297

@@ -285,18 +300,18 @@ New APIs:
285300
* TextStructureFindFieldStructure [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/find-field-structure.html)
286301
* TextStructureFindMessageStructure [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/find-message-structure.html)
287302

288-
# Typed API
303+
## Typed API
289304

290305
New APIs:
291306

292307
* UpdateTrainedModelDeployment [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/update-trained-model-deployment.html)
293308

294-
# Transport
309+
## Transport
295310
* Fixed a deadlock in the connection pool https://github.com/elastic/elastic-transport-go/issues/20
296311

297-
# 8.13.1
312+
## 8.13.1
298313

299-
# Typed API
314+
## Typed API
300315

301316
Update APIs to latest [elasticsearch-specification 8.13](https://github.com/elastic/elasticsearch-specification/tree/5fb8f1ce9c4605abcaa44aa0f17dbfc60497a757)
302317

@@ -314,9 +329,9 @@ Canonical`.Request()` method was unaffected.
314329
* `Ml.ValidateDetector`
315330
* `SearchApplication.Put`
316331

317-
# 8.13.0
332+
## 8.13.0
318333

319-
# API
334+
## API
320335

321336
New APIS:
322337

@@ -339,7 +354,7 @@ New APIS:
339354
* `Indices.ResolveCluster` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-cluster-api.html)
340355
* `Security.QueryUser` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-user.html)
341356

342-
# Typed API
357+
## Typed API
343358

344359
* `indices.ResolveCluster` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-cluster-api.html)
345360
* `textstructure.TestGrokPattern` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/test-grok-pattern.html)
@@ -348,14 +363,14 @@ Thanks to @pakio, transport now has an optional pool based compression option. [
348363

349364
And to @tblyler for fixing a very subtle memory leak in the `BulkIndexer`. #797
350365

351-
# 8.12.1
366+
## 8.12.1
352367

353368
* Fix: ticker memory leak in bulk indexer due to internal flush call resetting the ticker. #797
354369
* Fix: Scroll now uses the body to pass the scroll_id. #785
355370
* Add: generated UnmarshalJSON for Requests to allow injecting payloads using aliases.
356371
* Fix: `put_synonym_rule` was not working due to a type issue in the [Elasticsearch API Specification](https://github.com/elastic/elasticsearch-specification/pull/2407).
357372

358-
# 8.12.0
373+
## 8.12.0
359374

360375
## Client
361376

@@ -412,13 +427,13 @@ More about what you can expect in the [Semantic Conventions for Elasticsearch](h
412427
* `GetSettings` [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-settings.html)
413428
* `UpdateSettings` [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-settings.html)
414429

415-
# 8.11.1
430+
## 8.11.1
416431

417432
## Typed API
418433

419434
* Fix https://github.com/elastic/go-elasticsearch/issues/756 preventing from settings indices in `indices.PutSettings`
420435

421-
# 8.11.0
436+
## 8.11.0
422437

423438
## API
424439

@@ -434,19 +449,19 @@ More about what you can expect in the [Semantic Conventions for Elasticsearch](h
434449

435450
* Mandatory URL parameters are not exposed as functions anymore as they already exist in the constructor.
436451

437-
# New Compatibility Policy
452+
## New Compatibility Policy
438453

439454
Starting from version `8.12.0`, this library follow the Go language [policy](https://go.dev/doc/devel/release#policy). Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release.
440455

441456
If you have any questions or concerns, please do not hesitate to reach out to us.
442457

443-
# 8.10.1
458+
## 8.10.1
444459

445460
## Typed API
446461

447462
Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elastic/elasticsearch-specification/commit/3b09f9d8e90178243f8a340a7bc324aab152c602)
448463

449-
# 8.10.0
464+
## 8.10.0
450465

451466
## API
452467
**Experimental APIs for internal use**
@@ -474,7 +489,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
474489
**Beta**
475490
* [Synonyms](https://www.elastic.co/guide/en/elasticsearch/reference/current/synonyms-apis.html)
476491

477-
# 8.9.0
492+
## 8.9.0
478493

479494
## API
480495
**New API**
@@ -501,15 +516,15 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
501516

502517
* Fixed a deserialization issue for `Property` & `Analyzer` #696
503518

504-
# 8.8.2
519+
## 8.8.2
505520

506521
## Typed API
507522

508523
* Fixed deserialization for `Suggest` in search responses.
509524
* Fixed double-quoted strings in deserialization for unions normalized as string. #684
510525
* Fixed handling of `core.Get` response when the index did not exist. #678
511526

512-
# 8.7.0
527+
## 8.7.0
513528

514529
## API
515530

@@ -536,7 +551,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
536551
* `.Raw` now takes a reader as input.
537552
* User defined values such as `_source` in `Hits` are now `json.RawMessage` to highlight they later deserializable nature.
538553

539-
# 8.6.0
554+
## 8.6.0
540555

541556
## API
542557

@@ -551,7 +566,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
551566

552567
Improvements were made to the BulkIndexer memory usage to allow better handling under burst use cases. Thanks to @christos68k and @rockdaboot !
553568

554-
# 8.5.0
569+
## 8.5.0
555570

556571
## API
557572

@@ -593,7 +608,7 @@ In addition, a bug was fixed preventing the use of wildcards in index names, and
593608

594609
The Typed API remains in `alpha` stage while its development continues.
595610

596-
# 8.4.0
611+
## 8.4.0
597612

598613
## API
599614

@@ -613,11 +628,11 @@ This new API is still in `alpha` stage and will be release alongside the existin
613628

614629
A few examples of standard use-cases can be found in the [TypedAPI section of the documentation](https://www.elastic.co/guide/en/elasticsearch/client/go-api/master/typedapi.html).
615630

616-
# 8.4.0-alpha.2
631+
## 8.4.0-alpha.2
617632

618633
This second prerelease of the 8.4.0 updates the API for the client and fixes the serialization for types using [additional properties](https://github.com/elastic/elasticsearch-specification/blob/main/docs/behaviors.md#additionalproperties--additionalproperty).
619634

620-
# 8.4.0-alpha.1
635+
## 8.4.0-alpha.1
621636

622637
This prerelease introduces a new typed API generated from the [elasticsearch-specification](https://github.com/elastic/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.
623638

@@ -664,7 +679,7 @@ While being different, the new API uses all the existing layers that were built
664679

665680
Feedback is very welcome, play with it, use it, let us know what you think!
666681

667-
# 8.3.0
682+
## 8.3.0
668683

669684
## API
670685

@@ -679,7 +694,7 @@ Feedback is very welcome, play with it, use it, let us know what you think!
679694

680695
* `Security.HasPrivilegesUserProfile` (Experimental API) [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html)
681696

682-
# 8.2.0
697+
## 8.2.0
683698
## Client
684699

685700
* Fixed a serialisation error for `retry_on_conflict` in the BulkIndexer. Thanks to @lpflpf for the help!
@@ -699,7 +714,7 @@ Feedback is very welcome, play with it, use it, let us know what you think!
699714
* `Security.suggestUserProfiles` (Experimental API) [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html)
700715
* `Security.updateUserProfileData` (Experimental API) [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html)
701716

702-
# 8.1.0
717+
## 8.1.0
703718
## API
704719

705720
* API is generated from the Elasticsearch 8.1.0 specification.
@@ -715,7 +730,7 @@ Feedback is very welcome, play with it, use it, let us know what you think!
715730
* `OidcAuthenticate`, `OidcLogout` and `OidcPrepareAuthentication` [see documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api.html#security-openid-apis)
716731
* `TransformResetTransform`
717732

718-
# 8.0.0
733+
## 8.0.0
719734
## Client
720735

721736
* The client now uses `elastic-transport-go` dependency which lives in its [own repository](https://github.com/elastic/elastic-transport-go/).
@@ -726,7 +741,3 @@ Feedback is very welcome, play with it, use it, let us know what you think!
726741
## API
727742

728743
* API is generated from the Elasticsearch 8.0.0 specification.
729-
730-
731-
732-

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ package version
2121
const Client = Version
2222

2323
// Version is the version of the client.
24-
const Version = "9.1.1-SNAPSHOT"
24+
const Version = "9.1.1"

0 commit comments

Comments
 (0)