Skip to content

Releases: lucatume/wp-browser

2.2.24

06 Sep 20:19
Compare
Choose a tag to compare

Changed

  • a number of refactorings and fixings following addition of phpstan, fixes #291 (thanks @szepeviktor)

2.2.23

06 Sep 13:04
Compare
Choose a tag to compare

Fixed

  • smaller adjustment to slug function and number handling

2.2.22

05 Sep 15:23
Compare
Choose a tag to compare

Added

2.2.21

04 Sep 15:29
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

2.2.20

26 Aug 07:19
Compare
Choose a tag to compare

Fixed

  • ignore foreign key checks when dropping tables in isolated install (thanks @TimothyBJacobs)

2.2.19

16 Aug 16:15
abfeaf3
Compare
Choose a tag to compare

Fixed

  • enhancements to the build scripts (thanks @karser)
  • avoid redefining constants during WPLoader module bootstrap

2.2.18

02 Aug 08:44
4f93cea
Compare
Choose a tag to compare

Fixed

  • WPLoader module: load WordPress on SUITE_INIT when only loading (#283)

2.2.17

31 Jul 16:34
Compare
Choose a tag to compare

Fixed

  • eager instantiation of WordPress factories causing warnings (#281)

2.2.16

24 Jul 04:08
Compare
Choose a tag to compare

Added

  • expose a tad\WPBrowser\Module\WPLoader\FactoryStore instance on the $tester property when loading the WPLoader module with loadOnly: false.

Fixed

  • add explicit override of the $tester property when scaffolding the WPTestCase class (thanks @Luc45)

2.2.15

28 Jun 12:12
Compare
Choose a tag to compare

Fixed

  • call Codeception\Test\Unit setup methods in WPTestCase to provide Codeception Unit testing facilities in "WordPress unit" test cases [#261 #262 ]