12.0.0
https://www.nuget.org/packages/Kentico.Kontent.Delivery/12.0.0
New features
- Response models provide information whether content is stale. Use the
HasStaleContentproperty to determine content status. - Items can be enumerated in a streaming fashion. Use the
GetItemsFeedmethod to create a feed. Use theHasMoreResultsproperty and theFetchNextBatchAsyncmethod to enumerate the feed.
Breaking changes
GetTaxonomyAsync,GetTypeAsyncandGetContentElementAsyncmethods return response models instead of taxonomy group, content type or content type element models. UseTaxonomy,TypeorElementproperties to get response content. There is also an implicit conversion from response models to their content.- Improved retry policy. Apart from error responses it also handles connection issues and it no longer depends on
Polly. Use theWithDefaultRetryPolicyOptionsmethod to customize settings of the default retry policy. Create a custom retry policy by implementingIRetryPolicyandIRetryPolicyProviderinterfaces. - Updated client options.
- Use the
UseProductionApimethod instead of theUseProductionApiproperty. - Use the
WaitForLoadingNewContentmethod instead of theWaitForLoadingNewContentproperty. - Use the
UseProductionApimethod with a secure access key parameter instead of theUseSecuredProductionApimethod when secure access to the Delivery API is enabled. - Use
UseSecureAccessandSecureAccessApiKeyproperties instead ofUseSecuredProductionApiandSecuredProductionApiKeyproperties to configure client when secure access is enabled.
- Use the