Home

>

Tools

>

Ghost

>

Releases

>

1.24.7

Ghost Release: 1.24.7

Tag Name: 1.24.7

Release Date: 7/3/2018

Ghost LogoGhost

Open-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.

TL;DR

Ghost 1.24.7 Release

This minor release fixes a critical bug with the subscription form functionality where location and referrer data were not being properly captured when multiple subscription forms were present on a single page. The update ensures all subscription forms on a page correctly track user data, improving the reliability of subscriber analytics. Additionally, the release includes some ES6 code migrations and dependency updates, including a fix for log rotation in ghost-ignition.

Highlight of the Release

    • Fixed subscription form bug that was causing missing location/referrer data when multiple forms were on a page
    • Updated ghost-ignition to version 2.9.4 with fixed log rotation
    • Continued ES6 code migration efforts with server/apps/private-blogging module

Migration Guide

No migration steps are required for this release. This is a minor update that can be installed without any special considerations.

Upgrade Recommendations

This update is recommended for all users, especially those who:

  • Use multiple subscription forms on the same page
  • Rely on accurate location and referrer data for subscriber analytics
  • Have experienced issues with log rotation

The update is backward compatible and should not cause any disruption to your Ghost installation.

Bug Fixes

Subscription Form Data Collection

Fixed an issue where location and referrer data were not being properly captured when multiple {{subscribe_form}} helpers were used on a single page. The fix:

  • Replaced querySelector with querySelectorAll and implemented a loop to ensure all subscription forms on a page have their values updated, not just the first form
  • Made the selector more specific to target only <input> elements
  • Switched to template string syntax for improved code readability

Log Rotation

Fixed log rotation in the ghost-ignition dependency (updated to version 2.9.4)

New Features

No significant new features were introduced in this release. The changes are primarily focused on bug fixes, dependency updates, and code refactoring.

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were highlighted in this release. The changes were primarily focused on bug fixes and code quality improvements.

Impact Summary

Ghost 1.24.7 addresses an important bug that affected data collection from subscription forms. Prior to this fix, sites with multiple subscription forms on a single page would only capture location and referrer data from the first form, leading to incomplete analytics data. This could impact understanding of where subscribers were coming from and how effective different form placements were.

The update ensures all subscription forms properly capture this data, providing more accurate subscriber analytics. Additionally, the fix to log rotation in the ghost-ignition dependency improves system reliability for administrators.

The ES6 code migrations continue Ghost's modernization efforts, though these changes are primarily of interest to developers contributing to the codebase rather than end users.

Full Release Notes

  • 🐛 Fixed missing location/referrer data when multiple {{subscribe_form}} helpers are used on a single page (#9713)

You can see the full change log for the details of every change included in this release.

Statistics:

File Changed9
Line Additions67
Line Deletions44
Line Changes111
Total Commits6

User Affected:

  • Can now reliably collect location and referrer data from all subscription forms on a page
  • Analytics for subscriber sources will be more accurate

Contributors:

zcetiendqkirrg001kevinansfield