From 80863a9176ef566cbf0b5ca018012a711bbe72e0 Mon Sep 17 00:00:00 2001 From: Ilya Hancharyk Date: Tue, 17 Sep 2024 18:15:40 +0200 Subject: [PATCH] Drop support of Node.js 12. Update changelog --- .github/workflows/CI-pipeline.yml | 2 +- CHANGELOG.md | 7 ++++--- package.json | 2 +- version_fragment | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI-pipeline.yml b/.github/workflows/CI-pipeline.yml index 3844788..9ab57b8 100644 --- a/.github/workflows/CI-pipeline.yml +++ b/.github/workflows/CI-pipeline.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16, 18, 20, 22] + node: [14, 16, 18, 20, 22] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 38d285b..44e904f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ +### Changed +- **Breaking change** Drop support of Node.js 12. The version [5.1.4](https://github.com/reportportal/client-javascript/releases/tag/v5.1.4) is the latest that supports it. +- The client now creates an instance of the `axios` HTTP client in the constructor. +- The `HOST` HTTP header is added to all requests as it was skipped by the HTTP client. ### Fixed - Allow using `restClientConfig` in `checkConnect()` method. Thanks to [stevez](https://github.com/stevez). ### Security - Updated versions of vulnerable packages (braces). -### Changed -- The client now creates an instance of the `axios` HTTP client in the constructor. -- The `HOST` HTTP header is added to all requests as it was skipped by the HTTP client. ## [5.1.4] - 2024-05-22 ### Fixed diff --git a/package.json b/package.json index cb195fe..d3ebe5a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ ], "main": "./lib/report-portal-client", "engines": { - "node": ">=12.x" + "node": ">=14.x" }, "dependencies": { "axios": "^1.7.7", diff --git a/version_fragment b/version_fragment index 9eb7b90..acb503f 100644 --- a/version_fragment +++ b/version_fragment @@ -1 +1 @@ -patch +minor