Home

>

Tools

>

Strapi

>

Releases

>

3.0.0-beta.19.5

Strapi Release: 3.0.0-beta.19.5

Tag Name: v3.0.0-beta.19.5

Release Date: 4/1/2020

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.19.5 fixes a critical issue where using 'localhost' as the host was not working properly in many environments. This update ensures better compatibility and smoother development experience across different setups.

Highlight of the Release

    • Fixed critical issue with 'localhost' host configuration not working in many environments
    • Improved development mode to use 'localhost' as the default hostname
    • Enhanced compatibility across different development and deployment environments

Migration Guide

No migration is required for this update. This is a bug fix that improves compatibility without requiring any changes to existing configurations.

If you were previously using workarounds to address localhost connectivity issues, you can now remove those workarounds and use the standard configuration.

Upgrade Recommendations

This update is recommended for all users who:

  • Are developing with Strapi locally
  • Have experienced issues with localhost connectivity
  • Deploy to various environments

The upgrade process is straightforward:

npm install [email protected]
# or
yarn upgrade [email protected]

No configuration changes are required after upgrading.

Bug Fixes

Host Configuration Fix

Fixed an issue where using 'localhost' as the host was not working properly in many environments. This was causing connectivity problems and inconsistent behavior during development.

The fix ensures that:

  • 'localhost' can now be properly used as a host value across different environments
  • Development mode now correctly uses 'localhost' as the default hostname
  • Better compatibility with various development setups and deployment environments

This addresses the issue reported and fixed in PR #5659.

New Features

No new features were added in this release. This is a bug fix release focused on resolving host configuration issues.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the host configuration issue.

Impact Summary

This release addresses a significant compatibility issue that affected developers using 'localhost' as their host configuration. The fix ensures that Strapi works consistently across different environments, improving the development experience and reducing setup problems.

The impact is particularly important for local development workflows and for teams working across different environments. By fixing this issue, Strapi provides a more reliable development experience without requiring special workarounds for host configuration.

While this is a relatively small change in terms of code modifications, it resolves a pain point that affected many developers in their daily workflow.

Full Release Notes

🐛 Bug fix

Statistics:

File Changed43
Line Additions107
Line Deletions99
Line Changes206
Total Commits3

User Affected:

  • Can now use 'localhost' as the host in various environments without encountering issues
  • Will experience improved development workflow with more consistent behavior across different setups
  • No longer need to use workarounds for localhost connectivity problems

Contributors:

alexandrebodin