- 🐛 Fixed error when using custom adapters - Fabien O'Carroll
See the changelogs for Ghost and Ghost-Admin for the details of every change in this release.
Tag Name: 3.13.1
Release Date: 4/7/2020
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This patch release fixes a critical issue with custom storage adapters that were inheriting from older versions of ghost-storage-base. It also improves oEmbed requests by implementing consistent timeout and user-agent headers. The release includes updates to the adapter manager and adds files to .npmignore for cleaner npm packages.
No migration steps are required for this patch release. The update can be applied directly without any additional configuration changes.
This patch release is recommended for all users, especially those using custom storage adapters or frequently embedding external content. The update addresses compatibility issues that could cause errors in production environments.
To upgrade:
Fixed an issue where custom storage adapters were inheriting from an older version of ghost-storage-base, causing errors when using these adapters. This was resolved by:
Added consistent handling for oEmbed requests:
rel="alternate" oEmbed requestsGhost user-agent header to match the initial HTML page requestNo specific security fixes were included in this release.
The standardization of oEmbed requests with a consistent 2-second timeout helps prevent hanging requests that could potentially slow down page rendering. This change ensures that embedded content doesn't negatively impact site performance by imposing reasonable time limits on external resource fetching.
Ghost 3.13.1 is a targeted patch release that addresses specific issues with custom storage adapters and improves the reliability of oEmbed requests. The primary impact is on developers using custom storage adapters who may have experienced errors due to inheritance issues with older versions of ghost-storage-base.
The oEmbed improvements provide more consistent behavior when embedding external content, benefiting both developers and content creators. By standardizing timeouts and user-agent headers, the platform now handles embedded content more predictably.
This release demonstrates Ghost's commitment to maintaining compatibility with custom extensions and ensuring reliable content embedding capabilities. While the changes are relatively small in scope, they address important reliability issues that could affect production sites.
See the changelogs for Ghost and Ghost-Admin for the details of every change in this release.