Release 2020.011 - HL Vanilla Community
<main> <article class="userContent"> <p><strong><em>Backports for the following issues have been added to this release.</em></strong></p><ul><li>Fix theme editor header/footer not displaying correctly in Microsoft Edge 14-18. <a href="https://github.com/vanilla/support/issues/2036" rel="nofollow noreferrer ugc">support#2036</a></li><li>Fix events with no location breaking the events API. <a href="https://github.com/vanilla/support/issues/2076" rel="nofollow noreferrer ugc">support#2076</a></li><li>Fix group invite messages not container a link to the group. <a href="https://github.com/vanilla/support/issues/2030" rel="nofollow noreferrer ugc">support#2030</a></li><li>Fix secret groups return a permission error to users that were invited. <a href="https://github.com/vanilla/support/issues/2030" rel="nofollow noreferrer ugc">support#2030</a></li><li>Fix popups and dropdowns having issues in certain themes. <a href="https://github.com/vanilla/support/issues/2060" rel="nofollow noreferrer ugc">support#2060</a>, <a href="https://github.com/vanilla/support/issues/2061" rel="nofollow noreferrer ugc">support#2061</a></li><li>Fix custom themes in the theme editor appearing twice. <a href="https://github.com/vanilla/support/issues/2090" rel="nofollow noreferrer ugc">support#2090</a></li></ul><h2 data-id="schedule">Schedule</h2><p>Release 2020.011 is scheduled to be deployed:</p><ul><li>To staging sites, Tuesday, June 2nd 2020 ✅</li><li>To productions sites, Monday, June 8th 2020 ✅</li><li>To Enterprise client sites, Monday June 15th 2020 ✅</li></ul><h2 data-id="untranslated-articles-in-knowledge-base">Untranslated Articles in Knowledge Base</h2><p>Prior to the <code class="code codeInline" spellcheck="false" tabindex="0">2020.011</code> release untranslated articles would be shown in other languages, but displaying the incorrect language.</p><p>Starting in this release, articles will no longer appear in site navigation or article lists if they are not translated into the current page's language.</p><h2 data-id="events">Events</h2><p>We continue to work on our new Events functionality for community categories. With this release, we've added a Pop-Up to allow you to browse through the list of users who have RSVPd to the event based on their response.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/5IQXO4VF5GV8/screen-shot-2020-06-02-at-3-39-02-pm.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/5IQXO4VF5GV8/screen-shot-2020-06-02-at-3-39-02-pm.png" alt="Screen Shot 2020-06-02 at 3.39.02 PM.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="new-settings-for-pockets">New Settings for Pockets</h2><p>Pockets is a tool that allows you to add custom CSS, HTML, or Javascript to various areas of your community. With this release we are bringing you new settings for Pockets including the ability to:</p><ul><li>Configure a Pocket to appear in a specific category or categories</li><li>Configure a Pocket to appear in a specific subcommunity or subcommunities</li><li>Configure a Pocket for appear for specific Roles</li></ul><p>We've also added a new Pocket location to allow you to place a Pocket after the banner image.</p><p>Find out more about Pockets here -</p><div class="js-embed embedResponsive" data-embedjson="{"body":"Overview Pockets add areas to your forum where you can inject custom HTML or Javascript into your theme. It is a powerful tool that makes Vanilla flexible for ad placement, google analytics, and other small customizations. Pockets are designed to be used by advanced users and developers who can write and review their own…","photoUrl":"https:\/\/us.v-cdn.net\/6030677\/uploads\/947\/TM5DAO1BWY5V.png","url":"https:\/\/success.vanillaforums.com\/kb\/articles\/19-pockets","embedType":"link","name":"Pockets - Vanilla Success"}"> <a href="https://success.vanillaforums.com/kb/articles/19-pockets" rel="nofollow noreferrer ugc"> https://success.vanillaforums.com/kb/articles/19-pockets </a> </div><p><br></p><h2 data-id="guest-voting-for-knowledge-base-articles">Guest Voting for Knowledge Base Articles</h2><p>Guest users can now contribute to an Article's helpfulness rating, allowing you to collect insights from all user types. Guest users can only vote once per article. This module supports reCAPTCHA v3 for guest users.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/AOYYJGKFE8EJ/screen-shot-2020-06-02-at-3-41-53-pm.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/AOYYJGKFE8EJ/screen-shot-2020-06-02-at-3-41-53-pm.png" alt="Screen Shot 2020-06-02 at 3.41.53 PM.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="new-subcommunity-chooser">New Subcommunity Chooser</h2><p>We have updated our subcommunity chooser to improve the navigation between languages and products.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/H69OCUCTVJC5/screen-shot-2020-06-02-at-3-55-35-pm.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/H69OCUCTVJC5/screen-shot-2020-06-02-at-3-55-35-pm.png" alt="Screen Shot 2020-06-02 at 3.55.35 PM.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="bug-fixes">Bug Fixes</h2><ul><li>Fix Salesforce Create Case Formatting. <a href="https://github.com/vanilla/support/issues/1828" rel="nofollow noreferrer ugc">vanilla/support#1828</a></li><li>Change the Target URL to the full path to website. <a href="https://github.com/vanilla/support/issues/1718" rel="nofollow noreferrer ugc">vanilla/support#1718</a></li><li>Add categories module to side panel on nested category page. <a href="https://github.com/vanilla/support/issues/1910" rel="nofollow noreferrer ugc">vanilla/support#1910</a></li><li>Fix countVisits accuracy when Online is enabled. <a href="https://github.com/vanilla/support/issues/1535" rel="nofollow noreferrer ugc">vanilla/support#1535</a></li><li>Filter meta tags with Civil Tongue. <a href="https://github.com/vanilla/support/issues/1461" rel="nofollow noreferrer ugc">vanilla/support#1461</a></li><li>Remove media embed code from plain text excerpts of Rich text. <a href="https://github.com/vanilla/support/issues/1907" rel="nofollow noreferrer ugc">vanilla/support#1907</a></li><li>Fix JSConnect v3 setting the target. <a href="https://github.com/vanilla/support/issues/1933" rel="nofollow noreferrer ugc">vanilla/support#1933</a></li><li>Fix performance issues with DB based themes <a href="https://github.com/vanilla/internal/issues/2581" rel="nofollow noreferrer ugc">vanilla/internal#2581</a></li><li>Fix validation issues with api/v2/theme POST endpoints <a href="https://github.com/vanilla/internal/issues/2521" rel="nofollow noreferrer ugc">vanilla/internal#2521</a></li><li>Fix articles in Guide-type KBs not appearing when published in root category <a href="https://github.com/vanilla/knowledge/issues/1828" rel="nofollow noreferrer ugc">vanilla/knowledge#1828</a></li><li>Fix issues with footer in Foundation-based theme <a href="https://github.com/vanilla/support/issues/1818" rel="nofollow noreferrer ugc">vanilla/support#1818</a></li><li>Fix incorrect article update dates in different languages <a href="https://github.com/vanilla/knowledge/issues/1818" rel="nofollow noreferrer ugc">vanilla/knowledge #1818</a></li><li>Fix quote and discussion embeds <a href="https://github.com/vanilla/vanilla/issues/10612" rel="nofollow noreferrer ugc">vanilla/vanilla#10612</a></li><li>Fix the URL for initiating a JSConnect Sign In when using V3. <a href="https://github.com/vanilla/support/issues/1864" rel="nofollow noreferrer ugc">vanilla/support#1864</a></li><li>Fix group discussions won't load without Smarty view handler. <a href="https://github.com/vanilla/support/issues/1842" rel="nofollow noreferrer ugc">vanilla/support#1842</a></li><li>Fix Discussion API Output to accommodate single results. <a href="https://github.com/vanilla/support/issues/1970" rel="nofollow noreferrer ugc">vanilla/support#1970</a> , <a href="https://github.com/vanilla/vanilla/pull/10661" rel="nofollow noreferrer ugc">vanilla/vanilla#10661</a></li><li>Fix API call to ensure returned array is not nested. <a href="https://github.com/vanilla/support/issues/1970" rel="nofollow noreferrer ugc">vanilla/support#1970</a></li><li>Fix applicants email notification. <a href="https://github.com/vanilla/support/issues/1872" rel="nofollow noreferrer ugc">vanilla/support#1872</a></li><li>Add the Knowledge Base menu icon to the Bootstrap 3. <a href="https://github.com/vanilla/support/issues/1493" rel="nofollow noreferrer ugc">vanilla/support#1493</a></li><li>Fix embedded images ignoring alignment in Signatures. <a href="https://github.com/vanilla/support/issues/1902" rel="nofollow noreferrer ugc">vanilla/support#1902</a></li><li>Update Gulpfile for Bootstrap3. </li><li>Filter meta tags with Civil Tongue. <a href="https://github.com/vanilla/support/issues/1461" rel="nofollow noreferrer ugc">vanilla/support#1461</a></li><li>Increase oauth2 connect timeout. <a href="https://github.com/vanilla/support/issues/1829" rel="nofollow noreferrer ugc">vanilla/support#1829</a></li><li>Fix displaying mobile theme options when a theme responsive. <a href="https://github.com/vanilla/support/issues/1583" rel="nofollow noreferrer ugc">vanilla/support#1583</a></li><li>Fix Javascript files not loading at profile/edit endpoint. <a href="https://github.com/vanilla/support/issues/1824" rel="nofollow noreferrer ugc">vanilla/support#1824</a></li><li>Fix Site and Categories titles/descriptions different rendering. <a href="https://github.com/vanilla/support/issues/1761" rel="nofollow noreferrer ugc">vanilla/support#1761</a></li><li>Relax URL checks in BBCode (Umlauts Break [URL] Tags When Forum In BBCode Format). <a href="https://github.com/vanilla/support/issues/859" rel="nofollow noreferrer ugc">vanilla/support#859</a>.</li><li>Fix user messaging on login if there's a user match but the password is missing. <a href="https://github.com/vanilla/vanilla/pull/10563" rel="nofollow noreferrer ugc">#10563</a></li></ul><h2 data-id="developer-notes">Developer Notes</h2><ul><li>Add notification event support to Webhooks. <a href="https://github.com/vanilla/internal/pull/2568" rel="nofollow noreferrer ugc">#2568</a></li></ul><ol><li>Dashboard UI has been updated to allow toggling of the "notification" event.</li><li>Event data delivered to webhooks has been updated to include the string representation of dates. These were formally formatted as objects.</li></ol><ul><li>Add dispatching of a new <code class="code codeInline" spellcheck="false" tabindex="0">NotificationEvent</code> object when there are user notifications on a site.</li><li>Allow Gdn_SQLDriver::where() to take RangeExpressions <a href="https://github.com/vanilla/vanilla/pull/10628" rel="nofollow noreferrer ugc">#10628</a></li><li>Several enhancements to Logging in preparation for better user facing logs. <a href="https://github.com/vanilla/vanilla/pull/10564" rel="nofollow noreferrer ugc">#10564</a><ul><li>Allow resource events to be loggable.</li><li>Clean up code and add some logging constants.</li><li>Clean up the <code class="code codeInline" spellcheck="false" tabindex="0">Model</code> class and add some primary key information.</li><li>Add a processor that prunes data off the models.</li><li>Add some missing unit tests.</li><li>discussionLink()</li><li>condense()</li><li>proxyRequest()</li><li>proxyHead()</li><li>Gdn_Request::domain()</li></ul></li><li>Deprecated functions<ul><li>fixnl2br()</li><li>Gdn_Request::host()</li><li>Gdn_Request::hostAndPort()</li><li>Gdn_Request::ipAddress()</li><li>Gdn_Request::port()</li><li>Gdn_Request::scheme()</li><li>Gdn_Request::path()</li><li>Gdn_Request::pathAndQuery()</li><li>Gdn_Request::webRoot()</li></ul></li></ul><h3 data-id="libraries-added">Libraries added</h3><ul><li>Added <a href="https://packagist.org/packages/league/uri" rel="nofollow noreferrer ugc">league/uri</a> to enhance Vanilla UrlUtils class.</li></ul><h3 data-id="changes-to-apiv2themes">Changes to <code class="code codeInline" spellcheck="false" tabindex="0">/api/v2/themes</code></h3><p>The APIv2 /themes endpoints have seen some significant changes in this release. After hearing much feedback from customers attempting to use these endpoint's we decided an iteration was necessary.</p><p>Due to this being a mostly internal endpoint until this point, some of these changes (particularly in the POST/PATCH) are slightly breaking compared to the previous release.</p><h3 data-id="improvements">Improvements</h3><ul><li>Add <code class="code codeInline" spellcheck="false" tabindex="0">cache-control</code> headers to GET /themes/:id/assets endpoints. <strong><em>In order to make sure the cache is properly invalidated, assets in the GET /themes endpoints now have a cache buster appended to their URL fields. Use these URLs in order to ensure you are receiving an up-to-date version of the asset.</em></strong></li><li><strong>Add server-side caching for themes.</strong> This greatly improves performance of fetching themes during both high and low traffic situations. <em>Wondering if your result was cached? Check for the </em><em><code class="code codeInline" spellcheck="false" tabindex="0">x-app-cache-hit</code></em><em> header.</em></li><li><strong>Improved validation across all endpoints</strong>. Invalid content can no longer be inputted. If existing invalid content is encountered, the API should continue to function, but the asset contents may contain a warning or error.</li><li>In<strong>put/output structure for post/patch/put/get endpoints are much more consistent.</strong> The largest improvements are found in the asset endpoints.</li></ul><h4 data-id="breaking-changes">Breaking Changes</h4><ul><li><code class="code codeInline" spellcheck="false" tabindex="0">PUT</code> and <code class="code codeInline" spellcheck="false" tabindex="0">GET</code> asset endpoints now have 2 variations<ul><li>PUT w/ extensions. Eg. <code class="code codeInline" spellcheck="false" tabindex="0">PUT or GET /themes/:id/assets/assetName.ext</code><ul><li>Returns & accepts asset content directly. Type of the asset maps to the <code class="code codeInline" spellcheck="false" tabindex="0">content-type</code>.</li></ul></li><li>PUT with no extensions. Eg. <code class="code codeInline" spellcheck="false" tabindex="0">PUT or GET /themes/:id/assets/assetName</code><ul><li>Returns and accepts json. Values are the same as an asset from the <code class="code codeInline" spellcheck="false" tabindex="0">GET/POST/PATCH</code> /themes endpoint.</li></ul></li></ul></li><li>The <code class="code codeInline" spellcheck="false" tabindex="0">Theme</code> resource schema has been updated.</li><li>The <code class="code codeInline" spellcheck="false" tabindex="0">GET /themes</code> index endpoint now no longer automatically expands assets by default.<ul><li>Expand parameters can be found in the updated API documentation.</li><li>Assets now match the schema of GET <code class="code codeInline" spellcheck="false" tabindex="0">/theme/:id/assets</code> endpoints.</li><li>All assets not have a <code class="code codeInline" spellcheck="false" tabindex="0">url</code> field.</li><li>The <code class="code codeInline" spellcheck="false" tabindex="0">preview</code> field of a theme resource now has a more consistent structure. <code class="code codeInline" spellcheck="false" tabindex="0">preview.variables</code> in particular had many fields renamed.</li><li>Previously certain assets were just strings. All assets are now objects, with the these fields fields: <code class="code codeInline" spellcheck="false" tabindex="0">type</code>, <code class="code codeInline" spellcheck="false" tabindex="0">url</code>. Optionally a <code class="code codeInline" spellcheck="false" tabindex="0">data</code> field may be expanded.</li></ul></li></ul><p><br></p> </article> </main>