# Note di rilascio per Discourse 2.2.0.beta6

**URL:** <https://meta.discourse.org/t/discourse-2-2-0-beta6-release-notes/104280>\
**Category:** Announcements\
**Tags:** release-notes\
**Created:** [14 Dicembre 2018, 5:25pm UTC](https://meta.discourse.org/t/discourse-2-2-0-beta6-release-notes/104280 "2018-12-14T17:25:36Z")\
**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:** [14 Dicembre 2018, 5:25pm UTC](https://meta.discourse.org/t/discourse-2-2-0-beta6-release-notes/104280/1 "2018-12-14T17:25:36Z")

</div>

# New features in 2.2.0.beta6

### Improved Security

This release includes a number of security related improvements.

#### Content Security Policy (CSP)

Discourse now ships with a CSP Level 2 policy. This policy helps mitigate Cross Site Scripting (XSS) attacks to keep your site safe. For all the details, including how to turn it on, and what it may break, see

> [@Mitigate XSS Attacks with Content Security Policy](https://meta.discourse.org/t/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…

#### New dashboard tab: security

We’ve added a third tab to the admin dashboard: security. This tab shows all security related reports in one place, including the suspicious logins report, and the new staff logins report.

#### Invalidate admin accounts if not seen for a year

To help minimize the risk of an unused admin account being compromised, admins who have not been seen for 365 days will now have their accounts deactivated, and social logins revoked. To regain access they’ll need to validate their email again, and reconnect social accounts. The length of time before deactivation can be configured via site settings.

### Warn before overwriting draft

Ever start editing a post in one tab, leave it open, start editing in another tab, and then find that you overwrote your first edits? I know I have. To help avoid this, Discourse now warns you when edits may overwrite an existing draft.

 ![Image%20Pasted%20at%202018-12-14%2010-49](https://global.discourse-cdn.com/meta/original/3X/2/8/2817a5a9f169b2ddb9365040948026e13bbcf99b.jpeg)

### Lazily load images

Back in June, one of our designers, @Johani, created a theme component to enable lazy loading for images. This helps make load times faster, as well as sending less data at one time. The theme worked so well one of our engineers adapted it to ship as part of Discourse core. Now images are only loaded when they are on screen, not when they are 7 posts below.

 ![lazy1](https://global.discourse-cdn.com/meta/original/3X/2/8/28464bbd6521c55a82853618101b854f3e6193d2.gif)

### Full height swipe enabled menus on mobile

First discussed [way back in 2015](https://meta.discourse.org/t/full-height-slide-out-hamburger-menu/29789), full height slide out menus are now enabled! Both the user menu (notifications) and the hamburger menu now occupy the full height of the mobile browser when opened, and can be swiped away when no longer needed. On Android, swipe-in is also supported. (Swipe-in is not supported on iOS as horizontal swipes from the edges of the screen are reserved by the OS for forward/back).

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/9/5994f552baf166673cb40ff80df3eb67bff695bf.png)

### Share to Discourse (Android)

Discourse PWA on Android now supports receiving the native OS “share” feature. For all the details and requirements, see:

> [@Share to Discourse (via Android)](https://meta.discourse.org/t/share-to-discourse-via-android/103729):
>
> Continuing the discussion from [Chrome/Firefox extension "Share to discourse"](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/24): Share to Discourse is live now on latest Discourse tada. Demo: To test it right away: Install or Reinstall Meta (or any Discourse site running the latest version) Go to any app that supports sharing content, eg: Youtube, Twitter Click on share Pick Meta (or any Discourse site) You will be redirected to a new topic with the composer pre-filled with the content shared! Important: You…

### Remove category column from topic lists

To help streamline the topic list, we’ve removed the dedicated category column and instead display the category below topic tiles, just like tags. Want more details on the change? Check out [The topic list doesn't need a category column](https://meta.discourse.org/t/the-topic-list-doesnt-need-a-category-column/101352).

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/b/db559bb587803331d317a1899bfa88ba41c54c79.png)

---

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