- Feat
- Enhanced Error Handling and Test Coverage (DX-5436)
- Added comprehensive error handling across all models with enhanced
ContentstackErrorException - Implemented negative test cases for all integration tests to validate error scenarios
- Added testing infrastructure:
MockHttpStatusHandler,MockNetworkErrorHandler, andAssertLoggerhelpers - Enhanced test coverage with error validation across Login, Organization, Stack, Release, Global Field, Content Type, Nested Global Field, Asset, Entry, Bulk Operation, Delivery Token, Taxonomy, Environment, Role, Workflow, Entry Variant, and Variant Group operations
- Improved exception handling in
BaseModeland service layers
- Added comprehensive error handling across all models with enhanced
- Enhanced Error Handling and Test Coverage (DX-5436)
- Fix
- Variant Group HTTP method correction: Updated variant group link/unlink operations to use PUT method instead of POST for API compliance
- Enhanced integration test coverage for variant group operations
- Feat
- Entry Variant support
EntryVariantmodel for create, fetch, find, update, and delete on entry variant endpointsEntry.Variant(uid)to access variant operations for a given entry- Publish with variants:
PublishVariant,PublishVariantRules, andVariants/VariantRulesonPublishUnpublishDetails; serialization updated inPublishUnpublishService - Unit tests for
EntryVariantand publish payload serialization; integration tests (Contentstack021_EntryVariantTest) for Product Banner lifecycle and negative cases
- Entry Variant support
- Feat
- Bulk publish/unpublish: query parameters (DX-3233)
skip_workflow_stage_checkandapprovalsare now sent as query parameters instead of headers for bulk publish and bulk unpublish- Unit tests updated to assert on
QueryResourcesfor these flags (BulkPublishServiceTest, BulkUnpublishServiceTest, BulkOperationServicesTest) - Integration tests: bulk publish with skipWorkflowStage and approvals (Test003a), bulk unpublish with skipWorkflowStage and approvals (Test004a), and helper
EnsureBulkTestContentTypeAndEntriesAsync()so bulk tests can run in any order
- Bulk publish/unpublish: query parameters (DX-3233)
v0.6.1 (2026-02-02)
- Fix
- Release DELETE request no longer includes Content-Type header to comply with API requirements
- Enhancement
- Refactor retry policy implementation to improve exception handling and retry logic across various scenarios
- Improved error messages
- Feat
- Variant Group Management: Added comprehensive support for variant group operations
- Added
VariantGroupmodel class with Find, LinkContentTypes and UnlinkContentTypes methods - Comprehensive unit test coverage with 33+ tests covering all functionality and edge cases
- Added
- Variant Group Management: Added comprehensive support for variant group operations
- Feat
- MFA Support: Added Multi-Factor Authentication (MFA) support for login operations
- Added
mfaSecretparameter toLoginandLoginAsyncmethods for TOTP generation - Automatic TOTP token generation from Base32-encoded MFA secrets using Otp.NET library
- Comprehensive test coverage for MFA functionality including unit and integration tests
- Supports both explicit token and MFA secret-based authentication flows
- Added
- Added Support for OAuth
- Added Comprehensive test coverage for OAuth Functionality in Unit Test cases.
- Supports both Login with and without OAuth Flows
- MFA Support: Added Multi-Factor Authentication (MFA) support for login operations
- Fix
- Added Test cases for the Release
- Fix
- Fixed apiVersion param in Publish/Unpublish methods
- Feat
- Bulk Operations:
- Added Support for the bulk operations of Publish, Unpublish, Delete, Workflow Update, addRelease Items, Update Release Items, Job-Status both sync and async methods
- Nested Global Fields: Added the support for the nested global fields for all the CRUD Operations
- Bulk Operations:
- Fix
- Fixed the Single Publish issue with specific entry version (Changing the type from String to Int)
- Fix
- Fix the Delivery Token URL
- Made the Summary More Readable
- Feat
- Add support for custom Http client and IHttpClientFactory
- Feat
- Add support for apiVersion in bulk publish unpublish methods
- Fix
- Media header now added only to Assets API methods and removed from all others for both Sync and Async calls.
- Fix
- Strong named assemblies
v0.1.7 (2024-02-11)
- Feature
- Parameter support in References and ReferencesAsync methods
v0.1.6 (2024-02-11)
- Fix
- TextNode Deserializer
v0.1.5 (2024-02-11)
- Adds JsonConverters to Serializer for JSON Rte
v0.1.4 (2024-01-22)
- EarlyAccess Header support and AddQuery method in ParamCollection