DEV Community

Cover image for Data pull and private S3 buckets support available in Strapi v4.9
Strapi for Strapi

Posted on • Updated on • Originally published at strapi.io

Data pull and private S3 buckets support available in Strapi v4.9

Only two weeks after the release of Strapi v4.8 which included custom roles and permissions (also known as RBAC) in the community edition, we're back with another release! This new version facilitates the transfer of your data between environments and allows you to configure secure private S3 buckets to store media. Read on to learn more!

Transfer - pull data

We're on a mission to provide the best experience when it comes to managing the data of your Strapi projects. We released data export & import in Strapi v4.6, and data transfer - push data in Strapi v4.7, to give you the possibility to transfer your data to another Strapi project.

Now, with the transfer data - pull feature released in v4.9, you can transfer your data from another Strapi project. All this is made for you to manage your data without manually acting on the database: you just need to run one command from the CLI.

Data pull completes the transfer cycle, allowing you to transfer data from a remote environment to a local one. To perform this action, create a transfer token on the source project, defining the expiration time and the pull permission. Then launch the transfer command with the ---from option targeting the source project. Please have a look at the documentation for more details.

With the data transfer functionality, you can synchronize local data with staging environment data (or vice versa), or the staging environment data to the production environment data, to bring alignment of content between two instances. No need to spend time and effort to act manually on the database!

This functionality also facilitates the deployment of your project on Strapi Cloud. Have a look at this tutorial to learn how to do it.

Private S3 buckets support

Strapi supports various providers for the media library, including AWS S3. With this integration, you can easily configure an S3 storage bucket for your app. However, it was not possible to use Private S3 buckets before, which was a blocker for many users who needed to comply with data privacy standards. To reinforce the security, we've improved this provider and from now on, it's also possible to configure Private S3 buckets.

This enhancement allows you to use private Amazon S3 buckets to add files and see those files or assets in the content manager. You can share links that appear on the Content Manager, and they will expire based on the signedUrlExpires configuration. If you want to switch your S3 bucket from public to private, it will still work for the media which were uploaded already. Please read the documentation for more details.

The support for private S3 provider improves the media management experience for content editors who prefer to use S3 buckets privately by allowing them to upload and visualize assets securely while the content API returns secure and private asset URLs.
In the future, we plan to add support for other private storage providers. You can upvote the ones you'd like to see next on our public roadmap.

New plugins on Strapi Market

The 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: 

  • Timezone select - a custom field for selecting any timezone based on the moment.js timezones.

  • ChatGPT by @AsyncWeb - integrate ChatGPT into your Strapi application. You get both a UI to interact with ChatGPT and an API end-points to integrate into your applications.

  • Video custom field by @SKILNET - allows you to preview, and add videos with external sources to your application.

  • Open AI - an official Strapi plugin that allows you to create Open AI completion from a prompt.

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.

Try Strapi v4.9 out now

To create a new Strapi v4.9 project, simply run the following command:

npx create-strapi-app my-project --quickstart
Enter fullscreen mode Exit fullscreen mode

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.

Other updates:

Building Strapi together

Strapi is an open-source product that grows thanks to community support and contributions.

Here's how you can help us improve the product:

We appreciate each contribution and piece of feedback that you share. Stay tuned for more updates!

Top comments (0)