- 🐛 Fixed theme activation with capitalized names - Naz
View the changelogs for full details:
- Ghost - v4.38.0...v4.38.1
- Admin - TryGhost/Admin@v4.38.0...v4.38.1
🪄 Love open source? We're hiring Node.js Engineers to work on Ghost full-time
Tag Name: v4.38.1
Release Date: 3/9/2022
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
What's new: This patch release fixes an issue with theme activation when theme names contain capital letters.
Why it matters: Previously, themes with capitalized names couldn't be properly activated due to a regex issue in the API handling, which was introduced after implementing non-versioned API URLs.
Who should care: Ghost site administrators and theme developers who work with themes that have capitalized names in their directory structure.
No migration steps are required for this patch release. Simply update to v4.38.1 to benefit from the bug fix.
This is a minor patch release that fixes an issue with theme activation for themes with capitalized names. We recommend all users upgrade to v4.38.1, especially if you:
The update process is standard and should not cause any disruption to your site.
This release addresses an issue where themes with capitalized names in their directory structure couldn't be properly activated. The problem occurred after the introduction of non-versioned API URLs, which caused the isAPI regex to fail as it was expecting a canary/vX pattern in the API URL. This failure prevented the "uncapitalization" process from working correctly for API requests.
The fix updates the regex pattern to properly handle API URLs in both versioned and non-versioned formats, ensuring that theme activation works consistently regardless of capitalization in theme names.
References:
No new features were added 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 targeted impact, primarily affecting theme management functionality. It resolves an edge case where themes with capitalized names in their directory structure couldn't be properly activated after the introduction of non-versioned API URLs. The fix ensures that the API URL detection works correctly with both versioned and non-versioned formats, allowing the theme activation process to handle capitalization properly. This change improves compatibility and reduces friction for site administrators and theme developers who work with themes that don't follow lowercase naming conventions.
View the changelogs for full details:
🪄 Love open source? We're hiring Node.js Engineers to work on Ghost full-time