6.24 release notes

December 1, 2022

This page describes release information for all Matrix 6.24 versions, including patch releases.

Improvements

The following improvements were introduced in this version of Matrix.

WYSIWYG metadata fields now create reference links between the assets they are applied to and those referenced within their content.

Matrix features such as safe trash can now detect links between assets when WYSIWYG metadata fields are used in place of built-in content components.

This enhanced link detection capability is particularly beneficial when metadata fields are used within content templates.

Updated Squiz DXP branding

The Matrix toolbar, sign-in page, and update password change have received a minor branding update to align with the updated Squiz DXP brand livery.

Along with the new color scheme in the toolbar, the user avatar now shows two-letter initials if your account has a first name and last name set. While your username is no longer displayed in the toolbar, the information is still available to screen readers.

Bug fixes

The following bugs were resolved in this version of Matrix.

6.24.0

Missing user agent header in REST assets (MATRIX-589)

The User-Agent header was not set when Matrix made HTTP requests (for example, when making REST calls) which caused some web servers to reject HTTP requests from Matrix. The system name is now used to create a User-Agent header for HTTP requests originating from Matrix instances, which fixes the originally reported issue.

Nothing logs when a user is logged out due to changing IP (MATRIX-4926)

For Matrix instances that did not allow IP address changes, logs were not generated when user sessions were logged out as part of the IP change process. "User Automatically Logged Out" messages are now generated in the system log under these circumstances.

Cannot enable editing in context on Content screen (MATRIX-4982)

A regression introduced in 6.18.0 prevented alternate context changes on the Content screen from being customized or saved. The code suppressing the Save button was bypassed on the Content screen for page assets, making customizing a component for an alternate context possible.

Customising components in non-default contexts also requires customizing the Details screen of standard page assets. We may improve upon this aspect of component customization in a future release.
Calendar page "Only variables should be passed by reference" PHP notice (MATRIX-5110)

Calendar pages were running code that was not fully compatible with PHP 7.3. Customers running PHP 7.3 may have seen a notice message or observed log entries when using calendar pages with dynamic event sources. Calendar pages are now updated to support PHP 7.3, which fixes the originally reported issue.

WYSIWYG Metadata fields hide unordered list styling (MATRIX-5138)

A regression was introduced in 6.21.0 that caused unordered lists in WYSIWYG metadata fields to appear without styling in the administration interface. The CSS for styling metadata select fields was made more specific, which fixes the originally reported issue.

HIPO Herder consumes excessive memory when multiple jobs are in flight (MATRIX-5165)

The HIPO herder was loading data for all active jobs into memory which caused PHP to run out of memory in situations where many HIPO jobs were active. The HIPO herder now loads one job into memory at a time. This change allows users to display, resume, or delete any number of jobs as long as they individually fit into memory.

Content editors cannot access 'Form Email' type assets (MATRIX-5197)

Feature restrictions were incorrectly interacting with form email assets for content editors. Content editors could not access form email assets due to this issue. Form email assets are now specified in the allowed asset set for content editors, which fixes the originally reported issue.

Oauth2_Token::time() no longer returns a time preventing token regeneration (MATRIX-5264)

A regression was introduced in 6.23.0 that caused fatal errors when a user regenerated OAuth2 tokens. This regression prevented tokens from being regenerated. The function which returned the time for the OAuth2 token generation was updated, which fixes the originally reported issue.

"Escalate Safe-Trash" scheduled job Breaks Scheduled Job Manager (MATRIX-5280)

The "Escalate safe-trash" scheduled job incorrectly returned a message object instead of a string for its error messages. This issue caused the scheduled jobs manager to deadlock if the scheduled job generated any message objects. Messages sent from the "Escalate safe-trash" scheduled job are now handled by the Matrix internal messaging service, which fixes the originally reported issue.