|
| 1 | +### Version: 3.0.0 |
| 2 | +#### Date: Jul-13-2026 |
| 3 | + |
| 4 | +##### Breaking Changes: |
| 5 | +- Removed `Newtonsoft.Json` dependency; all JSON serialisation now uses `System.Text.Json` (BCL) |
| 6 | +- `Entry.ToJson()`, `Query.Count()`, `AssetLibrary.Count()` now return `JsonObject` instead of `JObject` |
| 7 | +- `AssetLibrary.Query(JsonObject)` — parameter type changed from `JObject` to `JsonObject` |
| 8 | +- `ContentType.Fetch()`, `GlobalField.Fetch()`, `GlobalFieldQuery.Find()` now return `JsonObject` instead of `JObject` |
| 9 | +- `SerializerSettings` → `SerializerOptions` |
| 10 | +- Model classes use `[JsonPropertyName]` instead of `[JsonProperty]` |
| 11 | +- Requires **.NET 10** or later |
| 12 | +- Updated `contentstack.utils` dependency to `2.0.0` (final, non-beta) |
| 13 | + |
| 14 | +##### Feat: |
| 15 | +- Added `Endpoint` class for dynamic region-to-URL resolution via CDN-backed `regions.json` |
| 16 | +- Added `ContentstackRegionMap` to map `ContentstackRegion` enum to registry region IDs |
| 17 | +- Added `GCP_EU` region support |
| 18 | +- Added `ApiErrorBodyParser` for consistent API error envelope parsing |
| 19 | +- Added `JsonNodeConversion` and `JsonObjectMerge` utilities to replace Newtonsoft equivalents |
| 20 | +- Added `ContentstackJsonDefaults` — shared `JsonSerializerOptions` used across all custom converters |
| 21 | + |
| 22 | +##### Enh: |
| 23 | +- `Config.BaseUrl` now resolves hosts from the regions registry; removed hardcoded `regionCode()` and `HostURL` |
| 24 | +- Replaced `Console.WriteLine` with `Debug.WriteLine` in `ContentstackConvert` to suppress parse warnings from application stdout |
| 25 | + |
| 26 | +##### Chore: |
| 27 | +- Replaced `refresh-region.cs` with `refresh-region.py` — avoids MSBuild compiling the script as source |
| 28 | +- Added `build/contentstack.csharp.targets` to auto-deliver `refresh-region.py` to consumer projects on first build |
| 29 | +- Added `Assets/regions.json` to `.gitignore` |
| 30 | +- Added `EndpointTest.cs` |
| 31 | +- Updated .NET version in SCA scan CI from `7.0.x` to `10.0.x` |
| 32 | + |
| 33 | +##### Migration Guide: |
| 34 | +- See [Migrating from Newtonsoft.Json to System.Text.Json](https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/dot-net/migrate-dotnet-delivery-sdk-from-newtonsoft.json-to-system.text.json) for the full upgrade path from v2.x. |
| 35 | + |
| 36 | +--- |
| 37 | + |
1 | 38 | ### Version: 3.0.0-beta.2 |
2 | 39 | #### Date: Jun-22-2026 |
3 | 40 |
|
|
0 commit comments