Short article for a long list of bugs resolved.
Adding features is good, offering a stable product is even better.
Implementing so many new functionalities also brought some bugs which led to a bad experience about the software. But don't worry! As announced in the latest release article, we have been working hard on stabilising your favorite API creation tool and adding a far better SQL support.
🚀 SQL automatic migrations
Using MySQL or PostgreSQL with Strapi was difficult. The tables were not created automatically, so you had to create them manually. That was really frustrating.
SQL tables and columns are now created automatically according to your models structure!
In an ideal world, SQL tables and columns should be created automatically according to your model schema. Since now, this is implemented in Strapi. Let's say you are creating an e-commerce API with a
product Content Type: the table
products will be created automatically. Just let the magic happen.
🐛 Bug fix
Tens of bugs have been fixed and enhancements added. The setup time has been drastically reduced in order to make contributions easier. Please take a look at the changelog for more informations.
Give it a try!
Looking forward to try this new version?
- Node 9 installed on your machine.
- MongodDB installed and running.
$ npm i strapi@alpha -g
$ strapi -v
This should print
Create your first project:
$ strapi new my-app
Choose your database credentials.
Start your server:
$ cd my-app $ strapi start
Migrating to email@example.com
If you are already building an API using Strapi, we recommend you to to migrate to this version. Don't worry, a fully detailed migration guide is available.
The next two weeks are also going to be dedicated to fixing bugs and improving the code base (using Prettier and ESLint).
After that, we will be able to add new features much more serenely.