Skip to content

Releases: lucatume/wp-browser

2.2.14

14 Jun 07:55
Compare
Choose a tag to compare

Fixed

  • remove left-over %WP_URL% from generated configuration files when runnin codecept init wpbrowser and replace it with %TEST_SITE_WP_URL% (thanks @HendrikRoehm)

2.2.13

13 Jun 09:19
Compare
Choose a tag to compare

Fixed

  • when the WPLoader module is set to loadOnly mode and used in conjunction with a *Db module delay its load after all other modules ran their _beforeSuite action; this tackles an issue only partially resolved in 2.2.8 (thanks @Luc45)

2.2.12

10 Jun 10:36
c495d5f
Compare
Choose a tag to compare

Fixed

  • make sure Cron is disabled while WPLoader module is installing WordPress in isolation (default mode)

2.2.11

06 Jun 20:34
2c79aa7
Compare
Choose a tag to compare

Added

  • support for timeout parameter in WPCLI module configuration

2.2.8

20 May 12:27
Compare
Choose a tag to compare

Changed

  • updated requirement of codeception/codeception to include version 3.0
  • updated WPTestCase to handle PHPUnit version 8.0+ compatibility
  • internalized the classes and functions provided by the lucatume/wp-browser-commons package

Fixed

  • initialize the WPLoader module after all other modules initialized when loadOnly is true to avoid WordPress exiting due to a non-initialized database fixture

2.2.7

09 May 13:12
Compare
Choose a tag to compare

Changed

  • replaced wp-cli/wp-cli:1.1.* dependecy with the wp-cli/wp-cli-bundle:^2.0 one

2.2.1

04 Sep 15:25
Compare
Choose a tag to compare

Added

  • the tad\WPBrowser\slug function to create the slug version of a string
  • the tad\WPBrowser\buildCommandLine function to generate a Symfony Process compatible command line (array format) from a string one
  • the tad\WPBrowser\renderString function to render a string in the Handlebars format from data
  • the WPCLI::cliToString method to get a wp-cli command output as string, fixes #297

Changed

  • removed the bacon/bacon-string-utils dependency
  • added support for custom extra arguments to the WPCLI module, see documentation, fixes #295
  • replaced the xamin/handlebars.php dependency with the zordius/lightncandy one

Fixed

  • lazy evaluation of the WordPress path in WPCLI module, fixes #294
  • correct evaluation of command exit status in WPCLI module, fixes #296

Lower PHP requirement to 5.6, deprecate modules

29 Nov 14:32
Compare
Choose a tag to compare

Removed

  • the haveOrUpdateInDatabase method from WPDb module
  • the ExtendedDb class
  • the requirement of the lucatume/wp-snaphot-assertions package
  • the \tad\WPBrowser\Snapshot\WPHtmlOutputDriver class
  • the wpcept binaries
  • lucatume/wp-snapshot-assertions dependency
  • tad\WPBrowser\Snapshot\WPHtmlOutputDriver proxy class and the lucatume/wp-snapshot-assertions dependency
  • wpcept and wpcept.bat deprecated binaries
  • Codeception\Command\DbSnapshot command
  • tad\Codeception\Command\SearchReplace command from the template
  • lucatume/codeception-setup-local dependency
  • the WPBootstrapper module
  • the WPSugarMethods trait

Fixed

  • compatibility with Codeception 2.5.0 updating the WPDb class
  • added a clear disclaimer about db wiping in the init wpbrowser command
  • an issue where the WpWebDriver module would not login correctly #121
  • code style compatibilty with PSR-2 standard
  • an issue in the tad\WPBrowser\Tests\Support\importDump function that would prevent the function from working if the database host specified a port
  • an issue with end-of-line chars in tests on Windows #191 - thanks @Luc45

Changed

  • lowered the PHP required version from 7.0 to 5.6
  • PHP requirement lowered to PHP 5.6
  • removed the limit to Codeception version
  • Travis tests run now on a Docker stack

Added

  • add a .gitattributes file to stop littering people's vendor library (sorry, my bad)
  • support for relative paths in the wpRootFolder parameter
  • the WPCLI and WordPress modules will now set the WPBROWSER_HOST_REQUEST=1 environment variable; this can be used to discern requests coming not only from wp-cli, using the WP_CLI constant, but from a wp-cli instance used and managed by the WPCLI module.

1.19.12

09 Mar 19:46
Compare
Choose a tag to compare
Update changelog.md

1.6.16

30 Sep 07:39
Compare
Choose a tag to compare
Fixed reference to ModuleConfigException clas