Skip to content

Releases: lucatume/wp-browser

3.0.3

04 Jan 16:26
Compare
Choose a tag to compare

Fixed

  • Parameter format of the WPDb module seeOptionInDatabase, dontSeeOptionInDatabase, seeSiteOptionInDatabase,
    dontSeeSiteOptionInDatabase methods to support both name and value or array criteria.

Added

  • The WPDb::dontSeeSiteOptionInDatabase method.

3.0.2

08 Dec 09:15
Compare
Choose a tag to compare

Fixed

  • Yaml format issue in scaffoled configuration files, thanks @dale42

3.0.1

07 Dec 10:19
Compare
Choose a tag to compare

Fixed

  • Compatibility with PHPUnit version 9.5, thanks @Luc45

3.0.0

01 Dec 15:00
Compare
Choose a tag to compare

This version is the first to target Composer version 2 compatibility, while keeping back-compatibility with Composer version 1.
The version is marked as breaking, and as such as a Major release, as existing setups that rely on some packages previously bundled
with wp-browser might break.
I've changed the removed wp-cli/wp-cli-bundle (full wp-cli packages) dependency in favor of the wp-cli/wp-cli one and I've removed the symfony/filesystem
dependency in favour of other internal solutions.
Read the migration guide here.

Breaking changes

  • Removed the WithWpCli::executeBackgroundWpCliCommand method, and, as a consequence, the WPCLI::executeBackgroundWpCliCommand method.
  • Removed the symfony/process dependency and replaced it with the mikehaertl/php-shellcommand one; refactor methods that use and accept shell commands.
  • Refactor the WPCLI module to build and escape string command lines differently.
  • Removed the wp-cli/wp-cli-bundle dependency and replaced it with the wp-cli/wp-cli one.

2.6.17

17 Nov 12:36
Compare
Choose a tag to compare

Fixed

  • URL replacement issue in DbDump class

2.6.16

26 Oct 15:15
Compare
Choose a tag to compare

Fixed

  • handle more Cookie types in WPBrowser::grabCookiesWithPattern method to avoid errors.

Changed

  • change DotEnv suggestion to vlucas/phpdotenv:^4.0 to avoid env vars loading issues.

2.6.15

21 Oct 11:53
Compare
Choose a tag to compare

Fixed

  • avoid deleting the whole plugins folder when havePlugin is used to create single file plugins (thanks @Luc45)

2.6.14

20 Oct 11:50
Compare
Choose a tag to compare

Added

  • the logOut(string|bool $redirectTo) method to the WPBrowser and WPWebDriver modules (thanks @gabe-connolly)

2.6.13

22 Sep 21:54
Compare
Choose a tag to compare

Fixed

  • restore full phpstan lvl 8 coverage

2.6.12

17 Sep 08:28
Compare
Choose a tag to compare

Changed

  • rename the rmkdir function to mkdirp for clarity and resemblance with the WordPress one.