This release contains a database migration to support future functionality.
- 🐛 Fixed slugs from exceeding db limit (#9251)
You can see the full change log for the details of every change included in this release.
Tag Name: 1.18.0
Release Date: 11/21/2017
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
Ghost 1.18.0 introduces webhooks support for subscriber events, fixes a critical bug with slugs exceeding database limits, and adds the bookshelf-relations dependency for improved relationship handling. This release includes a database migration to support future functionality and various dependency updates for better performance and security. The update is particularly valuable for developers integrating Ghost with third-party services and for sites with long post titles that previously encountered saving issues.
This release contains a database migration to support future functionality. Before upgrading, ensure you:
If you're planning to use the new webhooks functionality:
subscribers.added and subscribers.deleted/webhooks/ using password authenticationThis is a recommended upgrade for all Ghost users, especially for:
As this release includes a database migration, make sure to:
Fixed a critical issue where automatically generated slugs could exceed the database field limit of 191 characters. This primarily affected posts with very long titles (up to 255 characters), which would generate slugs of the same length and prevent users from saving their posts.
The fix implements a simplified approach that limits all generated slugs to 185 characters (plus counter for duplicates), making it easier to find duplicates while ensuring the database constraints are respected. This limit is not applied during content imports.
Ghost now supports REST Hooks style webhooks that can be used with Zapier triggers and other integrations. This feature allows you to receive notifications when subscribers are added or deleted from your Ghost site. Currently, webhooks can be added in two ways:
/webhooks/ (private API)Note that only HTTPS URLs are supported in the webhook target_url field for security reasons.
Ghost now includes bookshelf-relations as a dependency, which improves how relationship data is handled. This change:
No specific security fixes were mentioned in this release. However, the dependency updates likely include security patches, and the enforcement of HTTPS for webhook target URLs is a security-focused design decision.
Several dependencies have been updated for improved performance and compatibility:
Amperize has been updated to version 0.3.6, which includes:
Ghost 1.18.0 delivers significant improvements for developers through the addition of webhooks support for subscriber events and the integration of bookshelf-relations for better relationship handling. Content creators will appreciate the fix for the slug length limitation that previously prevented saving posts with very long titles.
The database migration included in this release lays groundwork for future functionality, making this an important foundational update. The various dependency updates improve overall performance, compatibility with Node v8, and likely include security enhancements.
The Casper theme update to 2.1.7 ensures the default theme remains current with the latest features and fixes.
Overall, this release focuses on enhancing Ghost's extensibility through webhooks, improving reliability by fixing the slug length issue, and maintaining a healthy codebase through dependency updates and refactoring.
This release contains a database migration to support future functionality.
You can see the full change log for the details of every change included in this release.