Automattic / studio

Studio by WordPress.com, a free desktop app that helps developers streamline their local WordPress development workflow.
https://developer.wordpress.com/studio/
GNU General Public License v2.0
193 stars 18 forks source link

Studio: Update php-wasm ( playground dependecies) #491

Closed kozer closed 2 months ago

kozer commented 2 months ago

Fixes https://github.com/Automattic/dotcom-forge/issues/8867

Proposed Changes

This PR updates the following packages to the latest version:

During the update we ran into various issues, some of which required changes in the wordpress-playground repository:

We had to change a couple of things in the current implementation of wp-now within Studio as it was relying on outdated APIs. These changes mainly relate to how we obtain a PHP instance.

Testing Instructions

Pre-merge Checklist

kozer commented 2 months ago

Things I have tested:

cc: @jeroenpf @katinthehatsite

katinthehatsite commented 2 months ago

I smoke tested the app with the build from this branch and everything worked as expected. The only thing that I noticed is that this branch is about 20 - 30 seconds slower for me when importing a database. Steps to reproduce: