🚀 New feature
- Typescript support
- Logo customization
Pre Release
Tag Name: v4.2.0-beta.4
Release Date: 6/7/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.2.0-beta.4 introduces two major features: TypeScript support and Logo Customization. The TypeScript support allows developers to build more robust applications with type safety, while the Logo Customization feature enables administrators to personalize their Strapi admin panel with custom logos. This release also includes security fixes for several CVEs and updates the minimum Node.js version requirement.
To start using TypeScript in your Strapi project:
Install TypeScript and required dependencies:
npm install --save-dev typescript @types/node
Create a tsconfig.json file in your project root or use the one provided by Strapi.
Start renaming your .js files to .ts files as needed.
This release updates the minimum required Node.js version. Please ensure your environment meets these requirements before upgrading.
If you're using the Mailgun provider:
mailgun.js instead of the deprecated mailgun-jsThis beta release introduces significant features like TypeScript support and Logo Customization, along with important security fixes. We recommend:
For Development Environments: Upgrade to test the new TypeScript support and Logo Customization features.
For Production Environments: While this is a beta release, the security fixes included make it worth considering for production if you're affected by the fixed CVEs, particularly if you use the Mailgun provider.
Before Upgrading:
Upgrade Process:
npm install @strapi/[email protected]
or
yarn upgrade @strapi/[email protected]
argv check on "add-missing-keys-to-other-language" module import.gitignore to allow use of word "coverage" in API endpoints and content-typesStrapi now offers full TypeScript support, allowing developers to build more robust applications with type safety. This feature includes:
Administrators can now personalize their Strapi admin panel with custom logos:
mailgun-js with mailgun.js to address CVE-2021-29418Strapi v4.2.0-beta.4 brings two major enhancements that significantly improve both developer and administrator experiences.
The addition of TypeScript support represents a substantial step forward for developers, enabling stronger type safety, better code completion, and improved maintainability for Strapi applications. This feature will help catch errors earlier in the development process and provide a more robust foundation for building complex applications.
The Logo Customization feature addresses a long-requested capability for administrators to personalize their Strapi instances. This enhancement improves branding capabilities and allows organizations to create a more cohesive experience between their Strapi admin panel and their overall brand identity.
Security improvements in this release, including fixes for multiple CVEs and the replacement of deprecated dependencies, strengthen the overall security posture of Strapi applications.
The updated Node.js version requirements ensure compatibility with modern environments while potentially requiring some users to update their infrastructure.
Overall, this beta release delivers meaningful improvements to both the technical foundation and user experience of Strapi, making it a worthwhile upgrade for most users despite its beta status.