From b86e7f9deb2d7e06319caae6de8d16de9777602d Mon Sep 17 00:00:00 2001 From: "reportportal.io" Date: Tue, 28 Oct 2025 12:51:26 +0000 Subject: [PATCH 1/3] 5.5.0 -> 5.5.1-SNAPSHOT --- VERSION | 2 +- version_fragment | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index d50359de..1f5ac30e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.5.0 +5.5.1-SNAPSHOT diff --git a/version_fragment b/version_fragment index acb503f9..9eb7b90e 100644 --- a/version_fragment +++ b/version_fragment @@ -1 +1 @@ -minor +patch From 2c6b73255e87240ba7f627c0344b49ae0ad438a1 Mon Sep 17 00:00:00 2001 From: Alexander Galichenko Date: Wed, 29 Oct 2025 17:08:44 +0200 Subject: [PATCH 2/3] Merge pull request #237 from AlexGalichenko/fix-custom-agent fixed issue in request method in case if this.restClientConfig is not provided in config --- lib/rest.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rest.js b/lib/rest.js index 8b19c699..a5eb6547 100644 --- a/lib/rest.js +++ b/lib/rest.js @@ -67,7 +67,8 @@ class RestClient { // Only apply proxy agents if custom agents are not explicitly provided // Priority: explicit httpsAgent/httpAgent > proxy config > default const hasCustomAgents = - 'httpsAgent' in this.restClientConfig || 'httpAgent' in this.restClientConfig; + this.restClientConfig && + ('httpsAgent' in this.restClientConfig || 'httpAgent' in this.restClientConfig); const proxyAgents = hasCustomAgents ? {} : getProxyAgentForUrl(url, this.restClientConfig); return this.axiosInstance From df927dd3349f5c1bbaaefcea6b32d3a50bcaf411 Mon Sep 17 00:00:00 2001 From: Ilya_Hancharyk Date: Wed, 29 Oct 2025 16:21:20 +0100 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c74c1bb4..e753178d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +### Fixed +- Client errors when the `restClientConfig` not specified. ## [5.5.0] - 2025-10-28 ### Added