What's Changed
- Fix: typescript build cleaning and type generation by @innerdvations in #18775
Full Changelog: v4.15.5-alpha.3...v4.15.5-alpha.4
Pre Release
Tag Name: v4.15.5-alpha.4
Release Date: 11/15/2023
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
This alpha release focuses on fixing TypeScript build cleaning and type generation issues in Strapi. The update includes improvements to the build process, better handling of TypeScript configuration, and enhanced build timing metrics. These changes primarily affect developers working with TypeScript in Strapi projects, providing a more reliable development experience.
No migration steps are required for this alpha release. The changes are focused on internal build processes and TypeScript handling, which should work transparently for developers.
If you're actively developing with TypeScript in Strapi, you may notice improved reliability in the type generation process after updating to this version.
This alpha release is primarily recommended for developers who:
As this is an alpha release (v4.15.5-alpha.4), it's not recommended for production environments unless you're specifically testing these TypeScript-related improvements.
To upgrade:
npm install [email protected]
# or
yarn add [email protected]
These fixes collectively address problems developers were experiencing with TypeScript integration, particularly around type generation and build processes.
A new timing feature has been added to measure how long it takes for Strapi to load. This enhancement helps developers identify potential performance bottlenecks during the startup process, making it easier to diagnose and address slow initialization issues.
The timer works alongside the existing spinner UI, with matching text to provide a consistent user experience.
No security fixes were included in this release.
These improvements help make the development process more efficient, particularly for projects using TypeScript.
This alpha release focuses on improving the developer experience for Strapi users working with TypeScript. The primary impact is on the reliability of the TypeScript build process, type generation, and configuration handling.
The changes address several pain points reported by developers, including issues with build cleaning, type generation, and configuration detection. The addition of timing metrics for Strapi loading also helps developers identify performance bottlenecks during startup.
While these changes are primarily under-the-hood improvements, they significantly enhance the development workflow for TypeScript users by reducing build errors and providing more consistent behavior. The fixes are particularly important for plugin developers who rely on accurate type generation.
As an alpha release, these improvements are being made available for testing before wider release, allowing the Strapi team to gather feedback on the TypeScript build process enhancements.
Full Changelog: v4.15.5-alpha.3...v4.15.5-alpha.4