Hide menu Last updated: Oct 20 2016
Area: Episerver Find Applies to versions: 12

Breaking changes in Find 12

This topic describes known issues and breaking changes for Episerver Find 12, in relation to the previous version (11+), and the steps needed to update affected code. See the release notes feed to view the complete list of changes.

EPiServer.Find.TypeSearchExtensions.NestedConventions

Removed public static members from EPiServer.Find.TypeSearchExtensions.NestedConventions. They leaked settings between instances of EPiServer.Find.IClient

EPiServer.Find.ClientConventions.NestedConventions.MarkAsNested
EPiServer.Find.ClientConventions.NestedConventions.Contains(..)
EPiServer.Find.Helpers.Linq.ExpressionExtensions.GetNestedFieldPath(..)

Replace these obsolete references with client.Conventions.NestedConventions.Contains(..) or client.Conventions.FieldNameConventions.GetNestedFieldPath(..).

NestedFacetExtensions

Moved NestedFacetExtensions from EPiServer.Find.Api.Facets.NestedFacetExtensions to EPiServer.Find.NestedFacetExtensions. The new class is not part of the core API. It was moved to the namespace of all other client extensions. So, you no longer need to add a using statement when inserting it.

EPiServer.Find.ClientConventions.NestedConventionItemWrapper

Separated EPiServer.Find.ClientConventions.NestedConventionItemWrapper into EPiServer.Find.ClientConventions.NestedConventionItemInstanceWrapper and EPiServer.Find.ClientConventions.NestedConventionItemTypeWrapper. This was done to correctly handle differences between using ForType(..) and ForInstancesOf(..) conventions.

EPiServer.Find.NestedFacetExtensions

Moved all nested facet extensions into EPiServer.Find.NestedFacetExtensions. This change applies to:

EPiServer.Find.TypeSearchExtensions.TermsFacetFor(..)
EPiServer.Find.TypeSearchExtensions.DateHistogramFacetFor(..)

Comments