Skip to content

12.0.0

Choose a tag to compare

@tobiaskamenicky tobiaskamenicky released this 08 Oct 10:57
f4bcf86

https://www.nuget.org/packages/Kentico.Kontent.Delivery/12.0.0

New features

  • Response models provide information whether content is stale. Use the HasStaleContent property to determine content status.
  • Items can be enumerated in a streaming fashion. Use the GetItemsFeed method to create a feed. Use the HasMoreResults property and the FetchNextBatchAsync method to enumerate the feed.

Breaking changes

  • GetTaxonomyAsync, GetTypeAsync and GetContentElementAsync methods return response models instead of taxonomy group, content type or content type element models. Use Taxonomy, Type or Element properties 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 the WithDefaultRetryPolicyOptions method to customize settings of the default retry policy. Create a custom retry policy by implementing IRetryPolicy and IRetryPolicyProvider interfaces.
  • Updated client options.
    • Use the UseProductionApi method instead of the UseProductionApi property.
    • Use the WaitForLoadingNewContent method instead of the WaitForLoadingNewContent property.
    • Use the UseProductionApi method with a secure access key parameter instead of the UseSecuredProductionApi method when secure access to the Delivery API is enabled.
    • Use UseSecureAccess and SecureAccessApiKey properties instead of UseSecuredProductionApi and SecuredProductionApiKey properties to configure client when secure access is enabled.