# 2.9.0.beta4: Security Fixes, Sitemaps, Discourse Connect Provider 2FA, and more

**URL:** <https://meta.discourse.org/t/2-9-0-beta4-security-fixes-sitemaps-discourse-connect-provider-2fa-and-more/224271>\
**Category:** Announcements\
**Tags:** release-notes\
**Created:** [April 14, 2022, 2:14pm UTC](https://meta.discourse.org/t/2-9-0-beta4-security-fixes-sitemaps-discourse-connect-provider-2fa-and-more/224271 "2022-04-14T14:14:30Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

The 2.9.0.beta4 release of Discourse includes several key updates. Security fixes address issues such as Nokogiri updates, category group permission leaks, and private group data exposure, with a required rebuild to apply the changes. Sitemap support is now built-in, replacing the need for a plugin. Discourse Connect Provider now supports 2FA enforcement. Additional improvements span multiple plugins: Assign, Discourse Chat (with new chat buttons, improved DM composer, and UX refinements), Voting, Akismet, Calendar, Data Explorer, and Encrypt. Numerous bug fixes and UX enhancements are also included, covering areas like search indexing, email handling, mobile usability, and theme creation.

<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:** [April 14, 2022, 2:14pm UTC](https://meta.discourse.org/t/2-9-0-beta4-security-fixes-sitemaps-discourse-connect-provider-2fa-and-more/224271/1 "2022-04-14T14:14:30Z")

</div>

## New features in 2.9.0.beta4

> ⚠ **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 past day.

### Security Updates

This beta includes 5 security fixes for issues reported by our community and [HackerOne](https://hackerone.com/discourse).

- Update Nokogiri to 1.13.4.
- Category group permissions leaked to normal users.
- Avoid leaking private group name when viewing category.
- Hide private categories in user activity export
- Ensure user-agent-based responses are cached separately

❗ Note that [discourse\_docker](https://github.com/discourse/discourse_docker), the Docker image upon which Discourse run, also has a security update. The manual rebuild mentioned above is required to pull in this fix. This _will_ result in downtime.

### Add Sitemap Support

Discourse now support sitemaps without the need for a plugin. This includes the same features of the [Discourse Sitemap](https://meta.discourse.org/t/discourse-sitemap/40348) plugin, which can be safely uninstalled after updating.

### [Discourse Connect](https://meta.discourse.org/t/13045?silent=true) Provider 2FA Support

If you use Discourse as your identity provider for external sites, you can now require that users be prompted to confirm their 2FA. See [GitHub](https://github.com/discourse/discourse/pull/16386) for full details.

---

<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:** [April 14, 2022, 2:14pm UTC](https://meta.discourse.org/t/2-9-0-beta4-security-fixes-sitemaps-discourse-connect-provider-2fa-and-more/224271/2 "2022-04-14T14:14:30Z")

</div>

### 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.

## Plugin improvements

### Assign

#### UX Changes

- Additional refactor for topic-list prep

### Discourse Chat

#### New Features

- Add chat button on topic page under topic timeline and footer
- Add an option to disable channel-wide mention notifications
- Chat button in user card
- Limit unique emoji reactions to 30 per message

#### Bug Fixes

- Allows to DM yourself
- Ensures a correct draft is created when building DM
- Add missing tooltip to icon in topic list
- Fixes a regression preventing indicator to show
- Cooking is not required as we send message to server
- Makes direct\_messages an index route
- Format usernames at request time
- Filter right away to prevent flashing no results
- Change copy for the quote button
- Apply truncation on placeholder
- Minor tweaks
- Fix missing app event bindings
- Use chatEventPrefix to handle composer insert-text events
- Allow new duplicate reactions when max new reactions are reached
- Error when anon viewing another user when chat is enabled
- Don’t error from missing table

#### UX Changes

- Implements a fully revamped direct message composer
- Implements a progress bar
- Change plugin outlet for user-card button placement
- Prevents replying-text to be selected on long press
- Cancel long press on scroll
- Even more consistent chat notifications
- Implements using long-press to trigger mobile menu
- Adds slightly more padding under reactions
- Implements a dedicated mobile menu for messages

### Voting

#### New Features

- Improve blank page syndrome

#### Bug Fixes

- Handle boolean correctly on server

### Akismet

#### Bug Fixes

- Make the review of a TL1 user’s first post configurable.

### Calendar

#### New Features

- Include full date label as tooltip in topic list

#### UX Changes

- Adjust calendar event display

### [Data Explorer](https://meta.discourse.org/t/32566?silent=true)

#### Bug Fixes

- Use new properties for pick-files-button

### Encrypt

#### Bug Fixes

- Hide quick-edit button for encrypted topics
- Add only valid search results
- Check cached objects exist before accessing
- Update existing keys only if they exist
- Hide convert to public topic button

### Kolide

#### Bug Fixes

- Pluck device ids before performing updating the db.

### Docker Manager

#### Bug Fixes

- Dynamically fetch logo url

### Code Review

#### Bug Fixes

- Handle commits without messages

### RSS Polling

#### Bug Fixes

- Do not raise if user does not exist

### Policy

#### Bug Fixes

- Clear next\_renew\_at when renew-start is removed.
- Order displayed users and exclude inactive / suspended

### Automation

#### Bug Fixes

- Ensures we don’t mutate automation objectmuta

#### UX Changes

- Allows to destroy an erroring automation

### Footnote

#### Bug Fixes

- Allow multiple references to same footnote

### Salesforce

#### Bug Fixes

- Add missing locale entries for site settings.
- Remove unused admin route
- Preload topic custom fields

### Chat Integration

#### New Features

- Allow `[quote]` to be disabled for slack transcripts

#### Bug Fixes

- Correct error in AdminDashboardData problem check
- Only show admin dashboard errors when plugin/provider enabled

## Additional Features and Fixes

> **Click to expand**
>
> ### New Features
> 
> - Add `user_suspended` attribute in post serialize.
> - Improve screened IPs roll up and extend for IPv6
> - Add a sidekiq job for syncing S3 ACLs
> - Add email dark mode
> - Sortable json-editor items
> - Allow for local theme js assets
> - Allow multiple required tag groups for a category
> - DiscourseEvent hook for sync\_sso
> - Polymorphic bookmarks pt. 1 (CRUD)
> - Support upload:// urls in img tags
> 
> ### Bug Fixes
> 
> - Href attribute for post-date link
> - Add href to post-date link element
> - Prevents error with emoji autocomplete
> - Update dark mode emails styles
> - Ensure allowed\_tags and allowed\_tag\_groups can be removed
> - Email logs not finding attached incoming email
> - Ensure category\_required\_tag\_groups are destroyed with tag\_groups
> - Fall back to clipboard.writeText if ClipboardItem not supported
> - Buggy topic scrolling on iOS 12
> - Serialize permissions for everyone group
> - Clean required category tag groups with invalid tag\_group ids
> - Ensure legacy browser handling uses full `<noscript>` content
> - Hide user notifications tab for moderator users.
> - Uppy-image-uploader and uppy-upload mixin minor issues
> - Prevent duplicates in API scope allowed URLs
> - Include routes in an API scope’s allowed URLs even if they have no format constraints
> - Exclude automatic anchors from search index
> - Limit max word length in search index
> - Include crawler content on old mobile browsers
> - Users watching tags in open tag groups not notified
> - No need to hide “Later This Week” when showing “Later Today”
> - Ensure images do not change height when loading is complete
> - Redirect user to topic they were invited to
> - Do not attempt to pull\_hotlinked\_image for raw\_html
> - Auto-generated emails causing group SMTP email storm
> - 500 error when creating a user with an integer username
> - Update ‘posted’ column on post owner change
> - Review queue scrolling is not working after take an action.
> - Stop sorting options in date-pickers on the bookmark modal and the topic-timers modal
> - Can\_permanently\_delete should check for admin
> - Abort theme creation if unable to create uploads
> - Build correct post and topic shareUrl
> - Ensure ActiveSupport::Inflector is used by Zeitwerk
> - Hide tag count in tag filter when in a category context
> - Flips popper when top position is chosen incorrectly
> - Close user/group card on esc key press
> - Don’t put the whole sidekiq conf in `to_prepare`
> - Maintain HTML ``\<img` when downloading remote images
> - Validate category tag restrictions before sending new topics to review
> - Resetting selectable avatars was failing
> - Show restricted groups warning when necessary
> - Do not wrap unaccent around tsqueries
> - Bug setting notification level to muted/ignored on user page
> - Add `errors` field if group update confirmation
> - Don’t attempt to focus .title in topic-list-item if it doesn’t exist
> - Closing the picker shouldn’t propagate the pointer event
> - Make sure max\_oneboxes\_per\_post is enforced
> - Allow `@ember/test` import in embercli prod builds
> - Don’t listen for focus/blur events if the topic-list opts out of last visited focus
> 
> ### UX Changes
> 
> - Minor mobile topic list alignment adjustments
> - Make full topic row clickable on mobile
> - Add margin to security key button
> - Less specific styling for Auth logins
> - Apply crawler styling to `<noscript>` content
> - Make header/footer HTML consistent for crawler and noscript
> - Make crawler view usable under different color schemes
> - Inline code block edit
> - Update crawler view styles to be more readable
> - Require a password for invited users
> - Add details button to admin bounced/rejected lists
> - Use committed date for GitHub oneboxes
> - Indicate that “Show replies” button does not work for deleted posts
> - Cleaner messages for empty state on the user activity topics page
> 
> ### Performance
> 
> - Speed up admin user list main query
> - Throttle updates to API key last\_used\_at
> - Update UserDestroyer to fetch histories and actions in batch
> 
> ### Accessibility
> 
> - Make user avatars in posts stream untabbable
> - Improve accessibility of embedded replies below post
> - Improve accessibility of likes/read count post buttons
> - Change tabLoc tagName from `<a>` to `<span>`
> - Include username in aria-label of post region
> - Make the views column in topics lists tabbable
> - Improve topic entrance modal
> - Add `aria-label`s to topics list column headers
> - Add aria-label to the Replies cell in topics list
> - Focus last viewed topic in topic lists (take 3)
