Release 2019.011 - HL Vanilla Community
<main> <article class="userContent"> <p><em>Release 2019.011 was first deployed to Vanilla Cloud on Tuesday, August 13th 2019</em></p><h2 data-id="knowledge-base-migrations-support">Knowledge Base Migrations Support</h2><p>This release includes Knowledge Base migration support. Please contact your CSM for more information on migrating external KB articles to Vanilla.</p><p>Article content may be migrated in any of the following formats:</p><ul><li>HTML</li><li>Markdown</li><li>Text/TextEx</li><li>BBCode</li><li>WYSIWYG</li></ul><h3 data-id="editing-articles-with-a-non-rich-format.">Editing articles with a non-rich format.</h3><p>When editing a migrated article, it may not have a Rich formatting type. Editing an article like this will now prompt the editor of the article to upgrade the article format. Upon doing so it will be possible to edit the content of the article and save a new revision.</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/043/PVR3O75CD72P.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/043/PVR3O75CD72P.png" alt="image.png" height="258" width="1294" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="apiv2article-revisionsre-render">/api/v2/article-revisions/re-render</h3><p>A new APIv2 endpoint is now available to assist with migrations and formatting changes. <code class="code codeInline" spellcheck="false" tabindex="0">PATCH /api/v2/articles-revisions/re-render</code> allows for a range of article revisions to be re-parsed and re-rendered. This is particularly useful after migrating non-Rich content so that updated HTML, outlines, and excerpts can be re-generated.</p><h2 data-id="rich-editor">Rich Editor</h2><p><strong>Alt-text Support</strong></p><p>It is now possible to add <a href="https://moz.com/learn/seo/alt-text" rel="nofollow noreferrer ugc">alternative text</a> to images in Rich Editor. When selecting images in Rich Editor a button will appear next to allowing this text to customized.</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/459/NMBEDG78ATBU.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/459/NMBEDG78ATBU.png" alt="image.png" height="965" width="1600" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Alternative text is primarily used to improve SEO and make images accessible to users with vision impairment.</p><p><strong>Improved Mention Sorting</strong></p><p>While attempting to mention a user, suggested results now have improved sorting. Users that have been active in the last 90 days will be prioritized above users that have not been recently active.</p><p>Additionally matching of exact accents is now given high priority than matching of exact casing-sensitivity. For example, if typing mention with the text <code class="code codeInline" spellcheck="false" tabindex="0">sté</code> , the user "Stéphane" would be ranked as a better suggestions than "steven" if both users existed.</p><h2 data-id="bug-fixes">Bug Fixes</h2><h3 data-id="zendesk-plugin">Zendesk plugin</h3><ul><li>Fix Zendesk errors breaking access to configuration form. <a href="https://github.com/vanilla/internal/pull/1928" rel="nofollow noreferrer ugc">internal#1928</a></li></ul><h3 data-id="rich-editor-1">Rich-Editor</h3><ul><li>Fix portrait images uploaded from mobile getting oriented. <a href="https://github.com/vanilla/vanilla/pull/9116" rel="nofollow noreferrer ugc">vanilla#9116</a></li><li>Fix pasting URL in Rich Editor's embed menu. <a href="https://github.com/vanilla/vanilla/pull/9124" rel="nofollow noreferrer ugc">vanilla#9124</a></li><li>Fix embedding of certain types of pages without descriptions. <a href="https://github.com/vanilla/vanilla/pull/9147" rel="nofollow noreferrer ugc">vanilla#9147</a></li><li>Fix various bugs with Markdown Macros. <a href="https://github.com/vanilla/vanilla/pull/9177" rel="nofollow noreferrer ugc">vanilla#9177</a><ul><li>More keyboard characters can now trigger macros.</li><li>Macros are now more careful about what areas it checks. It will now only check the immediate text behind your cursor, rather than the whole line.</li></ul></li><li>Fix duplicate text area in warnings & notes plugin. <a href="https://github.com/vanilla/vanilla/pull/9170" rel="nofollow noreferrer ugc">vanilla#9170</a></li><li>Fix bug where paragraph formatting menu could open facing the wrong direction. <a href="https://github.com/vanilla/knowledge/issues/1137" rel="nofollow noreferrer ugc">issues#1137</a></li><li>Fix Rich Editor emoji characters not appearing properly on some version of windows. <a href="https://github.com/vanilla/vanilla/pull/9173" rel="nofollow noreferrer ugc">vanilla#9173</a></li></ul><h3 data-id="knowledge-base">Knowledge Base</h3><ul><li>Fix configuration from the KB General Appearance settings now applying on the knowledge base homepage. <a href="https://github.com/vanilla/vanilla/pull/9150" rel="nofollow noreferrer ugc">vanilla#9150</a></li><li>Fix unclear UI when selecting an article location in a guide type knowledge base. <a href="https://github.com/vanilla/knowledge/pull/1118" rel="nofollow noreferrer ugc">knowledge#1118</a></li></ul><h3 data-id="hero-image-plugin">Hero Image Plugin</h3><ul><li>Added explicit top and left positioning to absolute positioned hero image. <a href="https://github.com/vanilla/vanilla/pull/9126" rel="nofollow noreferrer ugc">vanilla#9126</a></li></ul><h3 data-id="multisite"><strong>Multisite</strong></h3><ul><li>Fix Subcommunities redirecting Quotes endpoint. <a href="https://github.com/vanilla/multisite/pull/222" rel="nofollow noreferrer ugc">multisite#222</a></li></ul><h2 data-id="developer-notes">Developer notes</h2><ul><li>Add current theme url to site meta. <a href="https://github.com/vanilla/vanilla/pull/9115" rel="nofollow noreferrer ugc">vanilla#9115</a></li></ul><h3 data-id="gdn_format-deprecations">Gdn_Format Deprecations</h3><p>This release includes a large refactoring of the text formatting pipeline, as well as 100s of additional automated test cases.</p><p>The new class for formatting is <code class="code codeInline" spellcheck="false" tabindex="0">Vanilla\Formatting\FormatService</code>. It is recommend to dependency inject this class using <code class="code codeInline" spellcheck="false" tabindex="0">Garden\Container</code> but it is also easily accessible through <code class="code codeInline" spellcheck="false" tabindex="0">Gdn::formatService()</code>. For each existing vanilla format a new class implementing <code class="code codeInline" spellcheck="false" tabindex="0">Vanilla\Contracts\Formatting\FormatInterface</code> has been created and registered with the service.</p><p>The following methods have been updated to point to the service and have been deprecated.</p><p><strong>Deprecated and Emitting Warnings</strong></p><ul><li><code class="code codeInline" spellcheck="false" tabindex="0">fixnl2br</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::auto</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::unembedContent</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::getEmbedSize</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::replaceButProtectCodeBlocks</code></li><li>The config setting <code class="code codeInline" spellcheck="false" tabindex="0">Garden.Format.WysiwygFunction</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::quoteEmbed</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::getRichMentionUsernames</code></li><li>The parameters <code class="code codeInline" spellcheck="false" tabindex="0">$addBreaks</code> on <code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::text</code> and <code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::textEx</code> . Instead the existing configuration <code class="code codeInline" spellcheck="false" tabindex="0">Garden.Format.ReplaceNewlines</code> now controls this behaviour.</li><li>The <code class="code codeInline" spellcheck="false" tabindex="0">$flavored</code> parameter is no longer available on <code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::markdown()</code>. This is now controlled by the configuration value <code class="code codeInline" spellcheck="false" tabindex="0">Garden.Format.UseVanillaMarkdownFlavor</code> (default true).</li></ul><p><strong>Deprecated without warnings (for now)</strong></p><ul><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::bbCode</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::display</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::plainText</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::excerpt</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::markdown</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::text</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::textEx</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::to</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::wysiwyg</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::rich</code></li><li><code class="code codeInline" spellcheck="false" tabindex="0">Gdn_Format::html</code></li></ul><p><br></p> </article> </main>