Home

>

Tools

>

Strapi

>

Releases

>

5.15.0

5.15.0

Tag Name: v5.15.0

Release Date: 6/4/2025

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 v5.15.0 introduces a Growth Trial prompt in the CLI, fixes several UI issues including bulk publish dialog buttons, improves field validation logic in permission settings, and enhances document ID uniqueness checks. This release also includes important security updates with an upgrade to Koa 2.16.1, fixes for history data preservation when licenses are missing, and various UI improvements for blocks and custom fields. The update focuses on enhancing user experience, improving type signatures, and addressing several critical bugs.

Highlight of the Release

    • Introduction of Growth Trial prompt in the CLI
    • Fixed bulk publish dialog modal buttons for better content management
    • Enhanced field validation logic in permission settings
    • Document ID uniqueness check implementation with draft/published state handling
    • Security upgrade to Koa 2.16.1
    • Improved blocks UI for better content editing

Migration Guide

No specific migration steps are required for this update. The changes are mostly non-breaking improvements and bug fixes.

However, if you have custom implementations that rely on:

  1. Document service behavior - be aware of the new document ID uniqueness checks
  2. Custom field configurations in Content-Type Builder - you can now take advantage of the extra configuration support
  3. Core-store getter type signatures - you may benefit from the improved TypeScript definitions

For developers with custom code interacting with these areas, review your implementations to ensure compatibility with the enhancements.

Upgrade Recommendations

This release contains important bug fixes, UI improvements, and a security update to Koa. We strongly recommend all users upgrade to v5.15.0, especially for the security improvements.

The upgrade process should be straightforward:

npm install strapi@5.15.0

or

yarn upgrade strapi@5.15.0

After upgrading, restart your Strapi application and verify that all functionality works as expected, particularly if you use bulk publishing features, custom fields, or have implemented custom document services.

Bug Fixes

UI and Interaction Fixes

  • Fixed cancel and publish buttons in the dialog modal of bulk publish (#20809)
  • Resolved issues with blocks UI for a smoother content editing experience (#23311)
  • Fixed header elements appearing behind other components by adjusting z-index (#23634)
  • Added support for undefined allowed types (#23572, #23615)
  • Custom fields in Content-Type Builder now properly allow extra configurations (#23645)

Data and Permission Handling

  • Improved field validation logic in permission settings (#23581)
  • Enhanced validation for required fields based on user permissions
  • Prevented history data loss when license is missing (#23562)
  • Improved error handling for unreadable required fields
  • Better validation messaging for content management

Type Improvements

  • Enhanced type signature for core-store getter (#23593) for better TypeScript support

New Features

CLI Growth Trial Prompt

The CLI now includes a Growth Trial prompt, making it easier for users to discover and try Strapi's premium features. This addition helps users understand the available upgrade options and seamlessly transition to growth plans when needed.

Document ID Uniqueness Check

The document service has been enhanced with a document ID uniqueness check that properly handles draft and published states. This feature ensures data integrity by preventing duplicate document IDs across your content, reducing the risk of conflicts and data inconsistencies.

Security Updates

Koa Security Upgrade

Upgraded Koa to version 2.16.1 to address security vulnerabilities (#23654). This is an important security update that all users should apply to ensure their Strapi installations remain secure.

Performance Improvements

Testing and Performance

  • Changed test lifecycle hooks to beforeAll/afterAll for improved performance in document service tests
  • Simplified uniqueness check implementation for better efficiency
  • Dependency upgrades to newer versions may provide performance benefits in development workflows

Impact Summary

Strapi v5.15.0 delivers a balanced mix of new features, bug fixes, and security improvements that enhance both developer and content editor experiences. The introduction of the Growth Trial prompt in the CLI provides better visibility into premium features, while the numerous UI fixes address pain points in the content management workflow.

The security upgrade to Koa 2.16.1 is particularly important for all production deployments. The improvements to field validation logic and document ID uniqueness checks strengthen data integrity and permission handling.

For developers, the enhanced type signatures and support for extra configurations in custom fields provide more flexibility and type safety. Content editors will appreciate the fixed bulk publish dialog buttons and improved blocks UI.

Overall, this release focuses on stability, security, and quality-of-life improvements across the platform, making it a recommended upgrade for all Strapi users.

Full Release Notes

5.15.0 (2025-06-04)

🚀 New feature

  • cli: Introduce the Growth Trial prompt (#23498)

🔥 Bug fix

  • fixed cancel and publish button from dialog modal of bulk publish #20809 (#20809)
  • improve type signature core-store getter (#23593)
  • blocks ui (#23311)
  • avoid history data loss when license is missing (#23562)
  • issue #23572 support undefined allowed types (#23572)
  • header behind other elements (0dc28a7d00)
  • ctb custom field need to allow extra configs (32feefe431)
  • content-type: improve field validation logic in permission settings (#23581)
  • document-service: implement document ID uniqueness check and add corresponding tests (#23577)

⚙️ Chore

  • upgrade vite, axios, tar-fs (#23652)

🚨 Security

  • upgrade koa to 2.16.1 (#23654)

❤️ Thank You

Statistics:

File Changed134
Line Additions1,957
Line Deletions562
Line Changes2,519
Total Commits27

User Affected:

  • Benefit from improved type signatures in core-store getter for better TypeScript support
  • Can now handle undefined allowed types in their implementations
  • Will experience more reliable document ID uniqueness checks
  • Need to adapt to the upgraded dependencies (Vite, Axios, Koa)

Contributors:

PapatMayuridhokolucasboillyremidejalexandrebodinjhoward1994ConvlyAdzouzinnerdvationskibwashere