TL;DR
Ghost v4.22.2: Bug Fixes and Alpha Features
This release primarily addresses several bugs including issues with file extensions, theme installations, and Stripe account changes. It also introduces several alpha features behind feature flags, including a Files API for non-executable file uploads, new editor cards (Button, Callout, Accordion, NFT), and URL caching for improved performance. Note that this version has been deprecated due to a file permissions issue when booting.
Migration Guide
⚠️ Important Note: This version (v4.22.2) has been deprecated due to an issue with file permissions when booting. It's recommended to upgrade to a newer version if available.
For those who still need to use this version:
-
Alpha Features: All new features are behind alpha flags in the labs section. To enable them:
- Go to Settings > Labs
- Look for the following flags and enable as needed:
- filesAPI
- buttonCard
- calloutCard
- accordionCard
- nftCard
- gifsCard
- urlCache
-
Files API: If enabled, be aware that uploaded files will be stored under /files/ in your configured content path and accessible under /content/files/ URL.
-
URL Caching: If enabled, URL data will be persisted to disk on shutdown and loaded on startup. This is experimental and should be tested thoroughly before using in production.
Upgrade Recommendations
⚠️ Not Recommended: This version (v4.22.2) has been deprecated due to an issue with file permissions when booting. It's recommended to skip this version and upgrade to a newer version if available.
If you're currently on v4.22.1 or earlier, consider waiting for the next stable release rather than upgrading to v4.22.2.
For those who must use this version:
- The upgrade process follows the standard Ghost update procedure
- Be aware of the file permissions issue that led to this version being deprecated
- Test thoroughly in a non-production environment before deploying
Impact Summary
Ghost v4.22.2 is primarily a bug fix release that addresses several important issues, including problems with theme installation, Stripe account changes, and file extension validation. However, it also introduces several significant alpha features behind feature flags.
The most notable bug fixes resolve issues with installing free themes from the marketplace, setting Tier prices after changing Stripe accounts, and correctly validating file extensions for media uploads. These fixes improve the reliability of core Ghost functionality.
The alpha features introduce exciting new capabilities including a Files API for non-executable file uploads, new editor cards (Button, Callout, Accordion, NFT, GIFs), audio upload support, and URL caching for improved performance. These features enhance content creation options and system performance but require enabling specific labs flags.
Despite these improvements, this version has been deprecated due to a file permissions issue when booting. Users should be cautious about deploying this version and consider waiting for a more stable release.
The code changes in this release also include significant refactoring and modernization, particularly in the URL service and storage adapters, which will benefit future development and maintenance.