File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,24 @@ Following steps are necessary during updating to newer versions.
66- Execute the following command to reindex all elements to be able to use all new features:
77
88 ``` bin/console generic-data-index:update:index ```
9+
10+ ## Upgrade to 2.0.0
11+
12+ ### BC-Breaks
13+
14+ #### Interface changes
15+ - Added ` PermissionTypes $permissionType ` parameter with default type ` PermissionTypes::LIST ` to
16+ - ` AssetSearchServiceInterface::search ` method
17+ - ` DocumentSearchServiceInterface::search ` method
18+ - ` DataObjectSearchServiceInterface::search ` method
19+ - ` ElementSearchServiceInterface::search ` method
20+ - Search services ` byId ` methods now return elements based on the ` PermissionTypes::VIEW ` permission
21+ - Added type specific interfaces for searches to avoid mixing up different search types in search services
22+ - ` AssetSearch ` now implements ` AssetSearchInterface `
23+ - ` DocumentSearch ` now implements ` DocumentSearchInterface `
24+ - ` ElementSearch ` now implements ` ElementSearchInterface `
25+ - Search services now require the specific search type for the search
26+ - ` AssetSearchServiceInterface::search ` now requires a ` AssetSearchInterface `
27+ - ` DocumentSearchServiceInterface::search ` now requires a ` DocumentSearchInterface `
28+ - ` ElementSearchServiceInterface::search ` now requires a ` ElementSearchInterface `
29+ - ` SearchProviderInterface ` now returns type specific search interfaces
You can’t perform that action at this time.
0 commit comments