Strapi v4.4 with Custom fields and upgraded API Token is live
Tags: api, customfields, strapi, javascript
Published: 2022-09-29 12:47:22

Today, we're excited to announce the release of Strapi v4.4, with highly awaited features, improvements and fixes to help Strapi users build better, more secure apps. Only one month after the release of [Strapi v4.3 (with TypeScript support, Media library folders](https://strapi.io/blog/strapi-v4.3-with-typescript-and-media-library-folders-is-live)) we're back with new customization and security capabilities. Read on for Strapi v4.4 highlights.

## Custom Fields
We often hear that Strapi is the most customizable CMS out there, and this new custom field feature will confirm this status! 

Before, there were 12 standard fields (Text, Number, Media, JSON, etc) that you could use to build the content architecture. Now, this number is unlimited. Meet custom fields - a brand new feature that allows you to add any types of fields to a Strapi project. 

<iframe width="560" height="315" src="https://www.youtube.com/embed/4Rq3zin8XXQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Let’s say, you want to display data coming from an external source, or pin a location on a map, or add a custom video player. Or perhaps, you’d like to customize the way the fields are displayed to improve the UX for your team? All that is possible now.

Customize the Admin Panel in an easier way - no need to do complex workarounds or modify the core, just install the necessary custom fields.The integration with third-party tools like Shopify, Youtube or Google Maps is now easier than ever. You are now able to create the tailored editing experience for your team - and if your needs change, Strapi can be customized at any time. 

Today, we're introducing **four new custom fields: **

-   [Color picker](https://market.strapi.io/plugins/@strapi-plugin-color-picker) by Strapi - select any color in any format (HEX, RGB, CMYK) directly in Strapi

-   [Shopify](https://market.strapi.io/plugins/strapi-plugin-shopify-fields) by [@WalkingPizza](https://github.com/WalkingPizza) - do an automatic sync between your Shopify catalog and Strapi fields

-   [CKEditor custom field](https://market.strapi.io/plugins/@ckeditor-strapi-plugin-ckeditor) by CKEditor team - use and configure CKEditor in no time (official integration).

- [UIID field](https://market.strapi.io/plugins/@bn-digital-strapi-plugin-field-uuid) by [@VladyslavVolkov](https://github.com/VladyslavVolkov) - add a universally unique identifier field to the app.

Follow this video guide to install and use them:

<iframe width="560" height="315" src="https://www.youtube.com/embed/hIKfvLzN6VI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Custom fields are now natively supported and can be shared inside plugins. More and more of them will be available on the [Strapi marketplace](https://market.strapi.io/) in the coming weeks, stay tuned. Here's the [documentation](https://docs.strapi.io/user-docs/latest/plugins/introduction-to-plugins.html#custom-fields) that helps you to install the fields. Once installed, you'll see these fields in the "Custom" tab when adding a new field.

![Custom FIelds.png](/uploads/Custom_F_Ields_7914aafdd2.png)

If you'd like to create your own custom field, please follow this [documentation](https://docs.strapi.io/developer-docs/latest/development/custom-fields.html). To showcase your custom field on the marketplace, please fill out this [form](https://market.strapi.io/submit-plugin), and our team will review it as soon as possible.\
What do you think about this feature? Let us know on the forum or [Discord](https://discord.com/invite/strapi)! Also, [vote](https://feedback.strapi.io/plugin-requests) for the next custom fields that you want to see in Strapi.

## API Token v2
With the [Strapi v4 release](https://strapi.io/blog/announcing-strapi-v4), token-based authentication became the main way to authenticate and access the Content API. What are the tokens for? They store user's credentials and permissions.

In v4.4, we updated the API token system, making it more granular and flexible. Let's take a look at the new API token on steroids:
-   **More granular permissions**

Before, the API token only had two permission types: read-only and full-access. With the new update, the permissions are more detailed. Users can choose a "custom" permission type and enable Create, Read, Update and Delete (CRUD) permissions for each content type. This new feature is especially useful for projects that use one content source for multiple front-ends.

-   **Token duration control**

It's now possible to set the time, during which the token will be valid: 7, 30, 90 days or unlimited. This way, you don't have to worry that someone has access to the API longer than needed. No security vulnerabilities shall pass! Strapi also shows you the expiration date of the token - there's no need to open the calendar.

![api token](/uploads/api_token_84b2e27f73.png)

We recommend using the API token as a de-facto way to access the API for most use cases, since it's a secure method that doesn't require user identification or password creation.

You can still use the [Users & Permissions plugin](https://docs.strapi.io/developer-docs/latest/plugins/users-permissions.html) that serves the same purpose as well, and is recommended if your project involves a lot of people who need to access the API using different credentials. We're planning to remove the Users & Permissions plugin from the plugins installed by default in the upcoming weeks, to improve the performance of your projects. You will be able to install it if you need to use it.

Check out the [documentation](https://docs.strapi.io/user-docs/latest/settings/managing-global-settings.html#managing-api-tokens) for the updated API token and a video highlighting what's new:

<iframe width="560" height="315" src="https://www.youtube.com/embed/dVQKqZYWyv4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Relations in main layout Alpha

To improve the overall Strapi performance, we’re going to make several improvements to the relations. In particular, we are reworking the display and searching through relations. We are **moving relations to the main layout** of the edit view to reduce the load time and improve UX. It will also allow us to add more actions on relations in the future: reordering, filtering, sorting. This new component is a fundamental piece to let our users manage their relational content at scale.

You can have a look at the revamped feature and test its alpha version using the command:

**npx create-strapi-app@alpha**

Don't forget to share your thoughts on the [forum](https://forum.strapi.io/t/relations-in-main-layout-alpha-version/22426)!

## New plugins and providers on Strapi Market

The official Strapi marketplace is growing every day and it might be hard to keep up with the updates. So, here are the newest plugins and providers available on the Strapi Market: 

-   [Cookie Manager](https://market.strapi.io/plugins/strapi-plugin-cookie-manager) - manage categorized cookies directly within the admin panel at one place and use the predefined plugin API to provide GDPR consent cookies.

-   [Fast Clone](https://market.strapi.io/plugins/strapi-plugin-fast-content) - quickly transfer your data to Strapi Collection

-   [Custom links](https://market.strapi.io/plugins/strapi-plugin-custom-links) - create and edit URI for different ContentTypes

Add your plugin to the Strapi Market! 

[Strapi Market](https://market.strapi.io/) is the official plugin & provider marketplace, where you can showcase your work to more than 20000 monthly visitors. The submission process is quick and easy, our team is doing a security check of your plugin or provider to increase its lifetime.

Here are all the [resources](https://strapi.io/plugin-resources) you need to create and promote a plugin or provider and the [submission form](https://market.strapi.io/submit-plugin) for showcasing it on the marketplace.

## Chat with the Strapi team on the Community Call

Strapi is evolving every day and we are always looking for feedback from the community! During this community call, we’re going to demo the custom fields and new API token, answer your questions about our product decisions and share what’s coming next. 

Join us on October 12th, 5PM CET / 8AM PDT. [Register here](https://lu.ma/strapi-call-october-2022) not to miss it!

## Try Strapi v4.4 out now
To create a new Strapi v4.4 project and try the Custom fields and updated API Token, simply run the following command: 

npx create-strapi-app my-project --quickstart

Follow the [Quick Start Guide](https://strp.cc/3MR4nJ5) for detailed step-by-step instructions or have a look at a [video instruction](https://youtu.be/h9vETeRiulY).

We would love to hear what you think about the new features! Let us know in this forum thread.

## Migrate to Strapi v4:
[Strapi v4](https://strapi.io/v4) offers a better content editing experience and more powerful development capabilities. Use the [v3 → v4 migration resources](https://support.strapi.io/support/solutions/articles/67000709822-strapi-v3-to-v4-migration-resources) to bring your CMS to the next level.

We're regularly releasing [new Strapi versions](https://github.com/strapi/strapi/releases) with lots of bug fixes and enhancements done by the community members and the Strapi team. Thank you for being a part of this journey and for helping us improve the product. We encourage everyone to regularly update Strapi to its latest version, to enjoy all the latest upgrades.

## Strapi Cloud is coming soon: don’t miss out
The highly awaited [Strapi Cloud](https://strp.cc/3zGBUTo) is a platform to easily deploy and host Strapi.

Join the waiting list to become one of the exclusive private beta testers and be the first one to know when the hosted Strapi version is available. You will also get a free trial period and a significant discount :)
<iframe width="560" height="315" src="https://www.youtube.com/embed/p-OIqKWhHnw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

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

Here's how you can help us improve the product:
-   Contribute to the project on [Github](https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md)

-   Share what features you'd love to have in our [public roadmap](https://strp.cc/3aXU9cS)

-   Create Strapi plugins and submit them to the [Strapi market](https://strp.cc/3mL6inV)

-   Showcase the projects you built in [Strapi Showcase](https://strp.cc/3MROZwj)

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