- 🐛 Fixed YouTube bookmark creation - Kevin Ansfield
View the changelog for full details: v5.86.1...v5.86.2
Tag Name: v5.86.2
Release Date: 6/23/2024
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
No migration steps are required for this patch release. The fix is automatically applied when updating to v5.86.2.
This update is recommended for all users who embed YouTube videos or NYTimes content in their Ghost sites. The patch fixes a critical functionality issue with bookmark creation for these services.
To upgrade:
This release addresses an issue where YouTube bookmark creation was failing. The problem occurred after Ghost switched to a browser-like user-agent, which caused YouTube to respond with a "supported browsers" message instead of the actual video content.
The fix involved modifying the user-agent string to use https://ghost.org instead of the GitHub address that was previously included. This change satisfies both YouTube's requirements for processing the request correctly and resolves an issue with NYTimes embeds that were rejecting requests containing GitHub URLs in the user-agent.
Related issue: #20445
No new features were introduced in this patch release.
No security fixes were included in this patch release.
No specific performance improvements were included in this patch release.
This patch release has a moderate impact on content creation workflows that involve embedding YouTube videos. Prior to this fix, attempts to create bookmarks for YouTube videos would fail, preventing content creators from embedding YouTube content in their posts. The fix ensures that the bookmark creation system works correctly with YouTube and NYTimes, improving the reliability of the content creation experience without requiring any changes from users.
The technical change involves modifying the user-agent string used in HTTP requests to external services, replacing GitHub references with ghost.org to improve compatibility with services that have specific user-agent requirements or restrictions.
View the changelog for full details: v5.86.1...v5.86.2