🚀 New feature
Typescript support (see beta documentation)
Notable changes:
Media Library Folders (see beta documentation)
Notable changes:
- Various bug fixes
Pre Release
Tag Name: v4.3.0-beta.2
Release Date: 7/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.3.0-beta.2 introduces significant enhancements with TypeScript support and Media Library Folders improvements. TypeScript support includes schema typings and automatic schema types generation, providing better developer experience and type safety. The Media Library Folders feature has received various bug fixes and UI improvements, making asset organization more intuitive. This beta release represents a major step forward in Strapi's developer experience and content management capabilities.
If you want to use 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:
{
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"esModuleInterop": true,
"sourceMap": true,
"outDir": "dist",
"rootDir": "src",
"strict": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "build", "dist"]
}
To generate schema types, run:
strapi ts:generate-types
No specific migration steps are required for the Media Library Folders improvements. The enhancements will be available automatically after updating to v4.3.0-beta.2.
The database optimizations for MySQL/MariaDB and PostgreSQL are applied automatically. No manual steps are required.
As this is a beta release, we recommend:
This is a beta release with significant new features, but as it's not a stable release, upgrading should be considered carefully:
Update your package.json to point to the new version:
"dependencies": {
"@strapi/strapi": "4.3.0-beta.2",
"@strapi/plugin-users-permissions": "4.3.0-beta.2",
"@strapi/plugin-i18n": "4.3.0-beta.2"
}
Run the installation:
npm install
# or
yarn install
Start your Strapi application:
npm run develop
# or
yarn develop
Test thoroughly to ensure all functionality works as expected
Remember to back up your data before upgrading, especially if you're considering testing in a production-like environment.
Bumped several dependencies to address security vulnerabilities:
Fixed permissions handling in the users-permissions plugin
Improved security in relations display when a user does not have read permissions
Strapi v4.3.0-beta.2 delivers significant improvements focused on developer experience and content management capabilities. The introduction of TypeScript support represents a major step forward for developers, offering better type safety, improved code quality, and enhanced IDE integration. This feature will particularly benefit larger teams and complex projects where type safety is crucial.
The Media Library Folders feature has received numerous bug fixes and UI enhancements, making asset organization more intuitive and efficient. Content managers will appreciate the improved folder navigation, search capabilities across nested folders, and bulk move functionality.
Performance improvements are notable with the integration of react-refresh for faster development workflows and database optimizations for MySQL/MariaDB and PostgreSQL. These changes will result in better development experience and potentially faster database operations.
The release also includes several UI and accessibility improvements throughout the admin panel, making the platform more user-friendly and accessible. Multiple bug fixes address issues in various components, enhancing the overall stability of the platform.
As a beta release, this version is ideal for testing in development environments to provide feedback before the stable release. The improvements in TypeScript support and Media Library organization make this a compelling update for teams looking to enhance their development workflow and content management capabilities.
Notable changes:
Notable changes: