Discourse 2.2.0.beta2 Release Notes

AI-generated summary

The Discourse 2.2.0.beta2 release primarily addresses a critical image bug present in beta1 and stable 2.1.0, which could break images — this version recovers them and strongly recommends upgrading to prevent permanent loss. Beyond that, no major new features were introduced. The update includes several smaller improvements and fixes: an updated IPB import script, corrected stylesheet caching, a one-time job to recover missing post uploads, better handling of local file URLs, improved error handling in reports, consistent color scheme usage for theme-color meta tags, fixes for upload linking, flagging errors, and secret handling for POP3 and Mailgun credentials. It also resolves issues with locale defaults, invalid upload short URLs, JSON validation for custom fields, and UI elements like textarea measurement divs and select-kit behavior. These changes enhance stability, security, and user experience without introducing major feature changes.

New features in 2.2.0.beta2

There are no new major features in this beta.

Image Bug Fix

A bug was found in the 2.2.0.beta1/2.1.0 stable release which could cause images to break. This release resolves that bug, and recovers images that were broken. It is strongly recommended to upgrade to ensure broken images are not permanently lost.

Additional Features and Fixes

Click to expand

New Features

  • Updated IPB import script

Bug Fixes

  • Correctly keep stylesheet cache entries
  • Onceoff job to recover missing post uploads.
  • Don’t index urls to local files
  • Ensures errors in report initialization fail nicely
  • Ensures we have a color for reports
  • Treats users_(by_type|tl) as other reports
  • Update PG gem
  • Ignore and log bad json values for custom fields
  • Do not try to recover invalid Upload#short_url in UploadRecovery.
  • Remove div used to measure textarea position
  • Allows forcing unsafe string in select-kit
  • Uploads not being linked correctly to posts.
  • Display a correct error when attempting to agree on a deferred flag
  • Use current user color scheme when filling theme-color attribute
  • Use current user color scheme when filling meta attribute theme-color
  • Rescue ActiveRecord::RecordInvalid in find_or_create_by_safe!
  • “false” didn’t work as locale_default
  • Pop3 polling password and mailgun API key should be secret
13 likes