Skip to content

Commit bbe2cd6

Browse files
chore(9.2): release 9.2.1
1 parent 6e7ba1a commit bbe2cd6

File tree

3 files changed

+73
-63
lines changed

3 files changed

+73
-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: 71 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,60 @@
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-25)
4+
5+
6+
### Features
7+
8+
* 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))
9+
10+
11+
### Bug Fixes
12+
13+
* 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))
14+
15+
## 9.2.0
16+
17+
## API
418

519
* Updated APIs to 9.2.0
620

7-
# Typed API
21+
## Typed API
822

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

11-
# 9.1.0
25+
## 9.1.0
1226

13-
# API
27+
## API
1428

1529
* Updated APIs to 9.1.0
1630

17-
# Typed API
31+
## Typed API
1832

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

23-
# 8.19.0
37+
## 8.19.0
2438

25-
# API
39+
## API
2640

2741
* Updated APIs to 8.19.0
2842

29-
# Typed API
43+
## Typed API
3044

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

33-
# 9.0.1
47+
## 9.0.1
3448

35-
# API
49+
## API
3650

3751
* Updated APIs to 9.0.4
3852

39-
# Typed API
53+
## Typed API
4054

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

43-
# 9.0.0
57+
## 9.0.0
4458

4559
* The client now requires **Go 1.23** or later.
4660

@@ -171,21 +185,21 @@
171185
}
172186
```
173187

174-
# API
188+
## API
175189

176190
* Updated APIs to 9.0.0
177191

178-
# Typed API
192+
## Typed API
179193

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

182196

183-
# 8.18.0
197+
## 8.18.0
184198

185199
* Update `elastictransport` to `8.7.0`.
186200
* Thanks to @zaneli, the `TypedClient` can now be used in the `BulkIndexer`.
187201

188-
# New
202+
## New
189203

190204
* 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.
191205

@@ -234,59 +248,59 @@ if err != nil {
234248
log.Printf("Elasticsearch version typedapi: %s\n", typedRes.Version.Int)
235249
```
236250

237-
# API
251+
## API
238252

239253
* Updated APIs to 8.18.0
240254

241-
# Typed API
255+
## Typed API
242256

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

245-
# 8.17.1
259+
## 8.17.1
246260

247261
* Update elastictransport to 8.6.1
248262

249263
Thanks to @AkisAya and @jmfrees for their contributions!
250264

251-
# 8.17.0
265+
## 8.17.0
252266

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

255-
# API
269+
## API
256270

257271
Updated APIs to 8.17.0
258272

259-
# Typed API
273+
## Typed API
260274

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

263-
# 8.16.0
277+
## 8.16.0
264278

265-
# API
279+
## API
266280

267281
* `InferenceStreamInference` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/stream-inference-api.html)
268282
* `QueryRulesTest` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/test-query-ruleset.html)
269283
* `Ingest.DeleteIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-ip-location-database-api.html)
270284
* `Ingest.GetIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ip-location-database-api.html)
271285
* `Ingest.PutIPLocationDatabase` [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-ip-location-database-api.html)
272286

273-
# Typed API
287+
## Typed API
274288

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

277-
# 8.15.0
291+
## 8.15.0
278292

279-
# API
293+
## API
280294

281295
* API is generated from the Elasticsearch 8.15.0 specification.
282296

283-
# Typed API
297+
## Typed API
284298

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

287-
# 8.14.0
301+
## 8.14.0
288302

289-
# API
303+
## API
290304

291305
New APIs:
292306

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

298-
# Typed API
312+
## Typed API
299313

300314
New APIs:
301315

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

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

307-
# 8.13.1
321+
## 8.13.1
308322

309-
# Typed API
323+
## Typed API
310324

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

@@ -324,9 +338,9 @@ Canonical`.Request()` method was unaffected.
324338
* `Ml.ValidateDetector`
325339
* `SearchApplication.Put`
326340

327-
# 8.13.0
341+
## 8.13.0
328342

329-
# API
343+
## API
330344

331345
New APIS:
332346

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

352-
# Typed API
366+
## Typed API
353367

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

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

361-
# 8.12.1
375+
## 8.12.1
362376

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

368-
# 8.12.0
382+
## 8.12.0
369383

370384
## Client
371385

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

425-
# 8.11.1
439+
## 8.11.1
426440

427441
## Typed API
428442

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

431-
# 8.11.0
445+
## 8.11.0
432446

433447
## API
434448

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

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

447-
# New Compatibility Policy
461+
## New Compatibility Policy
448462

449463
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.
450464

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

453-
# 8.10.1
467+
## 8.10.1
454468

455469
## Typed API
456470

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

459-
# 8.10.0
473+
## 8.10.0
460474

461475
## API
462476
**Experimental APIs for internal use**
@@ -484,7 +498,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
484498
**Beta**
485499
* [Synonyms](https://www.elastic.co/guide/en/elasticsearch/reference/current/synonyms-apis.html)
486500

487-
# 8.9.0
501+
## 8.9.0
488502

489503
## API
490504
**New API**
@@ -511,15 +525,15 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
511525

512526
* Fixed a deserialization issue for `Property` & `Analyzer` #696
513527

514-
# 8.8.2
528+
## 8.8.2
515529

516530
## Typed API
517531

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

522-
# 8.7.0
536+
## 8.7.0
523537

524538
## API
525539

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

549-
# 8.6.0
563+
## 8.6.0
550564

551565
## API
552566

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

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

564-
# 8.5.0
578+
## 8.5.0
565579

566580
## API
567581

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

604618
The Typed API remains in `alpha` stage while its development continues.
605619

606-
# 8.4.0
620+
## 8.4.0
607621

608622
## API
609623

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

624638
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).
625639

626-
# 8.4.0-alpha.2
640+
## 8.4.0-alpha.2
627641

628642
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).
629643

630-
# 8.4.0-alpha.1
644+
## 8.4.0-alpha.1
631645

632646
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.
633647

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

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

677-
# 8.3.0
691+
## 8.3.0
678692

679693
## API
680694

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

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

692-
# 8.2.0
706+
## 8.2.0
693707
## Client
694708

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

712-
# 8.1.0
726+
## 8.1.0
713727
## API
714728

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

728-
# 8.0.0
742+
## 8.0.0
729743
## Client
730744

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

738752
* 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)