Skip to content

feat: upgrade to .NET 10 and bump version to 1.0.0-beta.1#39

Draft
OMpawar-21 wants to merge 2 commits into
enhc/betafrom
enhc/DX-9373
Draft

feat: upgrade to .NET 10 and bump version to 1.0.0-beta.1#39
OMpawar-21 wants to merge 2 commits into
enhc/betafrom
enhc/DX-9373

Conversation

@OMpawar-21

Copy link
Copy Markdown

Summary

  • Upgrades the tool runtime from net7.0 to net10.0 to align with the Contentstack CDA (contentstack-dotnet beta) and CMA (contentstack-management-dotnet enhc/beta) SDKs which have both migrated to .NET 10
  • Updates CI/CD pipeline to install and use the .NET 10 SDK
  • Bumps package version to 1.0.0-beta.1 marking the start of the STJ + .NET 10 migration series

Changes

File Change
contentstack.model.generator.csproj net7.0net10.0, version 0.5.11.0.0-beta.1
contentstack.model.generator.tests.csproj net9.0net10.0, Microsoft.AspNetCore.Mvc.Testing 9.0.910.0.0
.github/workflows/nuget-publish.yml checkout@v1@v4, setup-dotnet@v3@v4 + dotnet-version: '10.x' in both jobs
CMA/ContentstackClient.cs GetHeader visibility privateinternal (pre-existing test compilation bug)
CHANGELOG.md Added 1.0.0-beta.1 release entry

Notes

  • This PR contains zero logic changes — purely framework, tooling, and version updates
  • The GetHeader fix resolves a pre-existing CS1061 compilation error in ContentstackClientTests that was present before this PR (tests were never running against that file)

Test Plan

  • dotnet build — 0 errors on net10.0
  • dotnet test — 175 passed, 0 failed on net10.0
  • dotnet pack — valid 1.0.0-beta.1 .nupkg produced
  • dotnet tool install --global + --help — CLI runs successfully on net10.0

- Bump main project TFM from net7.0 to net10.0
- Bump test project TFM from net9.0 to net10.0
- Update Microsoft.AspNetCore.Mvc.Testing 9.0.9 → 10.0.0
- Upgrade CI: actions/checkout@v1 → @v4, setup-dotnet@v3 → @v4 with dotnet-version 10.x
- Fix pre-existing GetHeader visibility private → internal (unblocks 175 tests)
- Bump PackageVersion and ReleaseVersion to 1.0.0-beta.1
- Update CHANGELOG.md
@OMpawar-21 OMpawar-21 requested a review from reeshika-h June 30, 2026 10:48
Comment thread CHANGELOG.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants