Skip to content

Commit a46045c

Browse files
chore(9.2): release 9.2.1
1 parent 3672020 commit a46045c

File tree

3 files changed

+74
-63
lines changed

3 files changed

+74
-63
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "9.2.0"
2+
".": "9.2.1"
33
}

CHANGELOG.md

Lines changed: 72 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,61 @@
1-
# 9.2.0
1+
# Changelog
22

3-
# API
3+
## [9.2.1](https://github.com/elastic/go-elasticsearch/compare/v9.2.0...v9.2.1) (2025-11-26)
4+
5+
6+
### Features
7+
8+
* Add Close method to BaseClient ([#1075](https://github.com/elastic/go-elasticsearch/issues/1075)) ([3672020](https://github.com/elastic/go-elasticsearch/commit/3672020b623c5bfc4925650e5e2c73dfc4ad3c1c))
9+
* Add queue size multiplier config to BulkIndexer ([#1029](https://github.com/elastic/go-elasticsearch/issues/1029)) ([#1053](https://github.com/elastic/go-elasticsearch/issues/1053)) ([a04e0ba](https://github.com/elastic/go-elasticsearch/commit/a04e0baeff0c820ebfe7f083c6bcdbd3ad6b1497))
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)) ([#1059](https://github.com/elastic/go-elasticsearch/issues/1059)) ([845aec3](https://github.com/elastic/go-elasticsearch/commit/845aec33a1b7b104145ba347f71153b4e264e5e5))
15+
16+
## 9.2.0
17+
18+
## API
419

520
* Updated APIs to 9.2.0
621

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

924
* Update TypedAPI to latest [elasticsearch-specification 9.2.0](https://github.com/elastic/elasticsearch-specification/commit/d520d9e)
1025

11-
# 9.1.0
26+
## 9.1.0
1227

13-
# API
28+
## API
1429

1530
* Updated APIs to 9.1.0
1631

17-
# Typed API
32+
## Typed API
1833

1934
* Update TypedAPI to latest [elasticsearch-specification 9.1](https://github.com/elastic/elasticsearch-specification/commit/907d11a)
2035
* This release introduces a new `MethodAPI` used by the `TypedClient` which makes the client friendlier for dead code elimination.
2136
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.
2237

23-
# 8.19.0
38+
## 8.19.0
2439

25-
# API
40+
## API
2641

2742
* Updated APIs to 8.19.0
2843

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

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

33-
# 9.0.1
48+
## 9.0.1
3449

35-
# API
50+
## API
3651

3752
* Updated APIs to 9.0.4
3853

39-
# Typed API
54+
## Typed API
4055

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

43-
# 9.0.0
58+
## 9.0.0
4459

4560
* The client now requires **Go 1.23** or later.
4661

@@ -171,21 +186,21 @@
171186
}
172187
```
173188

174-
# API
189+
## API
175190

176191
* Updated APIs to 9.0.0
177192

178-
# Typed API
193+
## Typed API
179194

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

182197

183-
# 8.18.0
198+
## 8.18.0
184199

185200
* Update `elastictransport` to `8.7.0`.
186201
* Thanks to @zaneli, the `TypedClient` can now be used in the `BulkIndexer`.
187202

188-
# New
203+
## New
189204

190205
* 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.
191206

@@ -234,59 +249,59 @@ if err != nil {
234249
log.Printf("Elasticsearch version typedapi: %s\n", typedRes.Version.Int)
235250
```
236251

237-
# API
252+
## API
238253

239254
* Updated APIs to 8.18.0
240255

241-
# Typed API
256+
## Typed API
242257

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

245-
# 8.17.1
260+
## 8.17.1
246261

247262
* Update elastictransport to 8.6.1
248263

249264
Thanks to @AkisAya and @jmfrees for their contributions!
250265

251-
# 8.17.0
266+
## 8.17.0
252267

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

255-
# API
270+
## API
256271

257272
Updated APIs to 8.17.0
258273

259-
# Typed API
274+
## Typed API
260275

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

263-
# 8.16.0
278+
## 8.16.0
264279

265-
# API
280+
## API
266281

267282
* `InferenceStreamInference` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/stream-inference-api.html)
268283
* `QueryRulesTest` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/test-query-ruleset.html)
269284
* `Ingest.DeleteIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-ip-location-database-api.html)
270285
* `Ingest.GetIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ip-location-database-api.html)
271286
* `Ingest.PutIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-ip-location-database-api.html)
272287

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

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

277-
# 8.15.0
292+
## 8.15.0
278293

279-
# API
294+
## API
280295

281296
* API is generated from the Elasticsearch 8.15.0 specification.
282297

283-
# Typed API
298+
## Typed API
284299

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

287-
# 8.14.0
302+
## 8.14.0
288303

289-
# API
304+
## API
290305

291306
New APIs:
292307

@@ -295,18 +310,18 @@ New APIs:
295310
* TextStructureFindFieldStructure [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/find-field-structure.html)
296311
* TextStructureFindMessageStructure [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/find-message-structure.html)
297312

298-
# Typed API
313+
## Typed API
299314

300315
New APIs:
301316

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

304-
# Transport
319+
## Transport
305320
* Fixed a deadlock in the connection pool https://github.com/elastic/elastic-transport-go/issues/20
306321

307-
# 8.13.1
322+
## 8.13.1
308323

309-
# Typed API
324+
## Typed API
310325

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

@@ -324,9 +339,9 @@ Canonical`.Request()` method was unaffected.
324339
* `Ml.ValidateDetector`
325340
* `SearchApplication.Put`
326341

327-
# 8.13.0
342+
## 8.13.0
328343

329-
# API
344+
## API
330345

331346
New APIS:
332347

@@ -349,7 +364,7 @@ New APIS:
349364
* `Indices.ResolveCluster` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-cluster-api.html)
350365
* `Security.QueryUser` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-user.html)
351366

352-
# Typed API
367+
## Typed API
353368

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

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

361-
# 8.12.1
376+
## 8.12.1
362377

363378
* Fix: ticker memory leak in bulk indexer due to internal flush call resetting the ticker. #797
364379
* Fix: Scroll now uses the body to pass the scroll_id. #785
365380
* Add: generated UnmarshalJSON for Requests to allow injecting payloads using aliases.
366381
* 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).
367382

368-
# 8.12.0
383+
## 8.12.0
369384

370385
## Client
371386

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

425-
# 8.11.1
440+
## 8.11.1
426441

427442
## Typed API
428443

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

431-
# 8.11.0
446+
## 8.11.0
432447

433448
## API
434449

@@ -444,19 +459,19 @@ More about what you can expect in the [Semantic Conventions for Elasticsearch](h
444459

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

447-
# New Compatibility Policy
462+
## New Compatibility Policy
448463

449464
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.
450465

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

453-
# 8.10.1
468+
## 8.10.1
454469

455470
## Typed API
456471

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

459-
# 8.10.0
474+
## 8.10.0
460475

461476
## API
462477
**Experimental APIs for internal use**
@@ -484,7 +499,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
484499
**Beta**
485500
* [Synonyms](https://www.elastic.co/guide/en/elasticsearch/reference/current/synonyms-apis.html)
486501

487-
# 8.9.0
502+
## 8.9.0
488503

489504
## API
490505
**New API**
@@ -511,15 +526,15 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
511526

512527
* Fixed a deserialization issue for `Property` & `Analyzer` #696
513528

514-
# 8.8.2
529+
## 8.8.2
515530

516531
## Typed API
517532

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

522-
# 8.7.0
537+
## 8.7.0
523538

524539
## API
525540

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

549-
# 8.6.0
564+
## 8.6.0
550565

551566
## API
552567

@@ -561,7 +576,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
561576

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

564-
# 8.5.0
579+
## 8.5.0
565580

566581
## API
567582

@@ -603,7 +618,7 @@ In addition, a bug was fixed preventing the use of wildcards in index names, and
603618

604619
The Typed API remains in `alpha` stage while its development continues.
605620

606-
# 8.4.0
621+
## 8.4.0
607622

608623
## API
609624

@@ -623,11 +638,11 @@ This new API is still in `alpha` stage and will be release alongside the existin
623638

624639
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).
625640

626-
# 8.4.0-alpha.2
641+
## 8.4.0-alpha.2
627642

628643
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).
629644

630-
# 8.4.0-alpha.1
645+
## 8.4.0-alpha.1
631646

632647
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.
633648

@@ -674,7 +689,7 @@ While being different, the new API uses all the existing layers that were built
674689

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

677-
# 8.3.0
692+
## 8.3.0
678693

679694
## API
680695

@@ -689,7 +704,7 @@ Feedback is very welcome, play with it, use it, let us know what you think!
689704

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

692-
# 8.2.0
707+
## 8.2.0
693708
## Client
694709

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

712-
# 8.1.0
727+
## 8.1.0
713728
## API
714729

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

728-
# 8.0.0
743+
## 8.0.0
729744
## Client
730745

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

738753
* API is generated from the Elasticsearch 8.0.0 specification.
739-
740-
741-
742-

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.2.1-SNAPSHOT"
24+
const Version = "9.2.1"

0 commit comments

Comments
 (0)