# Notes de version de Discourse 2.2.0.beta9

**URL:** <https://meta.discourse.org/t/discourse-2-2-0-beta9-release-notes/107112>\
**Category:** Announcements\
**Tags:** release-notes\
**Created:** [Janvier 21, 2019, 7:58 UTC](https://meta.discourse.org/t/discourse-2-2-0-beta9-release-notes/107112 "2019-01-21T19:58:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [Janvier 21, 2019, 7:58 UTC](https://meta.discourse.org/t/discourse-2-2-0-beta9-release-notes/107112/1 "2019-01-21T19:58:53Z")

</div>

# New features in 2.2.0.beta9

### New Consolidated Pageview Chart

Ever wonder how many of your pageviews came from crawlers? What about anonymous users versus logged in? Replacing the old table based data from the old dashboard is a brand new stacked column graph for quick at a glance data. Need specifics, hover over a specific date to see the exact pageview count from each source.

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/1/3179838c953dc9aeaf5d08f4e68a4c3392cb7101.png)

### Content Security Policy (CSP) is now default on for new sites

CSP, a security policy which helps mitigate Cross Site Scripting (XSS) attacks was first added to Discourse back in [beta6](https://meta.discourse.org/t/discourse-2-2-0-beta6-release-notes/104280). As of this beta, CSP will be enabled by default for all new sites. For all the details, including how to configure your policy if you use ads or other external scripts, see

> [@Mitigate XSS Attacks with Content Security Policy](https://meta.discourse.org/t/mitigate-xss-attacks-with-content-security-policy/104243):
>
> bookmark This guide explains how to use Content Security Policy (CSP) to mitigate Cross-Site Scripting (XSS) attacks in Discourse. It covers CSP basics, configuration, and best practices. person_raising_hand Required user level: Administrator Summary Content Security Policy (CSP) is a crucial security feature in Discourse that helps protect against Cross-Site Scripting (XSS) and other injection attacks. This guide covers the basics of CSP, how it’s implemented in Discourse, and how to c…

### Consolidate like notifications

Does your site have that one user that likes every single post? The one who causes your notifications to overflow when you wake up in the morning? Good news! Discourse now merges sequential likes from the same user, helping keep your notification history happy. By default, sequential likes will be merged if there are 5 or more, and they happen within 2 hours of each other. This can be configured via the `likes_notification_consolidation_threshold` and `likes_notification_consolidation_window_mins ` site settings.

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/6/7674fced5df16460ba8a5a43aac06634756e5129.png) ![image](https://global.discourse-cdn.com/meta/original/3X/0/f/0f36fdaf33ae818704cba92b851aaeb2dfb584c0.png)

### User Deletion Improvements

Deleting a user is generally a “last resort” action taken on a site. Not only is it completely irreversible, it also can break topics where the user participated, as their posts are all removed as well. For that reason alone, we strongly recommend anonymizing users to remove all their personal info, while keeping their posts (no longer associated with them) in tact. When a long-time user does need to be deleted, it can fail as there is so much data associated with the user. We’ve made a number of changes to improve the performance of long-time user deletion. If you have issues deleting a long-time user even after deleting all their posts, please let us know in #Support.

### Support for localized themes

Themes are a powerful way to customize the look and feel of your Discourse site. Some themes go beyond layout and color changes, and add new buttons, or other elements that include text. Discourse now supports localized themes, so you can create your theme once and have it work in all the languages you translate it to. For more details, check out [FEATURE: Support for localized themes (#6848) · discourse/discourse@880311d · GitHub](https://github.com/discourse/discourse/commit/880311dd4d2b367e54cc8244fba60fce69e121c3), and keep and eye open for a topic here on Meta with more details soon.

---

_[View the full topic](https://meta.discourse.org/t/discourse-2-2-0-beta9-release-notes/107112)._
