🔥 Bug fix
- [core:admin] fix: set a fallback where we define
window.strapi.backendURL(#18028) @joshuaellis
Tag Name: v4.13.5
Release Date: 9/12/2023
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
Strapi v4.13.5 addresses critical URL handling issues in the admin panel. This patch fixes problems with relative URLs and ensures proper fallback for the backend URL configuration, improving the reliability of admin panel operations especially in custom deployment environments.
No specific migration steps are required for this patch release. Standard update procedures apply:
npm install or yarn install to update dependenciesFor general update guidance, refer to the official update guide.
This patch release (v4.13.5) is recommended for all Strapi users, especially those who:
As this is a patch release fixing critical URL handling bugs, upgrading should be straightforward with minimal risk of introducing new issues.
appendSearchParamsToUrl function (#17967)window.location.href when backendURL is not defined, ensuring the admin panel can still function properly (#17982)window.strapi.backendURL is defined, preventing potential errors when the value is empty or undefined (#18028)No new features were introduced in this patch release. This version focuses exclusively on bug fixes related to URL handling in the admin panel.
No security fixes were explicitly mentioned in this release. The changes were focused on functional bug fixes related to URL handling.
No specific performance improvements were included in this patch release. The focus was on fixing URL handling bugs in the admin panel.
This release addresses several URL handling issues in the Strapi admin panel that could affect connectivity between the frontend and backend components. The fixes ensure proper fallback mechanisms are in place when backend URLs are not correctly defined or when using relative URLs.
The changes improve the robustness of Strapi deployments, particularly in custom hosting environments where URL configuration might be complex. By fixing these issues, the release enhances the reliability of the admin panel and prevents potential disconnections or errors during administrative operations.
While the changes are focused on bug fixes rather than new features, they represent important stability improvements for Strapi installations across various deployment scenarios.
window.strapi.backendURL (#18028) @joshuaellis