Releases: lucatume/wp-browser
Releases · lucatume/wp-browser
2.2.14
Fixed
- remove left-over
%WP_URL%
from generated configuration files when runnincodecept init wpbrowser
and replace it with%TEST_SITE_WP_URL%
(thanks @HendrikRoehm)
2.2.13
2.2.12
2.2.11
2.2.8
Changed
- updated requirement of
codeception/codeception
to include version3.0
- updated
WPTestCase
to handle PHPUnit version8.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
istrue
to avoid WordPress exiting due to a non-initialized database fixture
2.2.7
2.2.1
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 thezordius/lightncandy
one
Fixed
Lower PHP requirement to 5.6, deprecate modules
Removed
- the
haveOrUpdateInDatabase
method fromWPDb
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
dependencytad\WPBrowser\Snapshot\WPHtmlOutputDriver
proxy class and thelucatume/wp-snapshot-assertions
dependencywpcept
andwpcept.bat
deprecated binariesCodeception\Command\DbSnapshot
commandtad\Codeception\Command\SearchReplace
command from the templatelucatume/codeception-setup-local
dependency- the
WPBootstrapper
module - the
WPSugarMethods
trait
Fixed
- compatibility with Codeception
2.5.0
updating theWPDb
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
andWordPress
modules will now set theWPBROWSER_HOST_REQUEST=1
environment variable; this can be used to discern requests coming not only from wp-cli, using theWP_CLI
constant, but from a wp-cli instance used and managed by theWPCLI
module.