🔥 Bug fix
- [core:content-manager] fix: markdown editor auto scrolls (#21434) @nguyengiang2000
- [core:upload] fix(v4): allow cross origin sources when cropping images (#22142) @Marc-Roig
Pre Release
Tag Name: v4.25.17
Release Date: 11/21/2024
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.25.17 brings important bug fixes for the markdown editor and image cropping functionality. The update addresses an issue where the markdown editor would automatically scroll to the top when formatting was applied, improving the editing experience. It also fixes a cross-origin issue when cropping images in the upload plugin, allowing images from external sources to be properly cropped.
No specific migration steps are required for this update. This is a patch release that fixes bugs without introducing breaking changes.
For general update guidance, refer to the Strapi Update Guide.
To update your Strapi instance to v4.25.17, run one of the following commands depending on your package manager:
# Using npm
npm install [email protected] --save
# Using yarn
yarn upgrade [email protected]
# Using pnpm
pnpm update [email protected]
This update is recommended for all Strapi users who:
As this is a patch release with bug fixes and no breaking changes, upgrading should be straightforward and low-risk. The fixes address specific usability issues that could impact content editing workflows and media management capabilities.
The markdown editor in Strapi would previously scroll automatically to the top of the document whenever formatting was applied to text. This disruptive behavior made it difficult for content editors to maintain their position in the document while formatting text. The issue has been resolved, allowing editors to apply formatting without losing their place in the document.
The upload plugin has been updated to properly handle cross-origin sources when cropping images. Previously, attempting to crop images from external domains could result in CORS (Cross-Origin Resource Sharing) errors, preventing the cropping functionality from working correctly. This fix ensures that images from external sources can be properly cropped within the Strapi admin interface.
No new features were introduced in this release. This update focuses on bug fixes to improve existing functionality.
No security fixes were explicitly mentioned in this release. The primary focus was on addressing functional bugs in the user interface and image processing capabilities.
No specific performance improvements were included in this release. The focus was on fixing functional bugs in the markdown editor and image cropping capabilities.
Strapi v4.25.17 delivers targeted bug fixes that improve the content editing experience and media management capabilities.
The markdown editor fix eliminates a frustrating auto-scrolling behavior that was disrupting content creation workflows. Content editors will now be able to apply formatting without losing their position in the document, resulting in a more seamless and efficient editing experience.
The cross-origin image cropping fix addresses a technical limitation that prevented proper handling of images from external sources. This enhancement ensures that media managers and developers can reliably crop images regardless of their origin, expanding the functionality of the upload plugin.
While this release doesn't introduce new features or major changes, these bug fixes address specific pain points that were affecting day-to-day usage of the platform. Organizations that rely heavily on content creation and media management within Strapi will benefit from these improvements to core functionality.