Releases: Brain-WP/BrainMonkey
Releases · Brain-WP/BrainMonkey
v2.6.1
Added
- Compatibility with PHP 8.1 (props @jrfnl)
Changed
- Improved QA GitHub action workflow for speed, robustness, compat with PHP 8.1, and start testing for PHP 8.2 (props @jrfnl)
- Improved doc-block for
Filters\has
(props @shvlv)
- Improved documentation for added hooks (props @Idealien)
Fixed
- Allow for fully-qualified parameter type declarations (props @tfrommen)
- Fixed
ClosureParamStringForm
compat with PHP 5.6 (props @jrfnl)
v2.6.0
Added
- Added stub for
esc_xml()
, wp_json_encode
, user_trailingslashit()
, _n
, and _nx
(props @jrfnl)
Docs
- Fix docs for has_action/has_filters (props @coreyworrell)
- Document newly stubbed WP functions (props @jrfnl)
v2.5.0
Added
HooksStorage::hookPriority
(internal)
Changed
has_filter
/ has_action
return true instead of the added priotity. (See #79 props @widoz)
Fixed
v2.4.2
Added
Nothing
Changed
- Moved CI from Travis to GitHub actions
- Moved PHPUnit cross-version helpers (by @jrfnl) from single tests to their
UnitTestCase
parent class
Fixed
Nothing
v2.4.1
Added
Nothing.
Changed
- Improved Documentation
- Updated DealerDirect Composer plugin props @jrfnl
Fixed
Nothing.
v2.4.0
Added
- Stubs for
do_action_deprecated
and apply_filters_deprecated
Changed
- Improved Travis workflow, including PHP cross-version compatibility, props @jrfnl
- Added codecov.io to Travis
- Improved PHPUnit compatibility across PHP versions, props @jrfnl
Fixed
- Fixed logic bug in
HookStorage::parseArgsToAdd
, props @szepeviktor
- Fix implode argument order (PHP 7.4 compatibility fix), props @jrfnl
- Many code styling fixes and cleanup, props @jrfnl
v2.3.1
Added
Changed
Fixed
byDefault
needs to be allowed for functions expectations
v2.3.0
Added
Actions\expectRemoved
and Filters\expectRemoved
(see #45)
Functions\stubTranslationFunctions()
Functions\stubEscapeFunctions()
- Pre-defined stubs for
is_wp_error()
and absint
- Default params handling for added and removed hooks
- Tests for new features
- Basic functional tests
- Docs for new features
Changed
- Re-structured tests folder and test suites
- Deleted bootstrap file and rely on autoload-dev only
- Improved base test class
- Docs improvements in various files (ses #49)
- Improved various doc blocks and removed all
@throws
occurrences
Fixed
- Minor tests issues
- End-of-line inconsistencies
v2.2.1
Fixed
- Make sure that static methods can be passed as string, as this is an acceptable way in PHP to pass a callable. See #47
- Several docs changing
Added
- Added Mockery PHPUnit integration to the documentation examples.
- PHP 7.2 and PHP 7.3 test in Travis
v2.2.0
Fixed
Nothing
Changed
- Mockery is now allowed in version range >=0.9 < 0.2. Mockery v1 is compatibe with BM itself, and if it breaks something in the package using BM, it will always be possible restrict the requirement there.
Added
Nothing