Skip to content

Releases: lucatume/wp-browser

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

1.6.15

01 Aug 11:11
Compare
Choose a tag to compare
Update composer.json

1.6.14

25 Jul 19:18
Compare
Choose a tag to compare
Update WPUnit.php