From 106f4984fffb64947cb00676038be9196149bcbc Mon Sep 17 00:00:00 2001 From: raj pandey Date: Tue, 18 Feb 2025 18:27:43 +0530 Subject: [PATCH] fix: Version bump --- CHANGELOG.md | 6 ++++++ Contentstack.Core/Internals/HttpRequestHandler.cs | 2 +- Directory.Build.props | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae8dc8e..88fc498 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### Version: 2.21.0 +#### Date: Dec-19-2024 + +##### Feat: +- Updating to system.text.json + ### Version: 2.20.0 #### Date: Dec-19-2024 diff --git a/Contentstack.Core/Internals/HttpRequestHandler.cs b/Contentstack.Core/Internals/HttpRequestHandler.cs index e8710f0..cbed5db 100644 --- a/Contentstack.Core/Internals/HttpRequestHandler.cs +++ b/Contentstack.Core/Internals/HttpRequestHandler.cs @@ -48,7 +48,7 @@ public async Task ProcessRequest(string Url, Dictionary var request = (HttpWebRequest)WebRequest.Create(uri); request.Method = "GET"; request.ContentType = "application/json"; - request.Headers["x-user-agent"]="contentstack-delivery-dotnet/2.20.0"; + request.Headers["x-user-agent"]="contentstack-delivery-dotnet/2.21.0"; request.Timeout = timeout; if (proxy != null) diff --git a/Directory.Build.props b/Directory.Build.props index 2beb17e..402aa0e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - 2.20.0 + 2.21.0