- CDA / – AssetFields support
- Added
AssetFields(params string[] fields)to request specific asset-related metadata via the CDAasset_fields[]query parameter - Implemented on: Entry (single entry fetch), Query (entries find), Asset (single asset fetch), AssetLibrary (assets find)
- Valid parameters:
user_defined_fields,embedded_metadata,ai_generated_metadata,visual_markups - Method is chainable; when called with no arguments, the query parameter is not set
- Added
- CDA / – Asset localisation support
- Added
SetLocale(string locale)on Asset for single-asset fetch by locale (e.g.stack.Asset(uid).SetLocale("en-us").Fetch()) - Added
Titleproperty on Asset for localised title in API response - AssetLibrary
SetLocalecontinues to support listing assets by locale
- Added
- Error Handling
- Fixed error message extraction from Contentstack API responses across all model classes
- HTTP request errors now properly extract and display actual API error messages instead of generic exception messages
- Improved error handling in Query, Entry, Asset, GlobalField, ContentType, AssetLibrary, GlobalFieldQuery, and Taxonomy classes
- Users will now see meaningful error messages (e.g., "Invalid API key", "Entry not found") instead of generic "Exception of type 'ContentstackException' was thrown" messages
- ErrorCode, StatusCode, and Errors dictionary are now properly populated from API responses
- Improved Error messages
- Taxonomy
- Fixed NullReferenceExceptions
- Fixed InvalidCastException in
GetContentstackErrorwhen exception is not a WebException - Fixed JsonReaderException in
GetContentstackErrorwhen response is not valid JSON - All exceptions now properly throw TaxonomyException (extends ContentstackException) with descriptive error messages
- AssetLibrary
- Added new
Wheremethod for simple key-value pair queries - Enhanced
Querymethod to support multiple calls with intelligent merging
- Added new
- Improved query handling with better null safety and error handling
- Added Support For AWS-AU Region
- Fetch Assets using tags
- Fixed token issue for Live Preview
- Fixed Timeline issue of Entry not getting updated
- Added Support for Global Fields
- Added Support for Timeline Preview
- Reset
LivePreviewConfigto prevent overwriting fetched data with live preview data during regular fetch calls.
- Remove updateLPContent call to resolve incorrect display of unsaved changes
- Added support to access different properties of asset
- Added support for fetch asset by Query
- Live Preview 2.0 Implementation
- Removed exclusion of env when adding headers
- Taxonomy class added
- Added Early Access Header Support
- GCP_NA region support added
- AddParam method added for Entry, Asset, AssetLibrary and Query
- Proxy support added
- Timeout support added
- Region support added
- IncludeMetadata support added
- Live preview Query issue
- Entry
- IncludeOnlyReference function added
- IncludeExceptReference function added
- Query
- IncludeOnlyReference function added
- IncludeExceptReference function added
- Live preview feature support added
- Entry
- IncludeEmbeddedItems function added
- Query
- IncludeEmbeddedItems function added
- AssetLibrary
- IncludeFallback function added
- SetLocale function added
- Asset
- IncludeFallback function added
- SetLocale function added
- Entry
- IncludeFallback function added
- Query
- IncludeFallback function added
- AssetLibrary
- Count function added
- Limit, Skip functionality added
- Only, Except function added
- Query
- Count function added
- CSJsonConverter
- Added class CSJsonConverter to allow autoloading of converters
- Stack
- Sync function to allow multiple SyncType
- Entry
- GetContentType exception resolved
- Stack
- AccessToken deprecated with support to add DeliveryToken
- GetEnvironment issue resolved
- GetDeleted at Method addedAssetLibrary
- SyncType issue resolved
- Query
- update function 'IncludeOwner'
- Entry
- update function 'IncludeOwner'
- Stack
- update function 'GetContentType:'
- ContentType
- update function 'Fetch:'
- Config
- added property attribute 'region'
- Query
- added method 'ReferenceIn'
- added method 'ReferenceNotIn'
- Query
- added method 'includeReferenceContentTypeUid'
- Entry
- added method 'includeReferenceContentTypeUid'
-
Query
- added method 'SetLocale'
-
Entry
- added method 'SetLocale'
-
Query
- update method 'Fetch'
- update method 'FindOne'
-
Entry
- update method 'Find'
-
Query
- deprecated method 'SetLanguage'
-
Entry
- deprecated method 'SetLanguage'
-
ContentstackClient
- added method 'GetContentTypes'
- added method 'SyncRecursive'
- added method 'SyncPaginationToken'
- added method 'SyncToken'
-
CotentType
- added method 'Fetch'
Localization support for Query and Entry is added.
- Introduce Contentstack SDK for DOTNET.