View the changelogs for full details:
- Ghost - 3.41.3...4.0.0-alpha.0
- Ghost-Admin - TryGhost/Admin@3.41.3...4.0.0-alpha.0
Pre Release
Tag Name: 4.0.0-alpha.0
Release Date: 2/2/2021
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
Ghost 4.0.0-alpha.0 introduces significant architectural changes and feature enhancements focused on improving the members system. This alpha release removes deprecated features, refactors the server boot process, and makes members functionality a core part of Ghost rather than an optional labs feature. Key changes include a new member status property, flattened subscription data structure, and improved server maintenance handling. This is an early prerelease intended for testing migrations and tooling.
portal-action and requestSrc parameters have been removedsend_email_when_published field has been deprecated and removed from the APIsubscriptions rather than nested under stripe.subscriptions (v3 API serializer still uses the old format for backward compatibility)plan_nickname column is now nullable to match Stripe API behaviorstatus column has been added to the members tableNote that this is an alpha release intended for testing migrations and tooling. Full migration documentation will be available with the final 4.0.0 release.
As this is an alpha release (4.0.0-alpha.0), it is not recommended for production use. This early prerelease is specifically intended to aid with testing of tooling and migrations.
If you're a developer or theme creator interested in preparing for Ghost 4.0, this release provides an opportunity to test your integrations and themes against the upcoming changes. Pay particular attention to the members-related changes and the new server boot process.
Wait for the final 4.0.0 release before upgrading production sites.
Added handling to force the process to exit when receiving an error from the members-api during initialization, addressing an issue where the process would hang indefinitely.
Fixed an issue with awaiting database initialization that was missed during the server boot process refactoring.
A new status property has been added to members, making it easier to determine if a member is free or paid without relying on joins with customers and subscriptions tables. This simplifies filtering members via the API.
Ghost now includes a dedicated maintenance application that serves 503 pages when the server is in maintenance mode (e.g., during migrations). This decouples the server maintenance mode from the frontend, allowing for a cleaner separation of concerns.
Members functionality is now enabled for all Ghost sites by default, removing the need to enable it through labs settings. This includes dynamic keypair generation when settings are missing.
The cookie used for private mode has been renamed to improve security. This change means users who have already entered the site password will need to do so again.
The server boot process has been refactored to use async/await instead of nested promises, significantly improving code readability and maintainability. This change also allows for a clearer separation of initialization stages.
Express applications now start after migrations are complete, decoupling server maintenance mode from frontend loading requirements. This results in a more efficient startup sequence.
Ghost 4.0.0-alpha.0 represents a significant architectural evolution with a focus on making the members system a core part of the platform. The removal of the members labs flag means all sites will now have members functionality enabled by default, simplifying the overall experience.
The refactored server boot process using async/await improves code maintainability and sets the foundation for future enhancements. The new dedicated maintenance app provides a cleaner separation between server maintenance mode and the frontend, resulting in a more robust update process.
For developers, there are several breaking changes to be aware of, including the removal of portal-action and requestSrc parameters, the deprecated send_email_when_published field, and changes to how member subscription data is structured. Theme developers will need to handle Portal-specific behavior directly in their themes.
The addition of the status property to members simplifies filtering and improves performance by reducing the need for complex database joins. This change, along with the flattened subscription data structure, makes working with members data more straightforward.
As an alpha release, this version is primarily intended for testing migrations and tooling before the final 4.0.0 release.
View the changelogs for full details: