Local 5.2.1 is now available!
This update includes Custom Environments, Connect to WP Engine, and much more!
Release Date: January 22nd, 2020
Operating Systems: macOS, Windows, and Linux
What’s New in Local 5.2.1
Connect to WP Engine
We’re thrilled to share that Local’s Connect feature now supports WP Engine. Pull sites into Local and launch them with a few clicks. Gone are the days of fiddling with (S)FTP or rsync. Log in using your WP Engine API credentials and see all of your sites inside Local. Launch changes faster with Connect to WP Engine.
Note: Including the Database during Push to WP Engine is coming soon!
Custom Environments are back—and PHP 7.4 is here!
We know a lot of you have been waiting anxiously for this one!
You can now select the PHP version or MySQL version when creating/importing sites in Local Lightning.
Available PHP Versions and Databases at the time of writing:
- PHP 5.6.39
- PHP 7.3.5
- PHP 7.4.1 (now with ImageMagick!)
- MySQL 5.7.28
- MySQL 8.0.16
- MariaDB 10.4.10 (Windows only)
Best of all, new PHP versions and Databases can show up without updating Local as we release new versions.
Note: Changing site services after creation is coming soon!
Depending on how your device is set up, you may not be able to bind on ports 80 (HTTP) and 443 (HTTPS) due to conflicts with other local web servers.
Or, maybe due to anti-virus policy set by your IT department, you’re unable to edit the
In the past, there haven’t been great workarounds for these issues aside from shutting down conflicting services or disabling anti-virus.
Router Mode is a new option under Preferences » Advanced. The default is “Site Domains”, which is how Local has behaved in the past.
The new mode is “localhost,” which disables the need for the routing layer entirely and allows you to connect directly to the web server for a particular site. The primary downside of localhost routing at the moment is that HTTPS/SSL cannot be used alongside localhost routing.
Improved SSL Certificate Trusting System
The SSL certificate trust system has been rewritten and now supports trusting certificates for Firefox on Linux.
TypeScript-powered Add-ons API
Local has had an Add-on API ever since its inception, but it has been tough to track down exactly what is available as an Add-on author.
To make this easier, we have released a new NPM module aptly named
@getflywheel/local which provides TypeScript declarations for Local’s API.
For an example of how to utilize
@getflywheel/local, be sure to check out getflywheel/local-addon-notes.
More to come on this soon!
Dropping the “Beta” tag
As of Local 5.2.1, Local has officially gone stable!
Future beta versions will be released exclusively under the Local Beta program.
- Various under-the-hood improvements to accommodate PHP 7.4.1 and ImageMagick
- Disabled WP-CLI self-updates. The WP-CLI version is now directly tied to the version in Local.
wp-content/debug.logis now excluded when Pushing/Pulling to/from Flywheel
- Remove unused menu items on Linux
- During a site import or pull, SQL import failures no longer cause the entire import/pull to fail as long as at least one SQL file imports successfully.
- Re-add potentially missing database constants/variables to
- Change Domain should no longer persist when clicking on the “Change Domain” button
- Show error dialog instead of white screen if sent to an invalid React route
- Fixed issue where exports would sometimes fail on Windows
- Various fixes to the Magic Sync viewer available to Local Pro and Local for Teams users
- Fixed issue where frontend errors would sometimes require restarting Local
- Fixed issue with import process where certain characters such as
’in the path to the SQL file would cause it to fail to import
- Fixed issue where the export site worker would not log to Local’s log file on Windows
- Fixed issue where enter and escape keys wouldn’t work with prompts confirmations
- Various styling fixes throughout the interface
- Updated WP-CLI to 2.4.0
- Updated Electron to 7.1.9
Thanks to everyone who has tested Local in the Local Beta program! This is the first stable release that has gone through the Local Beta program and we’re delighted with how it went.
If you’re interested in helping test the latest and greatest features, improvements, and bug fixes, sign-up for the Local Beta program today.