2151 Commits

Author SHA1 Message Date
ba4ce0561d [Backport 8.12] Fix typo in documentation (example query) (#2272)
(cherry picked from commit 542585a5dc)

Co-authored-by: Joey Freund <joeyfreund@users.noreply.github.com>
2024-06-06 12:07:48 -05:00
50ee3fc4b0 Switch 8.12 clients to only get patch updates to transport (#2216) v8.12.3 2024-04-09 13:04:08 -05:00
745a838dd8 Auto-generated code for 8.12 (#2205) 2024-04-08 17:21:29 -05:00
1d7100fefb Auto-generated code for 8.12 (#2195) 2024-03-28 11:31:40 -05:00
ddcd434d61 [Backport 8.12] Ensure new connections inherit client's set defaults (#2162)
* Add test confirming the issue

See https://github.com/elastic/elasticsearch-js/issues/1791

* fix: ensure new connections inherit the client instance's defaults

for https://github.com/elastic/elasticsearch-js/issues/1791

(cherry picked from commit 05e3139f80)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2024-03-20 16:33:17 -05:00
747171097d Update bulk.asciidoc change 'date' property to 'time' to match index creation (#2154) 2024-03-20 13:44:05 -05:00
67b2bf4d12 Auto-generated code for 8.12 (#2157) 2024-03-19 11:29:50 -05:00
03eaf7ae6e Auto-generated code for 8.12 (#2149) 2024-03-06 12:11:28 -06:00
dd3609665a [Backport 8.12] [DOCS] Adds compatibility matrix to docs and readme (#2145)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
(cherry picked from commit 352f73e7c2)

Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
2024-02-28 11:54:56 -06:00
cf8287d7ae Bump canary to 8.12.2 (#2144) 2024-02-28 10:28:02 -06:00
4856918aad Auto-generated code for 8.12 (#2133) 2024-02-27 14:28:59 -06:00
902a1fdcda Prep 8.12.2 for release (#2142) v8.12.2 2024-02-23 17:43:12 -06:00
06079afa4c Update changelog for 8.12.2 (#2141)
* Backport changelog for 8.12.1

* Add changelog for 8.12.2
2024-02-23 17:00:14 -06:00
ca7a9b524e [Backport 8.12] Upgrade transport to 8.4.1 (#2138)
(cherry picked from commit 8df91fce7c)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2024-02-23 13:24:23 -06:00
949d8a3cd2 Release 8.12.1 (#2130) v8.12.1 2024-02-06 17:58:43 +04:00
06bfebbf92 Fix hang in bulk helper semaphore when server responses are slower than flushInterval (#2027) (#2129)
* Set version to 8.10.1

* Add tests for bulk helper with various flush and server timeouts

* Copy and empty bulkBody when flushBytes is reached

Before it was waiting until after semaphore resolved, then sending with
a reference to bulkBody. If flushInterval is reached after `await
semaphore()` but before `send(bulkBody)`, onFlushTimeout is "stealing"
bulkBody so that there is nothing left in bulkBody for the flushBytes
block to send, causing an indefinite hang for a promise that does not
resolve.

* comment typo fixes

---------

Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
(cherry picked from commit 1607a0d3f7)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2024-02-06 10:24:45 +04:00
fb6afbdda2 8.12.0 changelog (#2125) (#2126)
(cherry picked from commit 57ee5cf6c2)

Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
v8.12.0
2024-01-31 13:58:02 +04:00
b6335490f7 Auto-generated code for 8.12 (#2124) 2024-01-31 11:33:06 +04:00
b4280a5b77 Revert "Auto-generated code for 8.12"
This reverts commit 09afe9c75c. Two links
were invalid, security-api-get-settings.html and
security-api-update-settings.html.
2024-01-30 17:34:38 +04:00
09afe9c75c Auto-generated code for 8.12 2024-01-30 16:56:40 +04:00
d9195d54f7 Improved the body BC break description in request/response for 8.x documentation (#2117) (#2119)
* Improved the body bc break in 8.x documentation

* Removed just in the sentence

(cherry picked from commit 6eabf37097)

Co-authored-by: Enrico Zimuel <e.zimuel@gmail.com>
2024-01-04 13:58:14 +01:00
728c6cf2ee [Backport 8.12] Add missing snippets (#2114)
For https://github.com/elastic/clients-team/issues/728

(cherry picked from commit 5413eb5f35)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2023-12-14 17:20:48 -06:00
e4b090b90e [Backport 8.12] Integration test improvements (#2111)
* Improvements to integrations

Borrowed largely from https://github.com/elastic/elasticsearch-serverless-js/pull/38

* Bump all the things to 8.12.0

* Split Dockerfile copy into two layers

* Fix test cron names

(cherry picked from commit 4aaf49b6ea)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2023-12-14 16:41:15 -06:00
d9dd69b172 Set version to 8.12.0 (#2108) 2023-12-14 13:54:15 -06:00
58de8e169b [Backport 8.12] Add doc for closing connections (#2105)
(cherry picked from commit d3f22f1e14)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2023-12-14 09:47:11 -06:00
a2fb62ba43 [Backport 8.12] 8.11.0 changelog (#2099)
* Changelog for 8.11.0

* Add redaction docs link to changelog

(cherry picked from commit 1fb789862d)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2023-12-12 16:11:24 -06:00
1e8565ad3b [Backport 8.12] Bump transport to 8.4.0 (#2098)
* Support for transport 8.4.0 redaction functionality

* Docs for `redaction` options

(cherry picked from commit c2c417a9fd)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
2023-12-12 16:04:26 -06:00
06e3b05077 [DOCS] Adds a signpost for downloading ES or signing-up for ESS (#2084) 2023-11-27 10:46:53 -06:00
426919709f Throw an explicit error when asStream is used with bulk helper (#2078) 2023-11-16 10:14:20 -06:00
b7b16d81ee Fix arg-parsing issue in codegen script (#2068) 2023-11-08 13:07:55 -06:00
845ddaaf34 Auto-generated code for main (#2064) 2023-11-08 11:51:30 -06:00
abd5018cfe Bump version in main to 8.10.3 (#2066) 2023-11-07 12:07:18 -06:00
b47747007b Auto-generated code for main (#2061) 2023-11-06 10:59:55 -06:00
5fb65d07af Update how users/permissions are set up on CI Docker image (#2060) 2023-11-03 15:05:37 -05:00
99bcff02d5 Path filtering improvement (#2059)
* Another attempt at getting path filtering right

* Improve filters
2023-11-03 11:41:53 -05:00
ab10e462e7 Auto-generated code for main (#2058) 2023-11-03 10:39:04 -05:00
3c5178c7ae Stop supporting Node v14 and v16 (#2055) 2023-11-02 13:16:24 -05:00
9e2ff66564 Set module type to commonjs (#2053)
https://github.com/elastic/elasticsearch-js/issues/1281
2023-11-02 11:48:37 -05:00
1adc8c356a Fix version bump script (#2054)
* Fix version bump script failure

It was trying to run `.replace` on a Buffer instead of a string.

* Correctly set Node version in Docker
2023-11-02 11:48:16 -05:00
2d139e512b Improve unit test path filtering rules (#2052)
* Improve path-filtering rules on unit test action

See docs about how jobs that are skipped still report "success", which
is necessary for jobs that are required to succeed based on branch
protection rules.

https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution

* Code must be checked out for paths-filter to run

* Only run on default pull request events

Defaults are that it will run when a PR is opened, reopened, or
synchronized (new commits pushed).
2023-11-02 11:16:39 -05:00
96d0adb715 Action to auto-close stale issues and PRs (#2051) 2023-11-02 10:26:20 -05:00
f1e83ae853 Add more docs about keep-alive connections (#2048) 2023-11-02 10:15:28 -05:00
a6392ebe07 Auto-generated code for main (#2047) 2023-11-01 11:14:57 -05:00
dc7d603f47 Fix unit test workflow (#2045) 2023-10-31 11:53:22 -05:00
84a93c2ebf Skip unit tests for PRs where code did not change (#2041) 2023-10-24 15:40:00 -05:00
f7ed0394bf Add important flag to proxy config docs (#2040) 2023-10-24 15:32:27 -05:00
d194a220ea Fix backport action (#2036)
This should allow us to backport PRs from forks, and gets the action on
a newer commit.
2023-10-24 12:22:31 -05:00
a28a6a3654 Improve proxy configuration docs (#2035) 2023-10-23 14:05:39 -05:00
78cc262939 Auto-generated code for main (#2034) 2023-10-23 12:46:35 -05:00
f7f1d7c52e Auto-generated code for main (#2033) 2023-10-18 10:08:56 -05:00