🐛 Bug fix
- [Framework] Fix strapi-generate-new missing .gitignore file
Tag Name: v3.0.0-beta.13
Release Date: 7/15/2019
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
Strapi v3.0.0-beta.13 fixes a critical bug where the .gitignore file was not being created when generating new Strapi projects. This ensures proper Git version control setup for new Strapi applications.
.gitignore file in newly generated Strapi projectsNo migration is required for this release.
If you previously created a Strapi project using v3.0.0-beta.12 and are missing a .gitignore file, you can:
.gitignore file in your project root.gitignore file to your repositoryFor new projects created with v3.0.0-beta.13 or later, the .gitignore file will be automatically generated.
This is a minor bug fix release that addresses an issue with the project generation process.
.gitignore file creation.To upgrade the Strapi CLI:
npm install -g [email protected]
This release does not contain any breaking changes or affect existing project functionality.
.gitignore file in new projectsThe strapi-generate-new command was not properly creating a .gitignore file when generating new Strapi projects. This has been fixed, ensuring that all newly created Strapi applications will have the appropriate .gitignore file included.
This fix prevents common issues such as:
No new features were added in this release. This is a bug fix release focused on addressing the missing .gitignore file issue in the project generation process.
No security fixes were included in this release. The focus was on fixing the .gitignore file generation issue.
No specific performance improvements were included in this release. The focus was on fixing the .gitignore file generation issue.
This release fixes a specific issue in the project generation process where the .gitignore file was not being created. While this is a relatively small fix (98 additions, 87 deletions across 42 files), it has an important impact on developer experience and repository management.
The missing .gitignore file could lead to accidental commits of sensitive information, build artifacts, and node_modules, resulting in bloated repositories and potential security concerns. By ensuring the .gitignore file is properly generated, this release improves the initial setup experience for new Strapi projects and helps maintain cleaner Git repositories.
As this is a beta release (v3.0.0-beta.13), it continues to refine the upcoming Strapi v3 major release, focusing on stability and developer experience improvements.