Skip to content

Commit

Permalink
Drop support of Node.js 12. Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Sep 17, 2024
1 parent 71aca5f commit 80863a9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"main": "./lib/report-portal-client",
"engines": {
"node": ">=12.x"
"node": ">=14.x"
},
"dependencies": {
"axios": "^1.7.7",
Expand Down
2 changes: 1 addition & 1 deletion version_fragment
Original file line number Diff line number Diff line change
@@ -1 +1 @@
patch
minor

0 comments on commit 80863a9

Please sign in to comment.