Meet Strapi v4.2.0 and v4.3.0-beta with new features

strapi

StrapiConf is the second annual gathering of the Strapi community, taking place today. The World’s Easiest Open Source Content Management Framework: A simple content management framework that lets you create powerful APIs with no technical skills required. Strapi v4.2.0 and v4.3.0-beta are now available! 

Introducing Strapi v4.2

The latest Strapi version adds greater customization and integration options that can be used. You can customize the logo on the admin panel with only a few clicks, and getting providers listed on the marketplace is now feasible. 

Developers at Strapi have also rolled out beta versions of our media library folders and TypeScript support. Let’s look at each feature, one at a time.

New features are here

Logo customization

Users spend a lot of time using this admin area and like to make the experience as enjoyable and efficient as possible. The logo change in the administration panel was previously possible, but only through modifying the configuration files. It can make future upgrades difficult and generally requires help from the team responsible for development.

However, that’s not the case anymore! Strapi is launching a new feature that lets everyone modify the logo on the admin panel with just a couple of clicks.

Through this feature, the admin panel logo can be updated at any time by dragging and dropping an image or by pasting the URL of an image. With creativity like this, Strapi aims to remove the barriers and make this available to anyone, regardless of tech experience.

Logo customization also makes Strapi the go-to CMS for agencies who need to provide a familiar and efficient tool for their clients. With a time-saving feature, the logo customization will facilitate the customization of a CMS for each client. So they can take care of it themselves and won’t need to contact the agency to help them.

Providers on the Strapi Market

In January 2022, Strapi launched the Strapi market. Due to the evolution of the marketplace, customers will soon be able to view providers in addition to plugins, which will give them access to functionalities that the plugin alone cannot do. An example is a Cloudinary provider, which can extend the Upload plugin by storing files in a Cloudinary account and not locally.

End of Node.js 12 support

On April 30th, Node.js 12 was declared end-of-life. To assure Strapi is fully secured and its performance stays fast, Strapi stops the support of Node.js 12, starting with Strapi v4.2.0. Strapi asks all to update their Strapi projects to the latest version and use the maintained versions of Node.js (14 and 16).

Media Library folders beta 

Strapi allows you to handle your media files using the media library efficiently. Even though it’s possible to sort, filter, and rename your assets, sometimes the vast number of files in a project makes it difficult to find the right one, which can take a long time.

Here’s how it facilitates the Strapi use:

Easily find the right asset: You can have as many subfolders as you like, allowing you to organize your media library however you like conveniently. Sometimes, it’s difficult to remember what the file was called or when it was created, so the sorting feature becomes ineffective. With media folders, you can easily organize files and find the right one.

Create a custom file organization: Some people have a more refined sense of organization than others, so standard sorting methods won’t work for them. To sort through things, folders work best because you can create folders using any sorting system you wish. Great news for perfectionists – folders can be nested.

Manage files easily: When many people upload many things at once, it can be challenging to stay organized. So Strapi implemented a feature that lets you save a file’s location when you first open it. All it means is that you don’t need to perform extra clicks to move the file from one folder to another. 

You can also see when the file was last modified and by whom.

TypeScript support beta

You might already know that TypeScript includes capabilities that make it popular and more potent than classic JavaScript. It specifically involves object-oriented programming and the development of big projects with multiple developers involved.

TypeScript support in v4.3.0-beta now allows:-

  • Optional Static Typing: You decide what you want to type in to make your application safer.
  • Inference type: Find out the variable and the return value types.
  • Access to TS features some fantastic features, such as modules, decorators, and more.
  • Ability to compile TypeScript code to any of the numerous versions of JavaScript
  • Improved Intellisense for discovering libraries and understanding APIs more easily.

While the feature is in beta, it makes it incredibly easy to create TypeScript projects. You can now also utilize every Command Line Interface Strapi commands that use Typescript in your project, and also:

  • Instead of writing Strapi code in JavaScript, try using Typescript, which provides the benefits it already mentioned.
  • A typo isn’t an issue with typed APIs because the program won’t work when incorrect data is given. For a better experience, developers intended to improve this constantly.
  • Create dynamic typings using your application’s code. Now you can declare types for user content types that all other typings will use.

Other updates you may not have seen:

Dark Mode: 

Shortly, Strapi v4.2 will launch, with one of the most sought-after features, Dark Mode.

You’ll be able to quickly switch between dark and light mode by using the user profile of the admin panel. This new feature will also lay the groundwork for more sophisticated and customized themes to come shortly. 

Strapi v4 migration guide:

Strapi announces the launch of a guide to migration between v3 and. You may have noticed that Strapi supports only SQL databases from version 4. For MongoDB users on version 3, there will be a specific guideline for you to transition from a version 3 MongoDB to a version 4 SQL project that will be released shortly. After that, you’ll be able to follow the V3 SQL to the v4 SQL migration guide just like the other guides.

To make the process easier and faster, particularly for projects requiring a large amount of data, they’re in partnership with notum to create migration scripts that will simplify the process. The scripts should be completed in early April.

Custom fields: 

This feature has multiple reasons. First, it is to allow for more kinds of fields. Strapi examined your projects and found that there is always an occasion when business data comes from an external source, you need to mark an area on an image, or the customer requires a customized video player or other. Custom fields can be the solution to your unique requirements.

Moreover, they provide a more excellent content editing experience by showing the content differently on the admin panel. Being in a setting they are familiar with is essential. With the custom fields in Strapi, you will be able to achieve the familiar editing experience they are accustomed to.

In the end, there are some custom fields. These are a powerful way to aggregate APIs. For example, imagine if you had a product field. The data comes from Shopify. You pick a product on Shopify and map it to an entry in Strapi. Once you fetch the Shopify entry, you’ll also be able to retrieve the data from it with a single API call, significantly speeding up the development process.

Strapi Cloud: 

Strapi’s goal is to provide the Developer Experience that matters here, and ensuring a smooth deployment that requires no DevOps capabilities is our primary goal.

Strapi chose a Platform-as-a-Service approach to double down on what makes Strapi unique: its customization capabilities. Strapi Cloud will allow you to create your work locally. You can then modify it to suit your needs, version it using Git, and launch it in seconds.

Strapi plans to provide automatic backups, a global and speedy CDN, support for multi-databases, and much more. Each of these new features will be added gradually.

Wrapping up

Strapi’s new version is going to rule the market for years because of the reliability, trust, and convenience that it provides to its users. If you have any startup ideas and are looking forward to utilizing Strapi for them, we at CitrusLeaf will be happy to work with you. We have years of experience and knowledge that let us become the best Strapi development company. Reach us at hello@citrusleaf.in and let us be your technology partner.