Skip to content

4.7.0

Choose a tag to compare

@lucatume lucatume released this 30 Jun 09:39
· 40 commits to master since this release

4.7.0

Added

  • dev:rebuild command to build the tests/_wordpress installation used by the default configuration, e.g. on a fresh clone or in CI where it is not committed. Documented the default self-contained setup on GitHub Actions, with an example workflow (#807).
  • init wpbrowser records the installed WordPress version in the WORDPRESS_VERSION entry of tests/.env; dev:rebuild reuses it (override with --wp-version) so a rebuilt installation matches the version the committed dump.sql was generated from (#807).
  • init wpbrowser (plugin and theme projects) writes a tests/_wordpress/.gitignore so the rebuildable WordPress installation is not committed; restore it with dev:rebuild (#807).
  • init wpbrowser (plugin and theme projects) writes a tests/Support/Data/.gitignore with !dump.sql so the database fixture is committed even when a global gitignore excludes *.sql (#807).

Fixed

  • init wpbrowser set up the default-configuration admin user with the email admin@exmaple.com; it now uses admin@example.com (#807).
  • MySQL server binary download no longer fails with HTTP 403: dev.mysql.com's CDN started blocking the custom user agent, so the downloader now sends a curl/<version> user agent that is allowed through (#808).