Home

>

Tools

>

Strapi

>

Releases

>

4.25.17

Strapi Release: 4.25.17

Pre Release

Tag Name: v4.25.17

Release Date: 11/21/2024

Strapi LogoStrapi

Open-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.

TL;DR

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.

Highlight of the Release

    • Fixed markdown editor auto-scrolling issue that disrupted content editing workflow
    • Resolved cross-origin resource sharing (CORS) issues when cropping images from external sources
    • Improved overall stability and user experience in content editing and media management

Migration Guide

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]

Upgrade Recommendations

This update is recommended for all Strapi users who:

  1. Use the markdown editor for content creation and have experienced the auto-scrolling issue
  2. Work with image cropping functionality, especially with images from external sources

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.

Bug Fixes

Markdown Editor Auto-Scroll Issue Fixed

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.

Cross-Origin Image Cropping Fix

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.

New Features

No new features were introduced in this release. This update focuses on bug fixes to improve existing functionality.

Security Updates

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.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing functional bugs in the markdown editor and image cropping capabilities.

Impact Summary

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.

Full Release Notes

🔥 Bug fix

📚 Update and Migration Guides

  • General update guide can be found here
  • Migration guides can be found here 📚

Statistics:

File Changed300
Line Additions11,055
Line Deletions2,838
Line Changes13,893
Total Commits151

User Affected:

  • Can now apply formatting in the markdown editor without losing their position in the document
  • Experience smoother content editing workflow without disruptive auto-scrolling

Contributors:

ntarandekBoegie19smoothdvdmicahriggantewsoninnerdvationssimotae14Marc-RoigMcastresConvlyAsupkayalexandrebodinabdallahmzsmorimotogonbaummorohonchrismuirurizSalahAdDinremidejderrickmehaffyahallahamallowscjhoward1994OhiekkarFeranchzchrisli-03vdhpieternoobCode-69unrevised6419jotafilajJensPennemanfaessleraleksandrjetnguyengiang2000