August 15, 2022 release (5.0.1153.1)
August 15, 2022 release (5.0.1153.1)
Per the Coveo Version Support Lifecycle policy, this Coveo for Sitecore 5 release has been retired. See available Coveo for Sitecore releases. Even if this release is retired, you must still perform some of its upgrade steps to upgrade to a more recent version of Coveo for Sitecore. |
This release includes the 2.10099.2 version of the JavaScript Search Framework (see August 2022 Release (v2.10099)).
When using a CDN with the Coveo Hive framework, this release includes the latest 2.10099 version of the JavaScript Search Framework (see Understand How Coveo for Sitecore Loads the Coveo JavaScript Files (CDN)).
Release notes
This section summarizes the new features and fixed support cases introduced in the Coveo for Sitecore August 15, 2022 release (5.0.1153.1).
Coveo Hive search interfaces now perform front-end calls through the Coveo REST endpoint proxy to generate search tokens.
Caching |
Notes
|
New features and enhancements
Issue number | Description |
---|---|
WEB-5273 |
Enabled the |
WEB-5626 |
Added support for Coveo JavaScript Search Framework version 2.10099. |
Bug fixes
Issue number | Description |
---|---|
WEB-5560 |
Improved Command Center handling of Sitecore credentials not being set. |
WEB-5688 |
Fixed vulnerability. |
WEB-5755 |
Fixed issue with Sitecore Date and Datetime fields not being added to the Quick view when indexing with the |
WEB-5765 |
Updated links to the new Coveo Administration Console URLs. |
WEB-5776 |
Stopped taking into account the site definition |
Maintenance cases
Issue number | Case | Description |
---|---|---|
WEB-5571 |
00077235 |
Fixed issue with media items not being attributed the proper host name. |
WEB-5668 |
00077563 |
Fixed the |
WEB-5698 |
00079960 |
Ensured the Coveo JavaScript Search Framework takes into account local minified culture files. |
WEB-5772 |
00079979 |
Added caching of organization status GET call responses to reduce load on Coveo. |
WEB-5784 |
00086225 |
Ensured search token are not cached to prevent them from expiring. |
Upgrade steps
Per the Coveo Version Support Lifecycle policy, this Coveo for Sitecore 5 release has been retired. See available Coveo for Sitecore releases. Even if this release is retired, you must still perform some of its upgrade steps to upgrade to a more recent version of Coveo for Sitecore. |
This section describes how to upgrade Coveo for Sitecore from March 18, 2022 (5.0.1110.1) to August 15, 2022 (5.0.1153.1). If you’re upgrading over multiple versions, Coveo has a procedure to streamline the process.
For the best Coveo for Sitecore experience, always follow the upgrading leading practices. |
Step 1: Upgrade Coveo for Sitecore
Make sure the Microsoft MVC security update MS14-059 is installed on every Sitecore host in your environment. |
-
Log into the Sitecore Desktop.
-
Access the Installation Wizard (Sitecore Start Menu > Development Tools > Installation Wizard).
-
Upload and install the Coveo for Sitecore 5.0.1153.1 package built for the specific version of Sitecore you’re running (for example, Sitecore 10.2).
-
When prompted to overwrite files, click Yes to all.
-
When prompted to overwrite items, select Overwrite, then click Apply to all.
NoteYou might be prompted twice with this question. Select the Overwrite option and click Apply to all both times.
-
Once the installation is completed, make sure that you restart both the Sitecore client and server.
Step 2: Manually update Coveo configuration files
Coveo for Sitecore packages contain some .config.example
files.
When you activated Coveo for Sitecore, the .config.example
configuration files copied to your Sitecore instance were renamed (the .example
was removed) making them enabled .config
files.
The name change also prevents the resulting .config
files from being overwritten by .config.example
files during a Coveo for Sitecore upgrade.
In a nutshell, Coveo uses .config.example
files for upgrade configuration changes that must be merged manually.
Otherwise, Coveo uses standard .config
files that get overwritten during step 1 of the upgrade process.
Note
You can use a tool like WinMerge to compare the new |
Here are the modifications to the .config.example
files between the previous and current Coveo for Sitecore releases:
Coveo.SearchProvider.Custom.config
The following comment block was removed:
<!-- Uncomment this processor to deny anonymous users on items from master database. For more information, see: https://docs.coveo.com/en/2716 -->
<!--
<processor type="Coveo.SearchProvider.Processors.AddSecurityOnItemsWithDatabase, Coveo.SearchProviderBase">
<database>master</database>
</processor>
-->
If you had uncommented this processor in your If the above comment block appears as is in your This change is associated with the fact Coveo for Sitecore now automatically enables the |
Step 3: Account for ContentStartItem
no longer being considered
The Coveo for Sitecore ResolveItemSiteProcessor
processor used to give precedence to the site definition ContentStartItem
attribute over the StartItem
attribute when resolving clickable URIs at indexing time.
Coveo for Sitecore now disregards the ContentStartItem
.
If you have ContentStartItem
attribute values in your site definitions, the changes in this release might affect the clickable URIs of your items in the index.
Step 4: Activate the AddSecurityOnItemsWithDatabase
Processor
To enable this processor in past versions of Coveo for Sitecore, you needed to uncomment its configuration in the Coveo.SearchProvider.Custom.config
file.
If the processor is already enabled in your Coveo.SearchProvider.Custom.config
file, no action is required on your part and the processor will continue to run on your items as it did before.
If you’re indexing Sitecore permissions and the processor isn’t enabled, you should enable it now.
Note
See Deny Anonymous Users Access to the Master Database for more details on what this processor does. |
To enable the AddSecurityOnItemsWithDatabase
processor
-
Open the Command Center Security page. It’s accessible at
http://<INSTANCE_HOSTNAME>/coveo/command-center/index.html#security/
. -
Un-select the
Index Sitecore permissions
option. -
Re-select the
Index Sitecore permissions
option. -
Click Apply and Restart.
Step 5: Publish your site
In the Sitecore Content Editor, perform a publish site action.
This ensures any changes related to Coveo components in the upgrade are published to the web
database.
Step 6: Eliminate use of deprecated Coveo.AbstractLayer.FieldManagement.MetadataNames
class properties
Many Coveo.AbstractLayer.FieldManagement.MetadataNames
class properties have been deprecated.
Eliminate any references you may have to these properties in you project.