v6.0.0-alpha.2
Breaking Changes📦 ghostView on GitHub →
⚠ 6 breaking✨ 2 features🐛 1 fixes🔧 5 symbols
Summary
This major alpha release introduces native Web Analytics and ActivityPub federation while aggressively removing legacy features like AMP and older Node.js versions, alongside enforcing API/helper limits.
⚠️ Breaking Changes
- Removed serving files without an extension from themes. Themes must now use file extensions for assets.
- Removed the GET /session/ endpoint. Clients should use alternative authentication/session management methods.
- Enforced a maximum limit of 100 for the `limit` parameter in the `{{#get}}` helper. Requests exceeding this limit will be capped.
- Enforced a maximum limit of 100 for the `?limit` query parameter in API requests. Requests exceeding this limit will be capped.
- Removed AMP support from the core application. Any reliance on built-in AMP rendering will cease to function.
- Removed the `updated_by` and `created_by` fields from data models. Consumers relying on these fields must update their logic.
Migration Steps
- Review theme asset handling to ensure all assets have file extensions.
- Update any client code that relied on the GET /session/ endpoint.
- Adjust any usage of the `{{#get}}` helper or API requests to respect the new maximum limit of 100 for pagination.
- Remove any custom logic or dependencies related to AMP functionality.
- Update data models or queries that relied on the presence of `updated_by` and `created_by` fields.
✨ New Features
- Added native Web Analytics integration using Tinybird.
- Implemented federated Ghost sites over ActivityPub (Social web).
🐛 Bug Fixes
- Fixed rendering issues for 404 errors when requesting theme assets.