🚀 New feature
- Custom Fields #14163 @markkaylor @remidej @Feranchz
Pre Release
Tag Name: v4.4.0-alpha.0
Release Date: 8/25/2022
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
Strapi v4.4.0-alpha.0 introduces Custom Fields, a powerful new feature that allows developers to create and use custom field types throughout the Strapi admin panel. This release enables you to extend Strapi's content structure with specialized field types tailored to your specific needs, enhancing content modeling flexibility and improving the content management experience.
for Custom Fields
This is an alpha release introducing a new feature, so there's no migration required from previous versions. However, if you're planning to use custom fields:
Update to v4.4.0-alpha.0 using your package manager:
npm install [email protected]
or
yarn add [email protected]
Create custom fields by following the new Custom Fields API documentation.
Register your custom fields in your plugin or application.
Use your custom fields in the Content-Type Builder and Content Manager.
Note that as this is an alpha release, the API might change in future releases before the stable version.
As this is an alpha release (v4.4.0-alpha.0) introducing the new Custom Fields feature, it's recommended for:
Not recommended for:
If you're interested in the Custom Fields feature but need stability, consider waiting for the stable v4.4.0 release. If you decide to upgrade to this alpha version, make sure to thoroughly test your application, especially if you plan to implement custom fields.
The Custom Fields API allows developers to extend Strapi's content structure with specialized field types. Key components include:
Custom fields are fully integrated into the Content-Type Builder:
Custom fields are supported throughout the Content Manager:
The release includes an example color picker custom field that demonstrates:
No specific security fixes were included in this release.
The introduction of Custom Fields in Strapi v4.4.0-alpha.0 represents a significant enhancement to Strapi's content modeling capabilities. This feature allows developers to extend Strapi's core functionality with specialized field types tailored to specific content needs.
For developers, this means greater flexibility in creating content structures that match exact business requirements. Instead of being limited to Strapi's built-in field types, developers can now create custom fields with specialized validation, UI components, and data handling.
For content managers, custom fields provide a more intuitive and efficient content editing experience. Domain-specific fields can better represent the actual content being managed, reducing friction and potential errors in the content creation process.
This feature enhances Strapi's extensibility and positions it as a more flexible headless CMS solution capable of adapting to specialized content management needs across various industries and use cases. As this is an alpha release, the feature will continue to evolve based on community feedback before reaching stability in a future release.