Release 2021.009 - HL Vanilla Community
<main> <article class="userContent"> <h2 data-id="schedule">Schedule</h2><p>Release 2021.009 will be deployed</p><ul><li>To staging sites, Tuesday, May 4th</li><li>To production sites, Monday, May 10th</li><li>To enterprise sites, Monday, May 17th</li></ul><h2 data-id="apiv2-improvements">APIv2 Improvements</h2><p>This release includes some helpful enhancements to the Vanilla API:</p><h2 data-id="get-a-user's-list-of-badges-via-the-api">Get a user's list of badges via the API</h2><p>You can now use the <code class="code codeInline" spellcheck="false" tabindex="0">/api/v2/users/{ID}/badges</code> endpoint to retrieve the set of badges a specific user has earned.</p><h2 data-id="get-user's-reaction-counts-and-associated-posts-via-the-api">Get user's reaction counts and associated posts via the API</h2><p> We have added a new <code class="code codeInline" spellcheck="false" tabindex="0">reactionsReceived</code> expand option to our <code class="code codeInline" spellcheck="false" tabindex="0">/api/v2/users</code> endpoint to allow you to get a breakdown of how other users are reacting to a specific community member. </p><p>To complement this, we have also added the <code class="code codeInline" spellcheck="false" tabindex="0">/api/v2/users/{ID}/reacted</code> endpoint to allow you to get a user's posts filtered by the reactions they've received. For example, I can find all posts I have published that have been considered "Insightful." </p><h2 data-id="filter-discussions-by-resolved-status">Filter discussions by resolved status</h2><p>A new parameter has been added to the <code class="code codeInline" spellcheck="false" tabindex="0">/api/v2/discussions</code> endpoint to allow you to filter discussions by their resolved or unresolved status.</p><p>If you are using Vanilla's Resolved Discussions 2 add-on you are able to mark discussions as "Resolved" when you, or your team members comment on a user's post.</p><p>Users of this plugin can leverage the <code class="code codeInline" spellcheck="false" tabindex="0">resolved</code> parameter on the API to get their list of discussions filtered by their resolved status:</p><ul><li>Set this to <code class="code codeInline" spellcheck="false" tabindex="0">true</code> to get all Resolved Discussions</li><li>Set this to <code class="code codeInline" spellcheck="false" tabindex="0">false</code> to get all Unresolved Discussions</li></ul><h2 data-id="new-badges-component-for-user-profiles">New Badges Component for User Profiles</h2><p>When using our Badges add-on, you will see a Badges section on user profiles. This component features the set of badges the user has earned throughout their community membership. Release 2021.009 introduces a new and improved badge component in our Foundation themes. This is a more compact view of the badge list, that's been designed to maximize the space, and improve the profile layout. </p><p>By default, you will see up to 20 badges, and these are ordered by recency. If the user has earned more than 20 badges, a "View All" link will appear, allowing you to pull up a modal showcasing all badges the user has earned. </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/Z9CH5ITOO97L/profile.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/Z9CH5ITOO97L/profile.png" alt="Profile.png" height="840" width="1439" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p><br></p><h2 data-id="improvements-to-akismet-spam-checks">Improvements to Akismet Spam Checks</h2><p>This release includes an update to our Akismet plugin. This plugin checks all new posts and edits for Spam content. If Spam is detected, posts are removed and sent to the Moderation Queue for approval, or deletion. </p><p>Previously, you were required to manually Verify users you trusted to allow them to bypass this step, including all Community Managers, Administrators or Staff Members. </p><p>With this release, we've introduced an update that allows users with the Moderation.Manage permission to bypass Akismet Spam checks without requiring the added Verified flag. This means your Moderation team is now automatically exempt from Akismet Spam checks. </p><p>Now, when posts are added or edited:</p><ul><li>Akismet will first check the author or editor's permissions for the Moderation.Manage permission. </li><li>If the user does not have this permission, Akismet will then look for the Verified flag.</li><li>If the user does not have the appropriate permissions and is not verified, Akismet will check the content for potential spam.</li></ul><h2 data-id="page-speed-improvement">Page Speed Improvement</h2><p>This release should see a small improvement in page speed metrics. We've reduced our total javascript size by ~25% with further improvements planned.</p><p>Additionally, various assets managed by our <a href="https://success.vanillaforums.com/kb/articles/166-vanillas-frontend-build-system" rel="nofollow noreferrer ugc">Frontend Build System</a> now benefit from better <a href="https://github.com/webpack/changelog-v5/blob/master/guides/persistent-caching.md" rel="nofollow noreferrer ugc">Long Term and persistent caching</a>. This means that javascript and CSS files in the system are no longer cleared from caches on when new releases and fixes are deployed. As a result infrequently changed assets will have a lesser impact on perceived page load times for users frequently visiting sites.</p><p>Additionally, <a href="https://web.dev/browser-level-image-lazy-loading/" rel="nofollow noreferrer ugc">many images are now loaded lazily</a>. This means images off-screen will not be loaded until a user's browser determines they will need it. This will be particularly helpful on communities that frequently post images in their discussions and comments.</p><h2 data-id="bug-fixes-improvements">Bug Fixes & Improvements</h2><ul><li>Bring in symfony/cache - <a href="https://github.com/vanilla/vanilla-cloud/pull/949)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/949</a></li><li>Add filter events to database library - <a href="https://github.com/vanilla/vanilla-cloud/pull/2245)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2245</a></li><li>Bump garden-http to version 2.4 - <a href="https://github.com/vanilla/vanilla-cloud/pull/2655)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2655</a></li><li>Fix adding invalid users to conversation - <a href="https://github.com/vanilla/vanilla-cloud/pull/2659)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2659</a></li><li>Fix emoji's appearing as search result images - <a href="https://github.com/vanilla/vanilla-cloud/pull/2685)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2685</a></li><li>Add user badges api - <a href="https://github.com/vanilla/vanilla-cloud/pull/2707)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2707</a></li><li>Fix commenting permission on a closed discussion over api - <a href="https://github.com/vanilla/vanilla-cloud/pull/2716)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2716</a></li><li>Leaderboard style adjustments for box style and ability to take own styles over layout - <a href="https://github.com/vanilla/vanilla-cloud/pull/2722)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2722</a></li><li>Add reactionValue field to reactions, discussions endpoint - <a href="https://github.com/vanilla/vanilla-cloud/pull/2723)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2723</a></li><li>Add resolved (Resolved Discussions v2) to API discussions (<a href="https://github.com/vanilla/vanilla-cloud/pull/2733)" rel="nofollow noreferrer ugc">https://github.com/vanilla/vanilla-cloud/pull/2733</a></li><li>Fix: Private message not loading (<a href="https://github.com/vanilla/vanilla-cloud/pull/2735)" rel="nofollow noreferrer ugc">https://github.com/vanilla/vanilla-cloud/pull/2735</a></li><li>Fix invalid schema for RSS Feed widget (<a href="https://github.com/vanilla/vanilla-cloud/pull/2737)" rel="nofollow noreferrer ugc">https://github.com/vanilla/vanilla-cloud/pull/2737</a></li><li>Fix online module user icon display - <a href="https://github.com/vanilla/vanilla-cloud/pull/2738)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2738</a></li><li>Fix link color text in dropdown/menu item - <a href="https://github.com/vanilla/vanilla-cloud/pull/2742)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2742</a></li><li>Fix articles from locales with different dialects (ie. pt_BR, es_MX, etc.) not appearing in search results - <a href="https://github.com/vanilla/vanilla-cloud/pull/2743)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2743</a></li><li>Prevent vendors.min to override our theme-core styles - <a href="https://github.com/vanilla/vanilla-cloud/pull/2746)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2746</a></li><li>Fix Online Module by removing parameters typing - <a href="https://github.com/vanilla/vanilla-cloud/pull/2749)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2749</a></li><li>Fix accessibility for sidebar nav links - <a href="https://github.com/vanilla/vanilla-cloud/pull/2753)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2753</a></li><li>Add endpoint to get reactions received by user - <a href="https://github.com/vanilla/vanilla-cloud/pull/2755)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2755</a></li><li>Multiple fixes related to elastic search indexing - <a href="https://github.com/vanilla/vanilla-cloud/pull/2756)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2756</a></li><li>Fix new category dropdown styles so its options are visible on all browsers - <a href="https://github.com/vanilla/vanilla-cloud/pull/2757)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2757</a></li><li>Enforce moderation legitimacy in spam verification by verifying the session's permissions - <a href="https://github.com/vanilla/vanilla-cloud/pull/2759)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2759</a></li><li>Sync site node config before enabling addons - <a href="https://github.com/vanilla/vanilla-cloud/pull/2760)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2760</a></li><li>Fix invalid navigation links variables causing theme crash - <a href="https://github.com/vanilla/vanilla-cloud/pull/2761)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2761</a></li><li>Fix Groups not always showing discussions for staff users - <a href="https://github.com/vanilla/vanilla-cloud/pull/2765)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2765</a></li><li>Fix bbcode quote formatting performance issue - <a href="https://github.com/vanilla/vanilla-cloud/pull/2769)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2769</a></li><li>Remove an import of a cloud library in OSS code.- <a href="https://github.com/vanilla/vanilla-cloud/pull/2772)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2772</a></li><li>Add reactionValue fallback when incrementValue is not set- <a href="https://github.com/vanilla/vanilla-cloud/pull/2776)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2776</a></li><li>Move the data-children toggle code to core. - <a href="https://github.com/vanilla/vanilla-cloud/pull/2782)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2782</a></li><li>Fix search category filtering - <a href="https://github.com/vanilla/vanilla-cloud/pull/2784)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2784</a></li><li>Fix discussion API name encoding - <a href="https://github.com/vanilla/vanilla-cloud/pull/2785)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2785</a></li><li>Filter subcommunities during the rendering- <a href="https://github.com/vanilla/vanilla-cloud/pull/2787)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2787</a></li><li>Fix: Reaction Count resetting after change of authorship - <a href="https://github.com/vanilla/vanilla-cloud/pull/2788)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2788</a></li><li>Refactor button styling functions & document button variables - <a href="https://github.com/vanilla/vanilla-cloud/pull/2790)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2790</a></li><li>Fix: 'Unknown" user appears in Reactions Logs - <a href="https://github.com/vanilla/vanilla-cloud/pull/2791)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2791</a></li><li>Add lazyloading and replace functions - <a href="https://github.com/vanilla/vanilla-cloud/pull/2792)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2792</a></li><li>Disable debug on bbcode formatter - <a href="https://github.com/vanilla/vanilla-cloud/pull/2796)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2796</a></li><li>Add expanding reactions received to users API endpoint - <a href="https://github.com/vanilla/vanilla-cloud/pull/2797)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2797</a></li><li>Add configurable locales display names - <a href="https://github.com/vanilla/vanilla-cloud/pull/2803)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2803</a></li><li>Add loading attribute to img tags for lazy loading - <a href="https://github.com/vanilla/vanilla-cloud/pull/2805)" rel="nofollow noreferrer ugc">/vanilla-cloud/pull/2805</a></li><li> Fix megamenu vertical layout for items with no childre - <a href="https://github.com/vanilla/vanilla-cloud/pull/2806)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2806</a></li><li>Fix empty discussion list option menu by conditionally rendering it - <a href="https://github.com/vanilla/vanilla-cloud/pull/2808)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2808</a></li><li>Upgrade build dependencies and improve chunk splitting - <a href="https://github.com/vanilla/vanilla-cloud/pull/2809)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2809</a></li><li>New badges module - <a href="https://github.com/vanilla/vanilla-cloud/pull/2812)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2812</a></li><li>Fix users badges api description- <a href="https://github.com/vanilla/vanilla-cloud/pull/2818)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2818</a></li><li>Fix media content is aligned to bottom in search results - <a href="https://github.com/vanilla/vanilla-cloud/pull/2819)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2819</a></li><li>Fix profile widget spacing - <a href="https://github.com/vanilla/vanilla-cloud/pull/2841)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2841</a></li><li>Fix subcommunity locale selection - <a href="https://github.com/vanilla/vanilla-cloud/pull/2869)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2869</a></li><li> Fix category filtering on new search page <a href="https://github.com/vanilla/vanilla-cloud/pull/2873)" rel="nofollow noreferrer ugc">vanilla-cloud/pull/2873</a></li></ul> </article> </main>