With a lot of excitement, we announce Strapi v4.6, one of the biggest releases since v4. This release comprises several new features, bug fixes, and enhancements that improve both the developer and content experience.
Manage the data of your Strapi project with ease! With the new data export & import system, you can backup & restore your Strapi project data without acting manually and directly into the database.
Developers and DevOps specialists often need to back up or restore data for security or team collaboration purposes. Before, they had to operate directly on the database or through custom scripts and plugins. This required additional skills, time, and maintenance, making the process inefficient.
The new data export & import system provides a new way to back your data up and restore it anytime quickly. We implemented data encryption and compression by default to make this data export & import system more secure and portable than most solutions on the market today.
Here's how it works:
In your Strapi project folder, launch the command strapi export
from the CLI. It will produce an archive containing all your application data. You can filter the exported data through the --only
and--exclude
options to include or exclude content, assets or config.
Once you have an exported archive, you can launch from the CLI the command strapi import <path_to_the_exported archive>
that will perform a restore of all your data. Check out the documentation for more details.
A transfer command to directly migrate your data from your local instance of Strapi to a remote instance or vice versa is already in the works and should be available in the next release.
If you have ever felt the pain of managing an entry with a lot of relations, we’ve got good news for you! Now that relations are in the main layout with the rest of the fields and not on the side panel, they no longer have a negative impact on performance and can easily be reordered.
In previous versions of Strapi, finding the necessary relation was time-consuming, especially if there were more than a dozen. Now, you can drag & drop relations to change their order as you see fit. We also updated the relations design: you can easily see what entry is in Draft or Published state, and distinguish relations from other fields.
With these updates, your project performance won’t be impacted by the number of relation entries, and you’ll be able to quickly find the entry you need.
For instance, this new capability is especially useful if you want to change the order of products on an e-commerce site or put a specific article in the 1st place on your blog.
In case you can’t use a mouse, the drag&drops are keyboard accessible, so you can rearrange relations using a keyboard only.
It's also possible to reorder relations using REST API. Check out the documentation for more details.
Similar to relations, the process of reordering components and dynamic zones was painful and time consuming - but not anymore. From now on, you can also easily reorder components and dynamic zones without clicking on the arrows multiple times.
Just drag & drop components and dynamic zones to change your page layout in a couple of seconds. This functionality is keyboard accessible as well.
Many of you are using Strapi to manage sensitive or confidential content that require a higher level of security and compliance. So we’re excited to introduce a new audit log feature to provide enterprises with a detailed audit trail of all activity that happens within a given organization. Audit logs can be used to prevent unauthorized activity and provide insights during incident reviews. Ultimately, it reinforces data security and helps organizations comply with regulatory requirements related to data privacy.
Audit logs allow you to track, review and report the access or changes made in sensitive data. It allows you to identify problems quickly and reduces the risks of data leaks or breaches.
You can track changes to data (content type, entry, media), user activity (login, logout), and system configuration (user roles & permissions). You can also see when the action was made, what user did it (name & ID), and the payload attached to the log. All activity trails will be stored for 90 days by default. Check out the documentation for more details and watch this short video to learn how audit logs work:
In the next releases, we’re planning to add a filter (by time range, user, action type) and search so that you can easily find the necessary log. We will also allow users to choose how long they want to store logs.
Audit logs are available in the Enterprise Edition plan only; check out the pricing page to learn more.
Finding the right asset in the media library might be challenging, especially if you have a lot of files and folders. To simplify it, we added the possibility to view media in a list instead of a grid with a preview. This way, to easily scan and organize your assets as a clear and concise list.
You can switch between list/grid mode in the new view configuration menu. It also allows you to choose the number of assets displayed by default and the sorting order. With this improvement, you can customize the media library as you see fit to optimize processes and editing experience.
Strapi marketplace now lists more than 100 plugins, providers and custom fields. We thank all community members for contributing their work, allowing other Strapi users to easily extend their app.
Here are the new plugins, available on the Strapi Market:
Strapi Google Translator - translate your Strapi collections into 100+ languages using Google Cloud Translate.
PayPal payments - accept online payments and create subscriptions using Paypal.
Instagram - download image links from Instagram.
Component Preview - get a preview of the components.
Expo-notifications - send notifications to your React-native apps via the Expo API directly from the Strapi admin panel. Get your plugin or provider listed on the Strapi Market and showcase your work to more than 20,000 monthly visitors. Here are all the resources you need to create and promote a plugin or provider and the submission form for listing it on the marketplace.
Meet the Strapi team members who worked on the latest features, share your feedback, ask questions, and learn what's coming next.
Join us on January 26th, 5PM CET / 8AM PDT.
To create a new Strapi v4.6 project, simply run the following command:
1npx create-strapi-app my-project --quickstart
Follow the Quick Start Guide for detailed step-by-step instructions or have a look at a video instruction.
We would love to hear what you think about the new features! Let us know in this forum thread.
Strapi is an open-source product that grows thanks to community support and contributions.
Here's how you can help us improve the product:
Contribute to the project on Github
Share what features you'd love to have in our public roadmap
Create Strapi plugins and submit them to the Strapi market
Showcase the projects you built in Strapi Showcase
Join the Strapi Cloud Beta program
We appreciate each contribution and piece of feedback that you share. Stay tuned for more updates!