Releases: kontent-ai/delivery-sdk-net
Releases · kontent-ai/delivery-sdk-net
12.1.0
https://www.nuget.org/packages/Kentico.Kontent.Delivery/12.1.0
- Items feed exposes the current continuation token. Use the
ContinuationTokenproperty of theDeliveryItemsFeedResponse. - Items feed is easier to mock and test. Use the
IDeliveryItemsFeedinterface to create your own.
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
11.0.3
11.0.2
11.0.1
11.0.0
11.0.0-beta1
New features
- Response models provide information whether content is stale.
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.
10.0.1
10.0.0
https://www.nuget.org/packages/KenticoCloud.Delivery/10.0.0
Fixes:
Breaking changes:
ResolvedContentItemDataclass was removed as it served just as an unnecessary wrapper class
- Every "code first" occurence in the code was removed i.e.:
ICodeFirstModelProvider,ICodeFirstTypeProviderandICodeFirstPropertyMapperinterfaces where renamed toIModelProvider,ITypeProviderandIPropertyMapper- Methods for registration in
DeliveryClientBuilder-WithCodeFirstModelProvider,WithCodeFirstTypeProviderandWithCodeFirstPropertyMapperwere renamed toWithModelProvider,WithTypeProviderandWithPropertyMapper CodeFirstResolvingContextclass was renamed toResolvingContext
9.0.1
https://www.nuget.org/packages/KenticoCloud.Delivery/9.0.1
Fixes:
- #145 - Missing content model causes DeliveryClient to silently fail
- #146 - Resolving inline items with IInlineContentItemsResolver is broken
- #149 - Custom default inline content items resolver registered through builder is not used
New features:
- some interfaces were removed or made simpler
Breaking changes:
- Non-generic
IInlineContentItemsResolverwas removed as it was an unusable interface that might eventually cause confusion in combination withITypelessInlineContentItemsResolver. - removed members from
IInlineContentItemsProcessor
Non-breaking changes:
- An independent
ITypelessInlineContentItemsResolverinterface was introduced to wrap and hideIInlineContentItemsResolver<TContentItem>resolvers and provide them in a non-generic way to theInlineContentItemsProcessorthat later puts inline content items through the resolver in order to obtain their string representation. - New extension methods for IServiceCollection were introduced to allow registration of custom inline content items resolvers