From 9dc0e5f8d28313422854926974c909dd8d524a9b Mon Sep 17 00:00:00 2001 From: sunil-lakshman <104969541+sunil-lakshman@users.noreply.github.com> Date: Mon, 15 Jun 2026 12:35:19 +0530 Subject: [PATCH] Updated changelog file --- CHANGELOG.md | 5 +++++ src/Support/Utility.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd9784c7..91bb6a81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ ## CHANGELOG ------------------------------------------------ +## Version 2.5.0 +###### Date: 15-June-2026 +### Enhancement + - Added support for custom URL endpoint integration +------------------------------------------------ ## Version 2.4.2 ###### Date: 05-January-2026 ### Security fix diff --git a/src/Support/Utility.php b/src/Support/Utility.php index d8a1329b..448bcb15 100755 --- a/src/Support/Utility.php +++ b/src/Support/Utility.php @@ -395,7 +395,7 @@ public static function contentstackRequest($stack, $queryObject = '', $type = '' $Headers = Utility::headers($queryObject); $request_headers = array(); - $request_headers[] = 'x-user-agent: contentstack-php/2.3.1'; + $request_headers[] = 'x-user-agent: contentstack-php/2.5.0'; $request_headers[] = 'api_key: '.$Headers["api_key"]; if (Utility::isLivePreview($queryObject)) { $request_headers[] = 'authorization: '.$queryObject->contentType->stack->live_preview['management_token'] ;