Home

>

Tools

>

Ghost

>

Releases

>

5.49.1

Ghost Release: 5.49.1

Tag Name: v5.49.1

Release Date: 5/26/2023

Ghost LogoGhost

Open-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.

TL;DR

Ghost v5.49.1 is a minor patch release that fixes a critical bug in the member activity event filter. This release resolves a recursion issue that was affecting performance when filtering member activity events. The fix changes a getter function to a normal class method, making the logic more performant and eliminating the recursion problem.

Highlight of the Release

    • Fixed critical recursion issue in member activity event filter
    • Improved performance of member activity filtering logic
    • Refactored getter function to normal class method for better performance

Migration Guide

No migration steps are required for this patch release. The fix is automatically applied when upgrading to v5.49.1.

Upgrade Recommendations

This patch release is highly recommended for all Ghost installations, especially for those who:

  • Use the member activity filtering functionality
  • Have experienced performance issues when viewing member activity logs
  • Manage sites with a large number of members and activity events

The upgrade process is straightforward with no breaking changes or migration steps required.

Bug Fixes

Member Activity Event Filter Fix

The primary fix in this release addresses a critical issue with the member activity event filter that was causing recursion problems. The issue was resolved by:

  • Changing a getter function to a normal class method
  • Eliminating the recursion that was causing performance issues
  • Making the filtering logic more performant overall

This fix resolves issue #16817 where the member activity event filter was broken due to the recursion issue.

New Features

No new features were added in this patch release. This is a focused bug fix release addressing a specific issue with member activity event filtering.

Security Updates

No security fixes were included in this patch release.

Performance Improvements

Member Activity Filtering Performance

The fix for the member activity event filter not only resolves the functionality issue but also improves performance:

  • Eliminated recursive function calls that were causing performance degradation
  • Optimized the filtering logic by using a more efficient class method approach
  • Reduced computational overhead when filtering member activity events

Impact Summary

This patch release fixes a critical bug in the member activity event filter that was causing recursion issues and performance problems. The fix changes a getter function to a normal class method, making the filtering logic more efficient and eliminating the recursion problem. This improvement is particularly important for Ghost installations with many members and activity events, as it ensures reliable filtering functionality and better performance when viewing member activity logs. The fix is transparent to end users and requires no configuration changes or migration steps.

Full Release Notes

Statistics:

File Changed296
Line Additions10,325
Line Deletions1,523
Line Changes11,848
Total Commits137

User Affected:

  • Can now reliably filter member activity events without performance issues
  • Will experience improved performance when viewing member activity logs

Contributors:

peterzimondaniellockyerrshbhgrgallouisbinary-koanminimaluminiumrenovate[bot]sanne-sandjordjevlais9larsonsnazsagzySimonBackxmike182ukcadoosilviupanaitejshsakurakevinansfieldsam-lordgithub-actions[bot]