We are pleased to announce you that Strapi firstname.lastname@example.org is available, with an important new plugin: Users & Permissions!
What’s new in alpha.7? 🚀
Alpha.6 has been a major step for Strapi. Thanks to your constructive feedback, we fixed a lot of issues and added some new features.
- Decrease installation time by 300% removing unnecessary dependencies (from 5-6 min to 1-2 min).
- Decrease project generation time by 400% (from 80s to 20s).
- Better management of cross-dependencies between the administration panel and plugins.
- Fix Windows issue related to the symlink created during the installation.
- Ensure the project can start without locales.
- Add bootstrap function for middlewares and review default configuration.
- Allow plugins models.
- Detach administration panel from the project to remove the old monolithic architecture.
- Improve the layout configuration system for Content Manager to redirect actions to specific controllers actions.
- Allow load order plugins definition.
Users and Permissions plugin is now available in Strapi!
In email@example.com, the admin panel and generated APIs were not secured at all. That was real limitation to deploy Strapi APIs in production. For this specific reason, hundreds of you have been waiting for this new plugin.
From now, Authentication and Permissions management are out-of-the-box features:
- Authentication with JWT: register and login API routes.
- Roles management: each user can be linked to one or many roles (administrator, guest, etc.).
- Per route ACL permissions: adjust routes permissions from the admin panel.
- Admin panel access: the dashboard access is restricted to admin users only.
Thanks to this new plugin, you are now able to secure the admin panel and each endpoint of your API, within a few clicks.
This way, you can for example restrict entry creation to administrators but allow data fetch for anonymous users.
Let's see how it works:
Give it a try!
Looking forward to try this new version?
- Node (version 8 or 9) installed on your machine.
- MongodDB installed and running.
$ npm i strapi@alpha -g
$ strapi -v
It should print
Create your first project:
$ strapi new my-app
Start your server:
$ cd my-app $ strapi start
Migrating from firstname.lastname@example.org to email@example.com
Here are the necessary steps to migrate:
- Install Strapi globally:
npm i strapi@alpha -g.
- Create a new project:
strapi new my-app.
- Copy the folders
adminfrom this new project to your existing project.
Win a t-shirt!
Some of you won a t-shirt during firstname.lastname@example.org release.
This time, it could be yours, so try to win one of the three available t-shirts by retweeting our latest tweet.
Three winners will be drawn among people having retweeted our latest tweet before the January 10th 12:00am Paris time.
The next release will include plugin installation from the admin panel. Also, because SQL usage with Strapi is currently not intuitive, we are going to offer a better CLI user experience (database type prompt and table structure verification). Last be not least, relations between app and plugins models are currently not possible, what will be fixed. Take a look at the Roadmap for more information.
API usage analytics is crucial for every companies. For that specific reason, we plan to offer, at the end of January, a brand new plugin called Analytics. Thanks to it, you will be able to get unique and precise insights about what your users do with your API. Please contact us if you want to be part of the beta program.
Many of you gave us a list of wanted features. However, it becomes difficult to quantify these requests to prioritise the next features development. To improve that, we are going to add a new page on the website. This page, inspired by the Webpack's Vote system, will allow all of you to up-vote, down-vote and suggest features you would like in Strapi.
In the meantime, please comment this article to let us know what features you would like next.
PS: don't forget to share our latest tweet to win a t-shirt!
The Strapi Team