- 🐛 Fixed GA labs flags not appearing enabled in settings API (#13681) - Kevin Ansfield
View the changelogs for full details:
- Ghost - v4.20.0...v4.20.1
- Admin - TryGhost/Admin@v4.20.0...v4.20.1
Tag Name: v4.20.1
Release Date: 10/22/2021
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This patch release addresses an issue where General Availability (GA) labs flags were not appearing as enabled in the settings API, even though they were actually active. The fix ensures that the Admin UI correctly displays the status of these feature flags, providing a more consistent experience for administrators managing Ghost features.
labs.getAll() as the source of truth for feature flagsbrowse() behavior to an internal _formatBrowse() methodNo migration steps are required for this patch release. The fix is automatically applied when updating to v4.20.1.
This patch release is recommended for all Ghost installations, especially for those using the Admin UI to manage labs features. The update ensures that administrators can correctly see the enabled status of General Availability labs flags in the settings interface.
To upgrade:
This release fixes an issue with how General Availability (GA) labs flags were being handled in the settings API. Previously, GA flags would not appear as enabled in the Admin UI settings panel, even though they were actually active in the system.
The issue occurred because:
true when checked via the labs service'labs' setting in the database/settings/ API endpoint, which was only returning the raw database valueThe fix:
labs.getAll()browse() behavior to an internal _formatBrowse() method to apply consistent filtering and modification for both browse() and edit() outputsNo new features were introduced in this patch release.
No security fixes were included in this patch release.
No specific performance improvements were included in this patch release.
This patch release fixes a UI/API consistency issue where General Availability labs flags were not appearing as enabled in the settings API, causing confusion for administrators. The fix ensures that the Admin UI correctly reflects the actual state of feature flags, providing a more reliable administrative experience. The update is straightforward with no breaking changes or migration requirements, making it a recommended update for all Ghost installations.
View the changelogs for full details: