Discourse 2.5.0.beta4 Release Notes

New features in 2.5.0.beta4

:warning: Rebuild required. The rebuild will update package versions to latest, and must be completed if the site has not be been rebuilt from the command line in the last week.

Filter for all/unread/read on notifications page

Get a lot of notifications? Ever had a hard time finding that 1 remaining unread notification? Thanks to community contributor @Ahmed_Gagan, this long requested feature is now available.

Internet Explorer 11 Support ending June 1

We’re less than a month away from the end of IE11 support in Discourse. In beta4 we’ve made further improvements to the read-only HTML view.

Optional Category Banner for write-restricted categories

Do you have users confused why they can’t create topics in a category? You can now display a banner to users without topic-creation permission per category.

Updated Base Image

We’ve updated the Docker base image with the following changes:

  • ImageMagick: update to 7.0.10-6
  • nginx: update to 1.17.9
  • explicitly remove the openssh-server package
  • avoid pulling in unnecessary packages as dependencies
  • packages removed from latest image: geoip-database guile-2.2-libs less libevent-2.1-6 libfribidi0 libgc1c2 libgd3 libgeoip1 libgnutls-dane0 libgsasl7 libkyotocabinet16v5 liblzo2-2 libmailutils5 libmariadb3 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libntlm0 libunbound8 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 mailutils mailutils-common mariadb-common mysql-common ncurses-term nginx nginx-full openssh-server openssh-sftp-server xauth

Even more!

But wait, there’s more! We do our best to highlight new features and changes for you, but there’s always too many changes to detail. For a full list of new features, bug fixes, UX improvements, and more, be sure to review the Additional Features and Fixes listed below.

31 Likes

Security Updates

This beta includes 1 security fix for issues reported by our community and HackerOne.

  • Update onebox to add rel=“noopener”

Plugin improvements

All plugins

  • Bug fixes
    • We’ve patched numerous bugs in many of our plugins

SAML

  • Security fix

Subscriptions

  • Initial Release

Onebox

  • Security fix

Canned Replies

  • Security Fixes

OAuth2 Basic

  • Add detailed OAuth2 request and response logs when debug auth is enabled
  • Allow disabling request_body authentication for token endpoint

Additional Features and Fixes

Click to expand

New Features

  • Unconditionally notify on edits at least once a day
  • Allows to limit visible reports and tabs in dashboard
  • Add setting to controle the Expect header on S3 calls
  • Allow user creation with admin api when local logins disabled
  • Add user_profile to user_archive CSV export
  • Redesign discourse-presence to track state on the client side.
  • Allows to to style published page with themes/plugins
  • Support SSO website and location overrides
  • Optionally show local time for user in card
  • Dismiss first notification on click anywhere
  • When blocking emails prefer blocking canonical
  • Don’t display new/unread notification for muted topics
  • Digital Ocean Spaces compatibility for Object Storage
  • Add class to <aside> quote block when quoting an ignored user

Bug Fixes

  • Shows filter if there’s no notifications to show after filter
  • Do not use cached settings during theme compilation
  • Clear theme caches after database transaction has committed
  • Missing edit notifications in some rare cases
  • Do not apply only-emoji margin for excluded cases
  • Unassign user titles when a badge is deleted
  • Save bookmark reminder on tap unless custom
  • An <a> with a target of _blank wants a new window
  • Ensures an anonymous shortcut fn can be used globally
  • Bookmark UI tweaks
  • Do not raise error if ‘class’ attribute is not found.
  • Change base importer to create new Bookmark records
  • The muted message should be sent after edit
  • Sprockets was broken when node_modules was present
  • Server-side HtmlToMarkdown improvements
  • Better detection of hidden elements when converting HTML to Markdown
  • Take into account the ‘allowed_href_schemes’ site setting when converting HTML <a> to Markdown
  • Added support for ‘mailto:’ scheme when converting <a> from HTML to Markdown
  • Added support for <img> dimensions when converting from HTML to Markdown
  • Added support for <dl>, <dd> and <dt> when converting from HTML to Markdown
  • Added support for multilines emphases, strongs and strikes when converting from HTML to Markdown
  • Added support for <acronym> when converting from HTML to Markdown
  • Rename all instances of bookmarkWithReminder to just bookmark
  • Temporarily disable event listener for dismissing the first notification
  • Ensures widget dropdown doesn’t overflow document
  • Make lazyYT crawler-friendly
  • Hide browser update notice in print view
  • Enter selected link with ‘o’ on full page search
  • S3 rake task can ignore yarn.lock
  • Copyedit for “You were logged out” modal
  • Correctly hides timeline scroller for short posts
  • Ensures card cloak is removed
  • Discourse-presence breaks composer for users.
  • Correctly account for direct replies with presence
  • Change bookmarks-with-reminders URL back to bookmarks for user activity
  • Remove timezone in brackets from user card
  • Do not save bookmark if close (X) on modal is clicked
  • Error customizing text for badges from plugins
  • Makes tracking shortcuts working when tracking button is not visible
  • Improves tag-list setting
  • Include default notification level in category serializer
  • Improve clearing store cache
  • Published pages couldn’t be routed from inside discourse
  • Avoid exception when rendering a poll in a trashed post
  • Remove unsuppored rake task
  • Topic user bookmarked column logic was not correct
  • CurrentUser might be undefined
  • Local time not updating between user cards
  • Keep scroll position when minimizing composer in iOS
  • Correctly shows no bookmark message
  • Improves bookmark shortcut reliability and other minor issues
  • Only show the review page to users that can see it. Do not publish the reviewable count update message to everyone.
  • Add additional checks for automatic theme script CSP
  • Apply category priority for empty query
  • Use absolute URL for YouTube thumbnail images.
  • Raise a 4xx error instead of a 5xx if draft data is invalid
  • Do not override all title elements with page title
  • Reenable draft check modal and fix focus on iOS for PMs
  • Removes inheriting as it’s too random and can be very hard to track
  • Make sure new user narrative returns toggleBookmark promise
  • Copying image markdown for secure media loading full image
  • Site settings dropdown can be 440px width
  • Removes rounding correction as it can be in either direction
  • Do not set title attribute on header-topic-info widget
  • Inner content of a row could have no max-width and be very large
  • Update GitHub screen_name on login via GitHub
  • Fails gracefully if :scope is not handled by a browser
  • Prevents constant composer reloading
  • Don’t throw 500 for invalid website url input
  • Ignore removed column
  • Multisite spec was failing in parallel environment
  • Composer problem on the categories page
  • Don’t log an error to logster if a topic could not be updated.

UX Changes

  • Use created_at as the default order when viewing reviewed items or everything
  • Change the user merge button’s label and icon.
  • Collapse extra files when browsing a theme component
  • Display info about extra files and uploader
  • Adds title attribute to widget dropdown header
  • Add margin when displaying unlisted details in composer.
  • Improve discobot random menion copy
  • Fix dashboard version panel width by removing extra wrapper
  • Translating poll chart types wasn’t possible
  • Right align notification item time, adjust mobile space, consolodate
  • Better spacing for composer toggle buttons on mobile
  • Replace closed topic icon with discourse-no-entry
  • Let’s try X for the closed topic icon instead of a \
  • Rework date time input range
  • Do not attempt to full width sk on mobile
  • Drop the automatic_membership_retroactive column from groups model.
  • Add comment-plus icon for reopening topics

Performance

  • Remove database query when publishing to staff users.
  • Refactor decorateCooked to run in a detached DOM
  • Stop firing superfluous onSelectionChange
25 Likes