- 🎨 Changed post/page date picker format to 'YYYY-MM-DD' (#1213) - Paul Perkins
- 🐛 Fixed async helpers nested in template helpers - Fabien O'Carroll
You can see the full change log for the details of every change included in this release.
Tag Name: 2.25.2
Release Date: 6/25/2019
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This release focuses on significant internal code restructuring, moving frontend-related code into a dedicated /core/frontend directory for better organization. Performance improvements include replacing the JS-only RSA key generator with a native alternative for faster boot times. Several bug fixes address issues with async helpers in templates, redirects validation, and theme changes. Security has been enhanced with an update to js-yaml to address vulnerabilities.
/core/frontend directory/ghost/members to fix CORS issuesIf you're developing custom themes or extensions that interact with Ghost's helper system, be aware that many helper locations have changed due to the frontend extraction. Helper references should now point to /core/frontend/helpers instead of /core/server/helpers.
If your code interacts with any of the moved services (routing, URL, themes, RSS, etc.), you'll need to update your imports to reference the new locations under /core/frontend/services.
No specific actions are required for this update. The changes are mostly internal restructuring that should not affect normal operation of your Ghost site.
This release contains important bug fixes, performance improvements, and security updates. We recommend all Ghost installations be updated to version 2.25.2.
The upgrade process should be straightforward as there are no breaking changes for end users. However, developers with custom code that interacts with Ghost's internal structure should review the code restructuring changes.
To upgrade:
role="navigation" attribute from <nav> in pagination.hbs/core/frontend directory/core/apps into /core/frontend/core/server/helpers to /core/frontend/helpers/core/server/services/themes to /core/frontend/services/core/server/services/routing to /core/frontend/services/core/server/services/url to /core/frontend/services/core/server/data/meta to /core/frontend/meta/core/server/services/rss to /core/frontend/services/core/server/data/xml to /core/frontend/services/ghost/members to fix CORS issues when admin is hosted on a different domainGhost 2.25.2 represents a significant internal restructuring effort, moving frontend-related code to a dedicated directory structure. This improves code organization and maintainability while setting the foundation for better separation between frontend and API components.
The performance improvements, particularly the replacement of the JS-only RSA key generator with a native alternative, will result in faster boot times for all Ghost installations. This is especially beneficial for sites that restart frequently or run in environments with limited resources.
Bug fixes address several important issues, including problems with async helpers in templates that could cause rendering issues, and a fix for CORS requests failing for members when the admin is hosted on a different domain than the site.
The security update to js-yaml addresses known vulnerabilities, enhancing the overall security posture of Ghost installations.
Overall, this release improves performance, fixes bugs, enhances security, and lays groundwork for better code organization without introducing breaking changes for end users.
You can see the full change log for the details of every change included in this release.