…o System.Text.Json
- Replace Newtonsoft.Json attributes with System.Text.Json equivalents in
ReleaseModel, PublishRuleModel, and DeleteReleaseItemService
- Fix FetchDeleteService/CreateUpdateService call sites in Workflow, PublishRule,
PublishQueue, Release, and ReleaseItem (remove legacy serializer argument)
- Uncomment Stack.Release(), Stack.Workflow(), and Stack.PublishQueue() methods
- Remove <Compile Remove> exclusions from core, unit test, and integration test projects
- Update unit test assertions from OpenJObjectResponse (Newtonsoft) to OpenJsonObjectResponse (STJ)
- Migrate Contentstack004_ReleaseTest integration test from Newtonsoft.Json.Linq to System.Text.Json.Nodes
- Implement EnsureBulkTestWorkflowAndPublishingRuleAsync in BulkOperationTest
to restore workflow/publish rule setup now that Stack.Workflow() is active
- Fix Contentstack020_WorkflowTest: replace .Value<bool>() with .GetValue<bool>() for STJ JsonNode
Summary
ReleaseModel,PublishRuleModel, andDeleteReleaseItemServiceWorkflow,PublishRule,PublishQueue,Release, andReleaseItemto drop the legacy Newtonsoft serializer argumentStack.Release(),Stack.Workflow(), andStack.PublishQueue()methods (previously commented out pending migration)<Compile Remove>exclusions across core, unit test, and integration test projectsOpenJObjectResponse(Newtonsoft) toOpenJsonObjectResponse(STJ)BulkOperationTest.ClassInitializeand implemented the previously stubbedEnsureBulkTestWorkflowAndPublishingRuleAsyncTest Plan
dotnet build Contentstack.Management.Core/contentstack.management.core.csproj— 0 errorsdotnet test Contentstack.Management.Core.Unit.Tests/— all 991 tests passdotnet build Contentstack.Management.Core.Tests/— 0 errorsContentstack015_BulkOperationTest,Contentstack004_ReleaseTest,Contentstack020_WorkflowTestrun without workflow/Newtonsoft-related failures🤖 Generated with Claude Code