You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
4
18
5
19
* Updated APIs to 9.2.0
6
20
7
-
# Typed API
21
+
##Typed API
8
22
9
23
* Update TypedAPI to latest [elasticsearch-specification 9.2.0](https://github.com/elastic/elasticsearch-specification/commit/d520d9e)
10
24
11
-
# 9.1.0
25
+
##9.1.0
12
26
13
-
# API
27
+
##API
14
28
15
29
* Updated APIs to 9.1.0
16
30
17
-
# Typed API
31
+
##Typed API
18
32
19
33
* Update TypedAPI to latest [elasticsearch-specification 9.1](https://github.com/elastic/elasticsearch-specification/commit/907d11a)
20
34
* This release introduces a new `MethodAPI` used by the `TypedClient` which makes the client friendlier for dead code elimination.
21
35
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.
22
36
23
-
# 8.19.0
37
+
##8.19.0
24
38
25
-
# API
39
+
##API
26
40
27
41
* Updated APIs to 8.19.0
28
42
29
-
# Typed API
43
+
##Typed API
30
44
31
45
* Update TypedAPI to latest [elasticsearch-specification 8.19](https://github.com/elastic/elasticsearch-specification/commit/470b4b9)
32
46
33
-
# 9.0.1
47
+
##9.0.1
34
48
35
-
# API
49
+
##API
36
50
37
51
* Updated APIs to 9.0.4
38
52
39
-
# Typed API
53
+
##Typed API
40
54
41
55
* Update TypedAPI to latest [elasticsearch-specification 9.0](https://github.com/elastic/elasticsearch-specification/commit/e585438)
42
56
43
-
# 9.0.0
57
+
##9.0.0
44
58
45
59
* The client now requires **Go 1.23** or later.
46
60
@@ -171,21 +185,21 @@
171
185
}
172
186
```
173
187
174
-
# API
188
+
##API
175
189
176
190
* Updated APIs to 9.0.0
177
191
178
-
# Typed API
192
+
##Typed API
179
193
180
194
* Update APIs to 9.0.0 ([52c473e](https://github.com/elastic/elasticsearch-specification/tree/52c473efb1fb5320a5bac12572d0b285882862fb))
181
195
182
196
183
-
# 8.18.0
197
+
##8.18.0
184
198
185
199
* Update `elastictransport` to `8.7.0`.
186
200
* Thanks to @zaneli, the `TypedClient` can now be used in the `BulkIndexer`.
187
201
188
-
# New
202
+
##New
189
203
190
204
* 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.
191
205
@@ -234,59 +248,59 @@ if err != nil {
234
248
log.Printf("Elasticsearch version typedapi: %s\n", typedRes.Version.Int)
235
249
```
236
250
237
-
# API
251
+
##API
238
252
239
253
* Updated APIs to 8.18.0
240
254
241
-
# Typed API
255
+
##Typed API
242
256
243
257
* Update APIs to 8.18.0 ([f6a370d](https://github.com/elastic/elasticsearch-specification/tree/f6a370d0fba975752c644fc730f7c45610e28f36))
244
258
245
-
# 8.17.1
259
+
##8.17.1
246
260
247
261
* Update elastictransport to 8.6.1
248
262
249
263
Thanks to @AkisAya and @jmfrees for their contributions!
250
264
251
-
# 8.17.0
265
+
##8.17.0
252
266
253
267
* Expose BulkIndexer total flushed bytes metric [#914](https://github.com/elastic/go-elasticsearch/pull/914) thanks to @aureleoules
254
268
255
-
# API
269
+
##API
256
270
257
271
Updated APIs to 8.17.0
258
272
259
-
# Typed API
273
+
##Typed API
260
274
261
275
Update APIs to latest [elasticsearch-specification 8.17](https://github.com/elastic/elasticsearch-specification/tree/2f823ff6fcaa7f3f0f9b990dc90512d8901e5d64)
@@ -358,14 +372,14 @@ Thanks to @pakio, transport now has an optional pool based compression option. [
358
372
359
373
And to @tblyler for fixing a very subtle memory leak in the `BulkIndexer`. #797
360
374
361
-
# 8.12.1
375
+
##8.12.1
362
376
363
377
* Fix: ticker memory leak in bulk indexer due to internal flush call resetting the ticker. #797
364
378
* Fix: Scroll now uses the body to pass the scroll_id. #785
365
379
* Add: generated UnmarshalJSON for Requests to allow injecting payloads using aliases.
366
380
* 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).
367
381
368
-
# 8.12.0
382
+
##8.12.0
369
383
370
384
## Client
371
385
@@ -422,13 +436,13 @@ More about what you can expect in the [Semantic Conventions for Elasticsearch](h
* Fix https://github.com/elastic/go-elasticsearch/issues/756 preventing from settings indices in `indices.PutSettings`
430
444
431
-
# 8.11.0
445
+
##8.11.0
432
446
433
447
## API
434
448
@@ -444,19 +458,19 @@ More about what you can expect in the [Semantic Conventions for Elasticsearch](h
444
458
445
459
* Mandatory URL parameters are not exposed as functions anymore as they already exist in the constructor.
446
460
447
-
# New Compatibility Policy
461
+
##New Compatibility Policy
448
462
449
463
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.
450
464
451
465
If you have any questions or concerns, please do not hesitate to reach out to us.
452
466
453
-
# 8.10.1
467
+
##8.10.1
454
468
455
469
## Typed API
456
470
457
471
Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elastic/elasticsearch-specification/commit/3b09f9d8e90178243f8a340a7bc324aab152c602)
458
472
459
-
# 8.10.0
473
+
##8.10.0
460
474
461
475
## API
462
476
**Experimental APIs for internal use**
@@ -484,7 +498,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
@@ -511,15 +525,15 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
511
525
512
526
* Fixed a deserialization issue for `Property` & `Analyzer`#696
513
527
514
-
# 8.8.2
528
+
##8.8.2
515
529
516
530
## Typed API
517
531
518
532
* Fixed deserialization for `Suggest` in search responses.
519
533
* Fixed double-quoted strings in deserialization for unions normalized as string. #684
520
534
* Fixed handling of `core.Get` response when the index did not exist. #678
521
535
522
-
# 8.7.0
536
+
##8.7.0
523
537
524
538
## API
525
539
@@ -546,7 +560,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
546
560
*`.Raw` now takes a reader as input.
547
561
* User defined values such as `_source` in `Hits` are now `json.RawMessage` to highlight they later deserializable nature.
548
562
549
-
# 8.6.0
563
+
##8.6.0
550
564
551
565
## API
552
566
@@ -561,7 +575,7 @@ Update APIs to latest [elasticsearch-specification 8.10](https://github.com/elas
561
575
562
576
Improvements were made to the BulkIndexer memory usage to allow better handling under burst use cases. Thanks to @christos68k and @rockdaboot !
563
577
564
-
# 8.5.0
578
+
##8.5.0
565
579
566
580
## API
567
581
@@ -603,7 +617,7 @@ In addition, a bug was fixed preventing the use of wildcards in index names, and
603
617
604
618
The Typed API remains in `alpha` stage while its development continues.
605
619
606
-
# 8.4.0
620
+
##8.4.0
607
621
608
622
## API
609
623
@@ -623,11 +637,11 @@ This new API is still in `alpha` stage and will be release alongside the existin
623
637
624
638
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).
625
639
626
-
# 8.4.0-alpha.2
640
+
##8.4.0-alpha.2
627
641
628
642
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).
629
643
630
-
# 8.4.0-alpha.1
644
+
##8.4.0-alpha.1
631
645
632
646
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.
633
647
@@ -674,7 +688,7 @@ While being different, the new API uses all the existing layers that were built
674
688
675
689
Feedback is very welcome, play with it, use it, let us know what you think!
676
690
677
-
# 8.3.0
691
+
##8.3.0
678
692
679
693
## API
680
694
@@ -689,7 +703,7 @@ Feedback is very welcome, play with it, use it, let us know what you think!
* 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!
725
739
*`OidcAuthenticate`, `OidcLogout` and `OidcPrepareAuthentication`[see documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api.html#security-openid-apis)
726
740
*`TransformResetTransform`
727
741
728
-
# 8.0.0
742
+
##8.0.0
729
743
## Client
730
744
731
745
* 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!
736
750
## API
737
751
738
752
* API is generated from the Elasticsearch 8.0.0 specification.
0 commit comments