Discourse 2.2 released!Jeff Atwood February 1, 2019
Today we release Discourse 2.2, building on Discourse 2.1 from September 2018.
For consistency with mobile and to free up horizontal space for multi-column layouts, we’ve moved the category badge under the post title in topics, increased the default font size from 14px to 15px, and made the drop-downs for category (and tags, if enabled) look a bit less like grey buttons.
We’ve also improved our inline search layout to better show user, tag, and category matches alongside the expected topic and post matches.
On mobile, we’ve added full-size slide out panels for notifications and the menus. Also, the topic title, category, and tags will now appear while you’re scrolling down and reading a topic. Simply scroll upward to get back to the traditional top bar. We’ve embiggened all the mobile tap targets in the topic list to make things a bit easier for fingers, as well.
We’ve also fully converted to SVG icons instead of relying on a font icon. This is more efficient than shipping a giant and mostly unused icon font. Plus, it’s now much easier to switch any visible icon in Discourse with something else, even a completely custom one-off glyph that you created.
Prefer to use your custom logo instead of the default like heart? Make it so!
Lazy Image Loading
We’ve significantly enhanced our image support in this release!
Your images will now look better than ever before, especially on high resolution devices, because we take advantage of the new HTML5
srcset attribute to offer multiple resolutions of image thumbnails appropriate to the viewing device. Even better, those pretty thumbnails will now only be loaded when they actually scroll into view. We’ll initially show a very low resolution image placeholder until they’ve had time to load. This can save huge amounts of bandwidth on image heavy topics, so we’re not burning through anyone’s mobile plan data limits.
Recent Devices and Locations
You may recall in the last release we added two factor authentication, and printed backup codes, both of which are fundamental to user privacy and security. In this release, we’re proud to continue enhancing security for everyone using Discourse — by showing recently active locations and devices on your account.
If you ever see any devices or locations that don’t look familiar to you on your user profile, it’s time to change your password!
Furthermore, for staff only, we will alert you via email if we detect logins from two very distant locations in a brief time interval. We may expand support for this in the future, but right now we want to make sure it’s working well and alert only the highest privilege accounts for any unusual login scenarios.
Full CSP support
Discourse is now fully CSP compliant! This means a huge increase in default security for you, since the most common type of webapp exploit, cross-site scripting (XSS), is no longer possible under CSP. Use Discourse with total confidence, knowing that no bad actors have inserted malicious scripts on the page to intercept your data.
Please note that in this version CSP is only on by default if you are on our hosting, or if you’ve installed Discourse after 2.2 was released today. We’ll work with other Discourse hosting companies to make sure they’ve turned on CSP for their clients. CSP will probably be forced on by default for all existing Discourse installations in future releases.
Move Posts to a Message
We’ve cleaned up the post moving interface so you can move posts to a new personal message in addition to the existing options of splitting posts to a new topic, or combining posts with an existing topic.
Totally Revamped Theming
Our theming support takes a giant leap forward in Discourse 2.2! Visit Admin, Customize, Themes and check out our much easier to use and cleaner looking theming interface.
We continue to expand the scope of what’s possible in theme customizations; what previously required a full blown plugin is often possible in a simpler theme customization now. We’ll be working with several designers to build full demonstration themes in the coming months. Expect many improvements in theming over the next few releases.
These are just the highlights of 2.2 — we didn’t even mention our upgrade to Ember 3.0, text size options per device, auto-closing polls, ambient notifications when you’re editing a post at the same time as someone else, or the new wiki editor badge. View the release-notes tag to get a detailed account of changes in every beta leading up to this release, or see the full release notes for complete details.
Easy One Click Upgrade
If you are on our hosting, you’re already upgraded. Otherwise, upgrading is as easy as clicking the Update button linked from your Discourse dashboard.
We have a public exploit bounty program at Hacker One as a part of our security policy. Being secure by default is a core value at Discourse, and we always follow up on any security concerns brought to us. There are several important security fixes in 2.2, so we urge everyone to upgrade to it as soon as possible.
If you don’t have a Discourse to upgrade, why not? Install it yourself in under 30 minutes, or start an absolutely free, no strings attached 14 day hosting trial!
As always, we must first thank our customers for their direct financial support. We work hard to make Discourse a little bit better for you every day.
The true strength of any open source project can be measured in outside code contributions. Thanks for the pull request contributions in this release from:
We had a remarkable number of translators who contributed their time and effort translating Discourse into dozens of languages for this release. It’s because of you that so many people around the world can benefit from great free, open source discussion software, and we appreciate your hard work.
In this and all future releases, we will be making a special effort to ensure the top 10 most used translations of Discourse get financial support to ensure excellent and timely translation of any updated copy or new features.
Thanks to the greater Discourse community for posting support / bug request / feedback topics on meta.discourse — we’re listening! Your feedback makes Discourse better, not only for your community, but all of us together.
As our team grows we can do more and more in each release, and this is a huge release with lots of foundational improvements in Discourse … but there’s so much more we want to do! Check out the releases category to see what’s coming up on our roadmap for Discourse 2.3 and beyond.