Home

>

Tools

>

Strapi

>

Releases

>

3.0.0-beta.13

Strapi Release: 3.0.0-beta.13

Tag Name: v3.0.0-beta.13

Release Date: 7/15/2019

Strapi LogoStrapi

Open-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.

TL;DR

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.

Highlight of the Release

    • Fixed missing .gitignore file in newly generated Strapi projects
    • Ensures proper Git version control setup out of the box
    • Improves developer experience when initializing new Strapi applications

Migration Guide

No 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:

  1. Manually create a .gitignore file in your project root
  2. Add the standard Strapi ignore patterns to it (node_modules, .env, build directories, etc.)
  3. Commit the new .gitignore file to your repository

For new projects created with v3.0.0-beta.13 or later, the .gitignore file will be automatically generated.

Upgrade Recommendations

This is a minor bug fix release that addresses an issue with the project generation process.

  • For existing projects: No action is required as this only affects newly generated projects.
  • For new projects: It is recommended to use this version or newer when generating new Strapi applications to ensure proper .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.

Bug Fixes

Fixed missing .gitignore file in new projects

The 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:

  • Accidental commits of node_modules, build artifacts, and environment files
  • Inconsistent repository states across development teams
  • Bloated repositories with unnecessary files

New Features

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.

Security Updates

No security fixes were included in this release. The focus was on fixing the .gitignore file generation issue.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the .gitignore file generation issue.

Impact Summary

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.

Full Release Notes

🐛 Bug fix

  • [Framework] Fix strapi-generate-new missing .gitignore file

Statistics:

File Changed42
Line Additions98
Line Deletions87
Line Changes185
Total Commits2

User Affected:

  • Can now properly initialize new Strapi projects with a `.gitignore` file
  • No longer need to manually create a `.gitignore` file after project generation
  • Will have proper Git version control setup from the start

Contributors:

alexandrebodin