Skip to content

Releases: lucatume/wp-browser

3.8.1

Choose a tag to compare

@lucatume lucatume released this 05 Jul 15:56

3.8.1

Changed

  • Transpile the v4 unreleased changes (test suite split, dead-code removal, MysqlServerController port reuse, parallel-run fixes, Utils\Filesystem delegation to symfony/filesystem) down to the PHP 7.1-compatible v3.5 line (#817).

3.8.0

Choose a tag to compare

@lucatume lucatume released this 01 Jul 14:50

3.8.0

Changed

  • Transpile the v4 changes from 4.6.0 to 4.7.1 down to the PHP 7.1-compatible v3.5 line (#810).

4.7.1

Choose a tag to compare

@lucatume lucatume released this 30 Jun 10:20

4.7.1

Changed

  • Refresh the bundled WordPress core PHPUnit test includes and the sqlite-database-integration plugin to their latest upstream versions (#809).

4.7.0

Choose a tag to compare

@lucatume lucatume released this 30 Jun 09:39

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).

4.6.1

Choose a tag to compare

@lucatume lucatume released this 16 Jun 20:44

4.6.1

Fixed

  • wp:db:export from a SQLite installation no longer truncates values containing NUL bytes (e.g. serialized objects with protected/private properties): table rows are read with each column cast to BLOB so the SQLite3 extension does not stop at the first NUL byte, and the full value is hex-encoded into the dump.

4.6.0

Choose a tag to compare

@lucatume lucatume released this 09 Jun 15:39

4.6.0

Changed

  • Replace the bundled lucatume\WPBrowser\Opis\Closure\* library with lucatume\WPBrowser\Utils\Packer and lucatume\WPBrowser\Utils\PackedClosure for closure serialization in the IPC pipeline.

Removed

  • Drop the bundled includes/opis/closure/ library and its lucatume\WPBrowser\Opis\Closure\ PSR-4 autoload entry.

Fixed

  • wp:db:export from a SQLite installation no longer produces a non-importable dump: values are hex-encoded instead of a char(10) concatenation chain that overflowed SQLite's expression-depth limit on values with many newlines (#802).
  • The installer no longer fatals when setting up WordPress 7.0: FileRequest binds the $menu, $submenu and $compat admin-menu globals to the global scope before loading the target file, so WordPress 7.0's admin bootstrap does not run uksort() on a null $menu (#804).

Breaking change

  • The lucatume\WPBrowser\Opis\Closure\* namespace is no longer autoloaded. None of its classes were part of the documented public API but the namespace was reachable via PSR-4; any consumer that imported or extended them must migrate to lucatume\WPBrowser\Utils\PackedClosure.
  • Consumers using --classmap-authoritative Composer installs must run composer install after upgrading to drop the stale classmap entries.

4.5.15

Choose a tag to compare

@lucatume lucatume released this 23 Feb 09:47

4.5.15

Fixed

3.7.19

Choose a tag to compare

@lucatume lucatume released this 23 Feb 09:48

3.7.19

Fixed

4.5.14

Choose a tag to compare

@lucatume lucatume released this 19 Feb 10:13

4.5.14

Fixed

  • StubClassFactory issue where mocking of internal classes would incorrectly detect optional constructor parameters.

3.7.18

Choose a tag to compare

@lucatume lucatume released this 19 Feb 09:55

3.7.18

Fixed

  • Transpiled code issues causing fatal errors.