Simply copy and paste the following command line in your terminal to create your first Strapi project.
npx create-strapi-app my-project
We strive to make Strapi a perfect tool for easy and efficient content management. Today, we’re thrilled to get one step closer to this goal as we’re releasing the Draft and Publish feature.
The Draft and Publish feature lets you save the content as a draft and publish it whenever you want. Once published, the content can be reverted back to the “unpublished” draft state. This functionality is available for all Strapi users: both in Community and Enterprise edition.
The draft and publish feature is not only about being able to save content as a draft. It lets you be more efficient and organized while dealing with daily content management tasks and working on your project. Let’s have a closer look at what you’ll be able to do with this update.
1. Flexible Content Management
The Draft & Publish feature allows Strapi users to draft their work ahead of time across their organization and publish it at the right time. Changes can be made anytime prior to publication and will be instantly saved to make sure they are up-to-date at all times. You can also unpublish any content type if you want to hide them or make additional edits.
In the following example, we will first create an article and save it as a draft. Then we will publish it, edit the live version, and unpublish the article. Here’s how it works:
By default, the draft & published states are enabled for all the content types but you can switch this system off. Configuration of the Draft & Publish feature can be made by clicking on the edit icon next to the Content Type’s name as shown below. Beware that if you create drafts and then decide to switch the draft & publish system off for a certain content type, your drafts will be deleted.
2. Efficient Teamwork With Permissions Levels
The Role-based Access Control feature released from the 3.1 version of Strapi allows admins to create roles with different levels of permissions. Larger teams can therefore work on the same content. Authors will be able to write content and save it as drafts, while editors and admins will have permissions to review and publish it. Used together, these features help any publishing team to efficiently manage all the content that is being produced, reviewed, and published. Whether you manage an internal team of writers or occasional freelancers, any publication workflow can be implemented with long-term or occasional permissions.
If you want to have more granularity and set custom roles, last week we have released Strapi Enterprise Bronze Edition with 30 custom roles, check it out!
Here’s an example of how an admin can review an article written by the author and publish it.
3. One Hub For All Content
Forget about a million tabs in your browser and endless copy-pasting as now you can keep all of your content in Strapi. Write, edit, format, publish and unpublish your content in the same place. All the drafts and published materials are systemized inside Strapi and can easily be switched from one state to another.
Be the first one to try the new functionalities! Here’s the migration guide to help you update to the newest version. Once updated, check out this guide on how to use the feature.
If you are new to Strapi, welcome! Check out the demo with sample data or create your project by using one of the starters. You can also build your Strapi project by running a quickstart command:
1yarn create strapi-app my-project --quickstart
Apart from the Draft & Publish feature, we did several bug fixes, translation, and enhancements to make your experience with Strapi smoother.
The full list of updates is available in the changelog. Here are some of them:
Also, we added a new template option to the create-strapi-app CLI. With these templates, you can create new Strapi projects that already have content types and plugins pre-configured for you. They're great to share content models across apps with a common use case, like blogs or e-commerce sites. Choose the template for your project in our new starters library or create your own template!
We’d love to hear your feedback about these updates. Share with us what you think on the Strapi Forum, Slack, or Github
To help you keep up with the latest updates and learn how the new features work, we’ve organized an Online Meetup on Thursday, October 15th at 06:00 PM CEST.
Our Developer Advocate Daniel and Engineering Lead Alexandre did a demo of the Draft & Publish feature in the Admin Panel, and discussed its use cases, the changes to API, and what functionality the feature enables for the backend. Finally, we had an update from Sam our Product Manager on the upcoming features.
Have a look at the meetup replay:
We regularly update the public roadmap, where you can see what features we’ll be working on next.
Let us know what features you would love to see in Strapi! Please upvote the features you want to have or submit new feature requests on the roadmap if they are not mentioned there.
Needless to say, we would be happy to see your contributions to Strapi on GitHub and we appreciate every single one of them!
Anastasiia's goal is to communicate product benefits in the clearest and most compelling way. As a marketer, she’s tested many content management tools and decided to help to spread the word about Strapi, her favorite CMS.