--- title: October 30, 2020 release (5.0.822.2) slug: '3360' canonical_url: https://docs.coveo.com/en/3360/ collection: coveo-for-sitecore-v5 source_format: adoc --- # October 30, 2020 release (5.0.822.2) > **Important** > > Per the Coveo [Version Support Lifecycle policy](https://docs.coveo.com/en/1485/), this Coveo for Sitecore 5 release has reached end of support. > See [available Coveo for Sitecore releases](https://docs.coveo.com/en/2274/). > > Even if this release is no longer supported, you must still perform some of its [upgrade steps](#upgrade-steps) to [upgrade to a more recent version](https://docs.coveo.com/en/2155#multi-release-upgrade) of Coveo for Sitecore. > Even if this release is no longer supported, you must still perform some of its upgrade steps to [upgrade to a more recent version](https://docs.coveo.com/en/2155#multi-release-upgrade) of Coveo for Sitecore.
This release includes the 2.9159.8 version of the JavaScript Search Framework (see June 2020 Release (v2.9159)).
When using a CDN with the Coveo Hive framework, this release includes the latest 2.9159 version of the JavaScript Search Framework (see Choosing between local and CDN Coveo JavaScript resource files).
This section summarizes the new features and fixed support cases introduced in the Coveo for Sitecore October 30, 2020 release (5.0.822.2).
| Identifier | Enhancement |
|---|---|
| SC-4470 | Enabled Coveo Hive resources to be loaded from the CDN. |
| SC-4570 | Added the possibility to bypass the Coveo for Sitecore reverse proxy (see Disable the reverse proxy).1 |
| SC-4586 | Added the possibility to disable automatic filtering on Sitecore sources. |
| SC-4587 | Added the possibility to disable Sitecore source creation. |
| SC-4598 | Exposed the BypassCoveoForSitecoreProxy setting in the Command Center. |
/coveo/rest endpoint in general should be avoided.| Identifier | Case | Fixed Support Case |
|---|---|---|
| SC-4576 | 00062734 | Added support for unhandled UA events in the Coveo Send Analytics to Sitecore rendering. |
| SC-4582 | 00063047 | Fixed Could not resolve the search interface element console error message when using Coveo Recommendations rendering as standalone. |
| SC-4601 | 00063155 | Fixed issue with Coveo for Sitecore reverse proxy adding load balancer/proxy IP to the X-Forwarded-For Usage Analytics call header. |
| SC-4609 | 00062822 | Fixed issue with old versions of items not being deleted in the master index of Sitecore 9.1+ instances. |
| Identifier | Bug Fix |
|---|---|
| SC-4617 | Made QuerySummaryNoResultsFoundMessage a versioned fieldĀ for multi-language support. |
This section describes how to upgrade Coveo for Sitecore from September 18, 2020 (5.0.788.5) to October 30, 2020 (5.0.822.2). 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 Leading Practices When Upgrading Coveo for Sitecore. |
| Make sure the Microsoft MVC security update MS14-059 is installed on every Sitecore host in your environment.. |
When prompted to overwrite items, select Overwrite, then click Apply to all.
Note You 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.

The Coveo configuration files are located in the App_Config\Include\Coveo folder. When upgrading, you must compare the changes to the .example files from your current Coveo for Sitecore version with the ones in the build you're upgrading to. Then, you can merge these changes into your current configuration files. This method let's you keep your customization intact, while still benefiting from the latest enhancements brought in the product. You can use a merge tool such as WinMerge to accomplish this.
In further detail, here are the modifications that you must perform to the configuration files resulting from the feature changes between the previous and current Coveo for Sitecore releases:
The following element has been added.
<bypassCoveoForSitecoreProxy>false</bypassCoveoForSitecoreProxy>
Apply this change in your configuration.
Having <bypassCoveoForSitecoreProxy> set to false does not alter the behavior of your instance. Should you wish to have Coveo for Sitecore perform search and analytics calls directly to Coveo, you should patch this setting to true in your Coveo.SearchProvider.Rest.Custom.config file (see New Coveo for Sitecore features).
The <fieldTypes> element below has been added as a child of the <sitecore> element.
<fieldTypes>
<fieldType name="HideDependentCheckbox" type="Coveo.UI.Controls.Controls.HideDependentCheckbox, Coveo.UI.Controls" />
</fieldTypes>
The <renderContentEditor> element below has been added as a child of the <pipelines> element.
<renderContentEditor>
<!-- This processor injects custom JavaScript and CSS file link into the Content editor. -->
<processor patch:before="*[1]" type="Coveo.UI.Controls.Pipelines.InjectScripts, Coveo.UI.Controls">
<CustomContentEditorJavascript>/sitecore modules/Shell/Coveo/CustomFields/DependentFields.js</CustomContentEditorJavascript>
<CustomContentEditorStylesheets></CustomContentEditorStylesheets>
</processor>
</renderContentEditor>
Apply these changes in your configuration.
A line has changed in the following files:
Sitecore 7 and 8
<SITECORE_INSTANCE_ROOT>\Website\Coveo\Hive\init\init.cshtml
<SITECORE_INSTANCE_ROOT>\Website\Coveo\Hive\search box init\init.cshtml
<SITECORE_INSTANCE_ROOT>\Website\Views\Coveo Hive\Initialization\Initialize Recommendations.cshtml
<SITECORE_INSTANCE_ROOT>\Website\Views\Coveo Hive\Sections\External Components Section.cshtml
<SITECORE_INSTANCE_ROOT>\Website\Views\Coveo Hive\Validations\Validate Resources Are Included.cshtml
Sitecore 9 and 10
<SITECORE_INSTANCE_ROOT>\Coveo\Hive\init\init.cshtml
<SITECORE_INSTANCE_ROOT>\Coveo\Hive\search box init\init.cshtml
<SITECORE_INSTANCE_ROOT>\Views\Coveo Hive\Initialization\Initialize Recommendations.cshtml
<SITECORE_INSTANCE_ROOT>\Views\Coveo Hive\Sections\External Components Section.cshtml
<SITECORE_INSTANCE_ROOT>\Views\Coveo Hive\Validations\Validate Resources Are Included.cshtml
The line used to read as follows:
document.addEventListener("DOMContentLoaded", function() {
The line now reads as follows:
document.addEventListener("CoveoSearchEndpointInitialized", function() {
If you've created custom initialization scripts or custom view files based on the aforementioned files, ensure you adjust your scripts to listen for the CoveoSearchEndpointInitialized event from now on.
Coveo Page View Analytics.cshtmlThe Sitecore 7 and 8 <SITECORE_INSTANCE_ROOT>\Website\Views\Coveo Hive\Analytics\Coveo Page View Analytics.cshtml file or Sitecore 9 and 10 <SITECORE_INSTANCE_ROOT>\Views\Coveo Hive\Analytics\Coveo Page View Analytics.cshtml file has changed substantially.
Ensure you replicate the changes made by Coveo in any custom .cshtml files you may have created off of the Coveo Page View Analytics.cshtml file.
If you have custom code associated with the automatic filtering of results based on the current Sitecore context database, this release of Coveo for Sitecore includes a new data source option which controls whether the source==<SITECORE_SOURCE_NAME> filter is to be applied (see Remove Filtering on the Current Sitecore Context Database). If the purpose of your custom code was to avoid having this filter added on your search results and recommendations, we recommend that you eliminate your custom code and use the new option instead.
Here are the most significant changes Coveo for Sitecore has made regarding filtering on the current Sitecore context database:
the source==<SITECORE_SOURCE_NAME> filter is now added to the constant query expression (cq)(it used to be added to the advanced query expression (aq)).
Coveo for Sitecore now adds the source==<SITECORE_SOURCE_NAME> filter on the onBuildingLocalSitecoreInstanceExpression event (it used to be added on the onBuildingQuery event).
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.