From 7733eec32835aa685054e00e2165c850dd4c6f5a Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Tue, 2 Jul 2024 11:33:33 -0500 Subject: [PATCH] Prepare 7.17.14 (#2294) * Prepare 7.17.14 * Tweaks to Github action --- .github/workflows/nodejs.yml | 28 ++++++++++++++-------------- docs/changelog.asciidoc | 12 +++++++++++- package.json | 4 ++-- 3 files changed, 27 insertions(+), 17 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 45897aec0..d65876b74 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,10 +13,10 @@ jobs: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -49,7 +49,7 @@ jobs: node-version: [16.x, 18.x, 20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure sysctl limits run: | @@ -61,10 +61,10 @@ jobs: - name: Runs Elasticsearch uses: elastic/elastic-github-actions/elasticsearch@master with: - stack-version: 7.16-SNAPSHOT + stack-version: 7.17-SNAPSHOT - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -81,7 +81,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure sysctl limits run: | @@ -93,12 +93,12 @@ jobs: - name: Runs Elasticsearch uses: elastic/elastic-github-actions/elasticsearch@master with: - stack-version: 7.16-SNAPSHOT + stack-version: 7.17-SNAPSHOT - - name: Use Node.js 14.x - uses: actions/setup-node@v1 + - name: Use Node.js 16.x + uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 16.x - name: Install run: | @@ -124,10 +124,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js 14.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -149,10 +149,10 @@ jobs: node-version: [14.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/docs/changelog.asciidoc b/docs/changelog.asciidoc index 1ee667240..1bef83d5a 100644 --- a/docs/changelog.asciidoc +++ b/docs/changelog.asciidoc @@ -1,6 +1,16 @@ [[changelog-client]] == Release notes +[discrete] +=== 7.17.14 + +[discrete] +==== Fixes + +Stops retrying timed-out requests by default. +Re-enabling the old behavior can be done by providing a `retryOnTimeout` option when instantiating the client. +https://github.com/elastic/elasticsearch-js/pull/2293[#2293] + [discrete] === 7.17.13 @@ -26,7 +36,7 @@ This is the first 7.x release where patch versions of the client will no longer Fixes a type declaration bug that caused TypeScript builds to fail. https://github.com/elastic/elasticsearch-js/pull/1927[#1927] [discrete] -===== Add TypeScript type declarations to exports +===== Add TypeScript type declarations to exports Adds TypeScript type declarations file to package.json `exports` https://github.com/elastic/elasticsearch-js/pull/1930[#1930] diff --git a/package.json b/package.json index dc028cfd8..b3e221e02 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "./*": "./*.js" }, "homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html", - "version": "7.17.13", - "versionCanary": "7.17.13-canary.1", + "version": "7.17.14", + "versionCanary": "7.17.14-canary.0", "keywords": [ "elasticsearch", "elastic",