Skip to content

Releases: contentstack/contentstack-utils-dotnet

v2.0.0

Choose a tag to compare

@naman-contentstack naman-contentstack released this 13 Jul 10:18
58973ba

What's Changed

  • Breaking: Replaced Newtonsoft.Json with System.Text.Json across the package. The Newtonsoft.Json package reference is removed; add System.Text.Json (or rely on the BCL on supported runtimes) as needed in consuming projects.
  • Breaking: GetVariantAliases(JObject, string) / GetVariantAliases(JArray, string)GetVariantAliases(JsonObject, string) / GetVariantAliases(JsonArray, string).
  • Breaking: GetVariantMetadataTags(JObject, string) / GetVariantMetadataTags(JArray, string)GetVariantMetadataTags(JsonObject, string) / GetVariantMetadataTags(JsonArray, string).
  • Breaking: GetDataCsvariantsAttribute(JObject/JArray, string) is deprecated and now maps to JsonObject/JsonArray overloads.
  • Breaking: Node.attrs values are now System.Text.Json.JsonElement instead of Newtonsoft.Json.Linq.JToken — update node.attrs["src"].Value<string>() to node.attrs["src"].GetString().
  • Breaking: Model classes use [JsonPropertyName] instead of [JsonProperty].
  • Breaking: Requires .NET 10 or later (previously netstandard2.0 / net6.0).
  • New: Multi-region endpoint resolution via Endpoint.GetContentstackEndpoint(region, service) — resolves Contentstack service URLs for all 7 supported regions (NA, EU, AU, Azure-NA, Azure-EU, GCP-NA, GCP-EU) and 18 service keys (contentDelivery, contentManagement, auth, graphqlDelivery, preview, images, assets, automate, launch, developerHub, brandKit, genAI, personalizeManagement, personalizeEdge, composableStudio, assetManagement, and more).
  • New: Utils.GetContentstackEndpoint(region, service) proxy — access endpoint resolution directly from the Utils class without importing Contentstack.Utils.Endpoints.
  • New: omitHttps flag strips the https:// scheme from returned URLs — pass directly to SDK host configuration (e.g. new ContentstackOptions { Host = Endpoint.GetContentstackEndpoint("eu", "contentDelivery", omitHttps: true) }).
  • New: Case-insensitive region alias support — "us", "NA", "AWS-NA", "azure_na" all resolve correctly to the same region.
  • New: regions.json registry auto-downloaded from artifacts.contentstack.com on first use and cached on disk — no setup required. The SDK self-heals if the file is missing.
  • New: Scripts/refresh-region.py bundled inside the NuGet package — automatically placed in your project's Scripts/ folder on first dotnet build. Run python3 Scripts/refresh-region.py (Mac/Linux) or python Scripts/refresh-region.py (Windows) anytime to pull the latest regions from CDN.


Full Changelog: v1.4.0...v2.0.0

v1.4.0

Choose a tag to compare

@reeshika-h reeshika-h released this 29 Jun 10:14
e3b8de3

What's Changed

  • chore: back-merge master into development by @github-actions[bot] in #64
  • chore: back-merge master into development by @github-actions[bot] in #67
  • fix: add EmbeddedObject and EmbeddedObjectConverter to resolve IEmbeddedObject deserialization failure by @OMpawar-21 in #69
  • fix: updated the mock data by @OMpawar-21 in #71
  • DX | 29-06-2026 | Release by @harshitha-cstk in #70

New Contributors

  • @github-actions[bot] made their first contribution in #64

Full Changelog: v1.3.0...1.4.0

v2.0.0-beta.2

v2.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@OMpawar-21 OMpawar-21 released this 22 Jun 10:22
a305538

What's Changed

  • feat: made changes in version bump for master by @OMpawar-21 in #65
  • feat: add multi-region endpoint resolution with self-heal regions registry by @OMpawar-21 in #66
  • fix: replace refresh-region.cs with refresh-region.py by @OMpawar-21 in #68

Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2

v1.3.0

Choose a tag to compare

@naman-contentstack naman-contentstack released this 11 May 10:16
bd8a8c0

What's Changed

  • security: fix vulnerabilities in test report generator by @OMpawar-21 in #55
  • fix(5999): resolve critical security vulnerabilities in Python test report … by @OMpawar-21 in #56
  • DX-6186: new release process by @harshitha-cstk in #59
  • feat: Add Live Preview editable tags support (addEditableTags/addTags) by @OMpawar-21 in #60

Full Changelog: v1.2.0...v1.3.0

v2.0.0-beta.1

v2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@cs-raj cs-raj released this 04 May 09:08
2c270ee
  • Migrated to newtonsoft.json to System.Text.Json
  • Added .NET 10.x support

v1.2.0

Choose a tag to compare

@harshitha-cstk harshitha-cstk released this 06 Apr 09:49
2a41518

What's Changed

  • feat(5736): add GetVariantMetadataTags; deprecate GetDataCsvariantsAttribute by @OMpawar-21 in #50
  • feat(5626): Python TRX/Cobertura HTML report; run-test-case.sh; unit-test w… by @OMpawar-21 in #45

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@harshitha-cstk harshitha-cstk released this 30 Mar 10:36
267ad33

What's Changed

  • feat(5410): variant alias helpers (GetVariantAliases, GetDataCsvariantsAttribute) by @OMpawar-21 in #44
  • fix: updated the version to 1.1.0 by @cs-raj in #48

Full Changelog: v1.0.7...v1.1.0

v1.0.7

Choose a tag to compare

@harshithad0703 harshithad0703 released this 19 Jan 10:30
91f4f4e

What's Changed

  • Centralize error messages in Constants/ErrorMessages.cs by @reeshika-h in #39

New Contributors

Full Changelog: v1.0.6...v1.0.7

v1.0.6

Choose a tag to compare

@harshithad0703 harshithad0703 released this 09 Jun 11:36
c2b07ad

What's Changed

New Contributors

Full Changelog: v1.0.5...v1.0.6

Fixes

Choose a tag to compare

@cs-raj cs-raj released this 10 Oct 09:42
3a99be9
  • Used the className and Id selector for converting json to html