Releases: contentstack/contentstack-utils-dotnet
Releases · contentstack/contentstack-utils-dotnet
Release list
v2.0.0
What's Changed
- Breaking: Replaced Newtonsoft.Json with System.Text.Json across the package. The
Newtonsoft.Jsonpackage reference is removed; addSystem.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 toJsonObject/JsonArrayoverloads. - Breaking:
Node.attrsvalues are nowSystem.Text.Json.JsonElementinstead ofNewtonsoft.Json.Linq.JToken— updatenode.attrs["src"].Value<string>()tonode.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 theUtilsclass without importingContentstack.Utils.Endpoints. - New:
omitHttpsflag strips thehttps://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.jsonregistry auto-downloaded fromartifacts.contentstack.comon first use and cached on disk — no setup required. The SDK self-heals if the file is missing. - New:
Scripts/refresh-region.pybundled inside the NuGet package — automatically placed in your project'sScripts/folder on firstdotnet build. Runpython3 Scripts/refresh-region.py(Mac/Linux) orpython Scripts/refresh-region.py(Windows) anytime to pull the latest regions from CDN.
Full Changelog: v1.4.0...v2.0.0
v1.4.0
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
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
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
- Migrated to newtonsoft.json to System.Text.Json
- Added .NET 10.x support
v1.2.0
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
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
What's Changed
- Centralize error messages in Constants/ErrorMessages.cs by @reeshika-h in #39
New Contributors
- @reeshika-h made their first contribution in #39
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
- Fix: Used the title and target attributes in the a tag by @cs-raj in #27
- Fix Development by @cs-raj in #30
- Fix/dev2 by @cs-raj in #33
- Development by @harshithad0703 in #31
- Update sca-scan.yml by @harshithad0703 in #35
- DX | 09-06-2025 | Release by @harshithad0703 in #34
New Contributors
- @harshithad0703 made their first contribution in #31
Full Changelog: v1.0.5...v1.0.6