Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Version: 1.0.0
#### Date:
#### Date: July-13-2026

##### Breaking Changes:
- Removed the `Newtonsoft.Json` dependency entirely. Both the tool's internals and the models/converters it generates now use `System.Text.Json`.
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ This utility is use to generate models based on ContentTypes in Stack.
## Requirements
**As of v1.0.0**, this tool targets **.NET 10.0** and requires the **.NET 10.0 SDK or later**. Versions prior to v1.0.0 targeted .NET 7.0.

### Compatibility
Since v1.0.0, generated model files use `System.Text.Json` instead of `Newtonsoft.Json`. Because generated code references `Contentstack.Core.Models` and `Contentstack.Utils.Interfaces` / `ContentstackHelper` directly, your consuming project must reference System.Text.Json-based SDK versions for the generated code to compile:

| Package | Minimum Version |
|---|---|
| `contentstack.csharp` (Delivery SDK) | `3.0.0` |
| `contentstack.management.csharp` (Management SDK) | `1.0.0` |
| `contentstack.utils` | `2.0.0` |

Generating models into a project still referencing pre-3.0.0 / pre-1.0.0 / pre-2.0.0 (Newtonsoft-based) SDK versions will produce code that fails to compile.

## Installation
To install Contenstack model generator run following command:
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<PackAsTool>true</PackAsTool>
<PackageOutputPath>./nupkg</PackageOutputPath>
<PackOnBuild>true</PackOnBuild>
<PackageVersion>1.0.0-beta.1</PackageVersion>
<PackageVersion>1.0.0</PackageVersion>
<Authors>Contentstack</Authors>
<ReleaseVersion>1.0.0-beta.1</ReleaseVersion>
<ReleaseVersion>1.0.0</ReleaseVersion>
<RootNamespace>Contentstack.Model.Generator</RootNamespace>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageReleaseNotes>Improved Error messages</PackageReleaseNotes>
<PackageReleaseNotes>See CHANGELOG.md for full release notes.</PackageReleaseNotes>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
<PackageTags>v0.5.1</PackageTags>
<PackageTags>contentstack;model-generator;codegen;cli;dotnet-tool;csharp;net10;system-text-json;cms;headless-cms</PackageTags>
<Configurations>Release;Debug</Configurations>
</PropertyGroup>

Expand Down
Loading